In the Link Page to Group plugin, is there a way to make the linked pages that shows up in the group menu show a static title, even though it directs the user to a different page depending on the group?
I would like to add different pages to the different groups but I would like each group’s menu to say the same thing.
Ex: I have “page 1” that is linked to “group 1” and “page 2” that is linked to “group 2”
instead of the page title on the groups showing up as “page 1” and “page 2” in the respective groups menus, I would like to make the page title to be the same no matter what group directs to what page.
So each group will have different pages linked to them but the menu titles in the group say the same thing.
I hope that makes sense.
Sorry I figured it out…
On line 77 of the plugin I changed:
get_the_title( $post ) to “My Custom Title”
If there was a better way of doing this I’m happy to know!
- Brajesh Singh on August 9, 2016 at 1:09 pm #5009
You did the right change. That is what I would have suggested too.
You must be logged in to reply to this topic.