WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have following links in content.php and i want to display in specific page with condition. Any ideas or suggestions? Thanks.

  • Home
  • Director’s speech
  • Projects
  • Our Vision
  • Volunteers
  • Inquiry
share|improve this question
I guess you cannot do that on wordpress.com. You will have to ask their support. – toscho Jan 20 '13 at 4:12
i am trying in localhost not in wordpress.com – Avenger Jan 20 '13 at 4:25
up vote 1 down vote accepted

You can either create a custom page template, or just add the code to your regular page.php:

if ( is_page( 'your-page-slug' ) )
    echo 'your links';
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.