Tell us what you are trying to do?
On a regular WordPress page i have a view which lists real estates (objects) (hidden link).
Once clicked on one item, it shows the real estates (objects) detail page (hidden link).
The menu-item of the corresponding WordPress page should be highlighted though.
Is there any documentation that you are following?
I already set a one-to-many relationship WordPress-Page_Object. Within the real estate (object) i selected the WordPress page as connected. This has no effect on the menu item though.
Is there a similar example that we can see?
I hope, it's quite obvious!?!
What is the link to your site? hidden link (You need to be logged in, to see the actual page. I can provide login credentials, if you wish.)
Hello. Thank you for contacting the Toolset support.
Well - post relationship is different as its not stored like page (hierarchical) way.
Can you please send me login details and I will check if its possible to achieve what you looking for.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Did you add the mentioned code somewhere already? Because when i add it, i throws an error which says: "Fatal error: Cannot redeclare func_nav_items_selected() (previously declared in /var/www/clients/client60/web157/web/wordpress/wp-content/themes/bona_projekt/functions.php:193) in /var/www/clients/client60/web157/web/wordpress/wp-content/toolset-customizations/toolset-custom-code.php on line 10"
However, apparently the menu item "Objekt" still isn't highlighted when visiting the page hidden link and the li of the menu doesn't have any classes which indicate, it's active..
However, I just gave you guidelines that you may use the hook I shared or plugin I shared as this solution needs custom programming which is beyond the scope of our support policy.
I suggest to adjust the code as per your need or try to find a plugin that fulfills your need.
If you need custom programming for your project, please feel free to contact our certified partners:
=> https://toolset.com/contractors/