ThemeShaper Forums » Power Blog

changing word "categories" in menu

(3 posts)
  1. gertzse
    Member

    In Power Blog, I would like to change the word "categories" in the menu under Home to say In the News or something similar.

    Posted 10 years ago #
  2. gertzse
    Member

    OK, I find the following code in Powerblog's functions.php:, but I don't know how to change the word categories. Changing it here did not do anything.

    // Add a drop down category menu
    function childtheme_category_menu() { if(!is_page()) { ?>
    <div id="category-access">
    <div id="category-menu" class="menu">
    <div class="menu-title"><?php _e('Categories:', 'thematic'); ?></div>
    <ul id="category-nav" class="sf-menu">
    <?php wp_list_categories('title_li='); ?>

    </div>
    </div>
    <?php } }
    add_action('thematic_belowheader','childtheme_category_menu', 5);

    I also find this using firebug, similar but slightly different.

    <div id="header">
    <div id="branding">
    </div>
    <div id="access">
    </div>
    </div>
    <div id="category-access">
    <div id="category-menu" class="menu">
    <div class="menu-title">Categories:</div>
    <ul id="category-nav" class="sf-menu sf-js-enabled">

    </div>

    Posted 10 years ago #
  3. hi gertze,
    to change the name of the categories, just change line 45 in the functions.php where it says:
    <div class="menu-title"><?php _e('Categories:', 'thematic'); ?></div>

    change Categories: to whatever yo want.
    make sure you are editing the functions.php of your childtheme!

    Posted 10 years ago #

RSS feed for this topic

Reply

You must log in to post.