Viewing 1 to 5 of 5 items
Tag Archives: granparent

Sidebar menu with a child pages regardless of depth – WP Engineer

This article was taken from WP Engineer: In this article I want to show an example in which are the main pages in a horizontal navigation. The related sub-pages are displayed in the sidebar when you click on the main page. For better understanding we take the following page structure: Home Software Image Editor  Full Article…


Various code for Parent & Grandparent pages in WordPress

Show parent page title regardless of what subpage you are on: Find Page’s Top Level Parent ID This code can be used for displaying 2nd and 3rd level navigation links based on the current section. Code taken from the CSS Globe here: Display a link to the top-level page of a section Find all  Full Article…