Customize Navigation Tabs
I'd like to add a tab that doesn't link to a page, but instead links to a destination of my choosing. One example of how I'd like to use this is to click on a tab called "Projects" and be taken to a list of posts with the tag "project".
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi Kerrie
It's certainly possible to add in extra tabs if you don't mind editing the header.php code by hand. Here's how you'd add a tab called "projects" after your regular page tabs (if you don't fancy tackling this yourself, just email us at help@wordprezzie.com and we'll do it for you):
1) Log in to your FTP server and browse to the /wp-content/themes/ice-cream-dream/ folder.
2) Copy the file called "header.php" to your desktop.
3) Open the file and scroll down to line 51, which starts wp_list_pages
4) Under that line add the code that's highlighted in this image:

5) Upload that file back to the /wp-content/themes/ice-cream-dream/ folder and click "yes" if asked to overwrite.
Hope that makes sense and let us know if you need any help at all.
Best wishes
Nick
The company says
this answers the question
-
Hi Nick,
Thank you again for your speedy reply to my problem. I was able to add the code for the tabs I need, but it's missing a piece. I think it needs to include "current_page_item" somehow to change the background color of the tabs when they are the current page. Is that right? I'm not sure how to format that part myself. -
The company and 1 other person say
this answers the question
Loading Profile...



EMPLOYEE
