1. johanclearview

    johanclearview New Member

    Joined:
    Mar 1, 2014
    Messages:
    8
    Likes Received:
    0
    If you choose a category for your gallery the pictures will be filtered so that only the pictures in the selected gallery are displayed. That works and makes sense.

    But......

    If you choose a category and then click on an image for a larger image and choose to advance in that category (by clicking on the right-arrow on the right side of the image) it doesn't advance in that category but reverts to ALL images.
     
  2. johanclearview

    johanclearview New Member

    Joined:
    Mar 1, 2014
    Messages:
    8
    Likes Received:
    0
    Just added that I want to receive e-mail notifications
     
  3. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Go to the front-page.php file present in your theme directory and paste the code given below in that file as shown in the image given below.

    Code:
    <?php
    $terms = get_the_terms( $post->ID , 'filter' ); foreach( $terms as $term ) { print $term->name; break; unset($term); } ?>
    
    [​IMG]


    It will solve your issue.
     

Share This Page