[Closed] Wrong title showing when no relationship set
This support ticket is created 2 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I did the same thing as suggested but found that when there's no relationship set, the code returns the title of the current post.
In my set up I have Artists (one) and Products (many). When the Product doesn't have a related Artist, the code in the thread above returns the title of the Product. I want it to return nothing.
No, I don't think it has something to do with WooCommerce products. After all, they are just a custom post type with the slug "product".
Would you allow me temporary access to your website to check this further? Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **
Please let me know:
- Where the code is added?
- Where the code is used? A shortcode? A custom hook?
The topic ‘[Closed] Wrong title showing when no relationship set’ is closed to new replies.