cannot highlight current page (2 posts)

  1. haitian yu
    Posted 3 years ago #

    Hello ppl,

    I'm creating a child theme based on theme "Fotogram" and i cannot find the correct way to highlight current page.
    what I have in php is like this:

    <div class="sidebar" id="leftcol">
    <?php wp_nav_menu( array( 'theme_location' => 'side-menu', 'depth' => '1' ) ); ?>
    <?php if ( ! dynamic_sidebar( 'sidebar-area' ) ) : ?>
    <div class="widgetcontainer">
    <h2><?php _e('Pages','fotogram');?></h2>
    <?php wp_list_pages('sort_column=menu_order&title_li='); ?>

    then I don't know how to define a current page to style it...

    sorry for the dumb question :| Thanks in advance!

  2. haitian yu
    Posted 3 years ago #

    btw the original theme is here: http://wordpress.org/extend/themes/fotogram

Topic Closed

This topic has been closed to new replies.

About this Topic