How to Create WordPress Pages without Tabs Showing Up on the Header

I was thinking of future developments for my site and thinking I may need to create pages for story excerpts and sample chapters. I was thinking of creating an index page and individual pages for each of my samples. However, when you create a page on WordPress a tab for it is created in the main header of your site by default. This could create a too cluttered look if I get a decent sized collection of clips to show off.

I experimented with WordPress’s dashboard and found two simple tricks that solve this problem. I thought I shouldn’t keep it to myself so I made up this post.

There are two options:

Option #1: When you are creating a page you can assign it parent page by choosing a page as the parent page in the “page attributes” menu on the right of the edit page screen. You may have to expand this menu by clicking an arrow next to “page attributes” but it should have a parent drop down menu option when it is fully expanded. Once the page is published WordPress will list this new sub-page on a drop down menu for the parent page on your site’s main header bar. The sub-page is accessible by clicking the downward arrow next to the parent page’s tab on the header menu bar.

Option #2: You want to create an index page where the sub-pages you create are listed as a series of links that can be clicked to access the sub-pages. You can make it so the index page has a tab on the header but there are no tabs for the individual sub-pages and the sub-pages don’t become part of a drop down menu for its parent page. There is a simple trick to stop your sub-pages from being listed as one of the main header’s tabs without having to know advanced programming or downloading the “hasn’t been updated in two years “exclude pages” add-on”.

Create the sub-page in the edit page screen and it’d be a good idea to click the “view page” link underneath the page’s title input field so that you can copy the full URL of your sub-page for future reference in a Wordpad document. Once you have finished creating all the sub-pages you want you can then create the index page by creating a list of your sub-pages and using the regular hotlink button that looks like a chain link icon to highlight the relevant words and input the sub-pages’ URLs. You can use the Wordpad document I suggested you create to simply copy and paste the URLs into the URL entry field that pops up. Repeat as many times as needed until you’re done creating links for all the items on your index page’s list.

Once you’re done with creating the index page and the sub-pages you then go to the “Appearance”s tab on your WordPress dashboard, this will open a sub-menu click “Menu” on the “Appearances” drop down menu. It will take you to a page, make sure you are toggled on the “edit menus” tab. There will be two lists, one called “pages” on the left and “menu structure” on the right. The list on the left will show the most recently created pages. They will also be added to the “menu structure” menu. You can delete the sub pages from the “menu structure” list by toggling their drop down menus and choosing the “remove” option from the bottom of the sub-page’s drop down menu. When you’re done weeding your menu structure save your changes. The next time you refresh your WordPress site’s front end all the header’s tabs will be configured to only show what you want it to. Your index page and its list of links will then become the only means to access the sub-pages that you have created in WordPress on your site.

You can see the results of Option #2 on my Links page which has a link to “experiment page”.

You need not download the out-of-date “exclude pages” add-on nor need to know advanced code with this workaround. I’m striving for a simple and attractive site so these tricks are good enough for my needs and I thought it might be useful to other people so I created this blog-post as at WordPress Webdesign tutorial.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s