• Resolved jdawg2k

    (@jdawg2k)


    Hi there. I am having a syntax issue that I’m sure is easy for the WP pro. I have a list of links in a 2 column template. Currently the link list shows up in all pages. My client would only like to see it in one of them.

    Currently:

    <?php /* If this is a page */ if ( is_home() || is_page() ) { ?>
    		<?php get_links_list(); ?>
    	<?php } ?>

    As the comment shows.. This code will run if it’s a page. But I want it to only be 1 specific page. The URL is something like: …www.website.com/restaurants/

    Can this be done without too much headache?
    I appreciate the help!!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customizing “get_links_lists” to show up in one page’ is closed to new replies.