Wordpress: Hide subpages unless on 'page'
I have a wordpress page which I basically use as a static page rather than blog style. Anyway I have a page called "Articles" and I have subpages under it which are the articles. (one sub page for each article)
I want the sub-pages to only be visible in the side bar once someone has clicked "Articles", not from the main page. Having all the article sub-pages visible from the main page is too messy and makes the page overwhelming with the number of things to click on.
So how can I stop my sub-pages appearing in the side bar until people click on the parent page?
Thank you for any help!
-
nextebizguy -
[ 1 ] Thanks
{{ DiscussionBoard.errors[1332871].message }} -
-
ForeignProfessor -
Thanks
{{ DiscussionBoard.errors[1335608].message }} -