From the category archives:

Design

Expose It WordPress PluginThe new WordPress Plugin Expose It by Adrian Apan is a cool plugin that simply adds expose effect around any div with class="expose", with a little help from the Expose jQuery.

Here’s a example. Of course you can put images, video etc. inside the div too.

This is it, the exposed text. Now, click!

It’s very easy to setup. Just download the plugin, install and activate it. Then you’re free to expose! Do as I did:

<div class="expose">"This is the text, with expose effect. Just click it.</div>

{ 3 comments }

How To Remove the Get Smart with Thesis Footer

by John Ankarström on May 28, 2009

in Design, Themes

Thesis doesn’t provide an option to change the footer. It should have, because it’s quite complicated to change it manually – at least for a new user of Thesis.

You have to edit the custom-functions.php file, in the ../wp-content/thesis-15/custom folder. Insert this code:

add_action('thesis_hook_footer', 'custom_footer');
function custom_footer() {
?>
    <p><strong>&copy; 2009 <?php bloginfo('name') ?></strong> | <a href="<?php bloginfo('url') ?>/about">About us</a> | <a href="<?php bloginfo('url') ?>/wp-admin">WordPress Admin</a></p>
    <p>Get smart with the <a href="http://diythemes.com/thesis/">Thesis WordPress Theme</a> from DIYthemes.</p>
<?php
}

remove_action('thesis_hook_footer', 'thesis_attribution');

Feel free to change the footer text, starting at line 4 and ending right before line 6. Just remember; don’t delete the Get Smart with Thesis, unless so have the Developer Version of Thesis.

{ 11 comments }

Dropdown menus in WordPress theme

by John Ankarström on May 24, 2009

in Design, Plugins

Dropdown Menus
If you got a page with many subpages, it’s great to have a dropdown functionality in the navigation bar. Let’s say you’re working on a guide, with several parts. The guide can have a primary page, that is shown in the navigation menu, plus 4 parts or subpages that is shown when hovering the primary link.

The first option is a plugin called Multi-level Navigation Plugin. This provides a dropdown navigation menu, with lots of options. Fill the settings page however you want, and use the code <?php if (function_exists('pixopoint_menu')) { pixopoint_menu(); } ?> where you want to use it. You must remove your current navigation bar, if you don’t want two bars.

The second alternative is creating dropdown menus by CSS. kristarella.com has got a great guide for doing this in the Thesis Theme.  She also shows a AJAX code so it works with Internet Explorer. It’s the one I use, and I think it’s the best option for me.

{ 1 comment }

How to make the initial in posts a capital letter

by John Ankarström on May 24, 2009

in Design

At WordPresser, the first letter in post is a huge capital letter. When I wanted to do this, I thought I had use p:firstletter everywhere I wanted it. This could be tricky, because all themes doesn’t have the same div-, p-, or whatever-classes for posts.  Then I found a guide at WordPress Guy that shows how to make those big capital, by easily inserting a <span>. You just have to insert a CSS code into your style sheet. This works everywhere CSS and HTML works.

He also shows a code for doing this automatically in WordPress. Excellent! This is the best guide I’ve found for doing this.
Obviously, you can insert the <span> anywhere in your template, but the automation code will be useless everywhere, it just doing this in posts.

{ 0 comments }