Results 1 to 1 of 1

Thread: disabling previous/next ad buttons

  1. #1
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts

    disabling previous/next ad buttons

    TUTORIAL:

    Below the ad description on a single ad page, there are shortcut links (buttons) to view the previous ad and the next ad in the same category.

    In case you want to remove those links from your site, you can do the following in single-ad_listing.php (around line 164):

    PHP Code:
    <?php // Remove the prev/next area.
    /*
    <nav id="nav-single">
        <?php if (function_exists('ft_vienna_mod')) { ft_vienna_mod($post->ID); } ?>
    </nav>
    */
    ?>
    I just wrapped the code that generates those links, in a multi-line PHP comment.

    I think it's a handy feature. I'm just removing it on a site to simplify (in my opinion) the single ad page (may add it back, still deciding).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: January 26th, 2014, 07:43 AM
  2. [MOD NEEDED] Pagination Labels Previous/Next
    By beltrandaniel in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: December 12th, 2013, 03:56 PM
  3. NEXT>>--<<PREVIOUS for ADS
    By vienna in forum ClassiPress General Discussion
    Replies: 4
    Last Post: February 26th, 2013, 08:13 AM
  4. [MOD NEEDED] Change "Top bar Job type buttons" for Category buttons
    By jf77 in forum JobRoller General Discussion
    Replies: 3
    Last Post: March 8th, 2011, 06:00 PM