Hierarchical Pages Widget
[resolved] Make Hierarchical Pages Widget title the current page's title (5 posts)

  1. samrhein
    Posted 3 years ago #

    Hi I was wondering if it's possible to dynamically make the title of the widget the same as the current page's title - I'm not sure where to start fiddling with the code so any help is much appreciated. Thanks!

  2. wlindley
    Plugin Author

    Posted 3 years ago #

    Hmm, so... would you also want the plugin to "only display sub-pages of the current page"? That is the only way I can figure that having the title work that way, makes any sense.

  3. samrhein
    Posted 3 years ago #

    Yeah I'm only displaying subpages. I just got around the problem by styling the current_page_item

  4. dbraphael
    Posted 3 years ago #

    hi samrhein

    i am curious how you solved your problem. i am having a similar issue and would like to only show subpages of a current page. Would you mind sharing how you styled current_page_item?



  5. samrhein
    Posted 3 years ago #

    I ultimately ended up just using the built in menu system to create a menu for each parent page that includes all of it's children - the downside is that it doesn't update automatically if child pages are added - but it was a quick solution if you don't have many pages. You can see it in action here http://www.oneheartsource.org/childrens-home/life/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Hierarchical Pages Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic