Per Page Sidebars Does not work with Duplicate Page Names

As per title , the wordpress plugin Per Page Sidebars does not work when you enable a widget for 2 pages which have same names. I was building a site which had duplicate children page names for multiple parents.

I modified the plugin to register the widgets from PSS-Name-of-Page to PSS-Name-of-Parent-Name-of-Page

This enabled me to have multiple widgets for pages by the same name , and also an easy way to organise the widgets in the backend. Code modify in the per-page-sidebars.php file

 

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...