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

On my homepage, I have several links that should link to different parts of my website.

The first link should be redirected to a custom post type that has the slug portfolio.

The other links should be redirected to different custom template pages like contact page , about us page, etc.

Are there any functions in WordPress that allow me to link to this pages?

share|improve this question
Please improve this question by telling us 1) where the links are and how they were originally made, 2) including any code that you've used to make the links, 3) including all the things you've already tried, and 4) a link to the site if available. – mrwweb Aug 24 '12 at 15:42
up vote 2 down vote accepted

There are functions in WordPress that deal with adding menu items. Is this the kind of "function" you're looking for?


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.