Tag Archives: tip

Rename/remove the default “Home” menu link in WordPress Twenty Eleven Theme

If you’re using the “Twenty Eleven” Theme in WordPress and you want to either rename or remove the default “Home” link in your main menu bar, this is what you need to do:

  1. Create a child theme of “Twenty Eleven”. You only need a basic child theme with a default style.css file and an empty functions.php file.
  2. Add the following code to your functions.php file:
add_filter('wp_page_menu_args', 'twentyelevenchild_page_menu_args', 20);

function twentyelevenchild_page_menu_args( $args )
{
    $args['show_home'] = {value};
    return $args;
}

where {value} is either:

  • “new name” – to give the “Home” link a new custom name, or
  • false – to disable the “Home” link altogether.

It’s possible that this approach will work for other Themes, but I have not tested that – please add a comment if you find out!

How to remove the “Leave a Reply” Comment Box from a WordPress Page

For the standard WordPress “Twenty Eleven” Theme in WordPress v3.4.1, it’s very easy to remove the standard “Leave a Reply” box from a given page:

  1. Edit the page in question.
  2. Select the “Screen Options” drop-down menu from the top-right corner of the edit interface.
  3. Select the “Discussion” checkbox to make the Discussion options appear at the bottom of the screen, below the page editor.
  4. Scroll down to the “Discussion” options and uncheck both the “Allow comments” and “Allow trackbacks and pingbacks on this page” checkboxes.
  5. Then “Update” the page as normal.

The “Leave a Reply” box should now be gone! Now that you’ve enabled the “Discussion” options panel by default, you will easily be able to disable comments for any page by unchecking the same two options below the page content editor.

Quickest way to animate PowerPoint 2010 bullets

When used effectively and in moderation, animations can improve a slideshow by adding some visual interest and offering the presenter more control over the rate at which new points are displayed to the audience.

I’m new to PowerPoint 2010, so I’m making more of an effort to learn how to use it efficiently than I did with PowerPoint 2007 (which we’re still using at the office). I was making some slides in a hurry this afternoon and wanted to make a set of bullets “Fly In” one after the other. I knew how to do this manually, by animating each one in turn, but I’ve worked out how to do this with a few group selections, so here goes:

  1. Write all your bullets.
  2. Group select all bullets to be animated (i.e. left-click on the first bullet, hold down the “Shift” key, then left-click on the last bullet).
  3. Click the “Animations” tab in the Ribbon, then click on “Fly In”.
  4. Show the “Animation Pane” by clicking the button of that name in the Ribbon.
  5. All animation steps in the “Animation Pane” are already selected by default. Simply right-click on one of them and select “Start On Click” from the context menu.
Screenshot of the PowerPoint 2010 "Animation Pane"

They are now set to animate one after the other, rather than all together. The exact same technique will work with any other Entrance animation, e.g. “Appear” or “Fade”.