Hello. Thank you for contacting the Toolset support.
First of all - After checking debug information you shared with us, I found that you are using outdated Toolset plugins. We always recommend to run your site with latest stable release plugin version.
Could you please update ALL Toolset plugins to it's latest official released version.
*** Please make a FULL BACKUP of your database and website.***
You can download latest Toolset plugins from your accounts page:
=> https://toolset.com/account/downloads/
Once you update ALL Toolset plugins - Please try to use following code:
Thanks for the reply. I updated my Toolset plugins and tried your code. Unfortunately it still doesn't work. I changed the relationship slug but the rest is the same
Well - could you please share problem URL and access details where you are trying to display the shortcode with conditional output.
*** 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 would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
Because the menu doesn't list relationship as an option, and users can't enter anything non-numeric in to the "specify an ID" section, which means you'd have to specify a placeholder ID, say 99999, and then replace it with the relationship slug @article-author.parent after it's been generated.
I moved the Divi module block around in the builder, and the same shortcode that was working before stopped working.
Moments later, after saving the page template and refreshing a page, the shortcode worked again, only to stop working again moments later. Again, no shortcode was changed.
So as I mentioned in my previous reply, the wpv-condition shortcode seems to be unreliable and works intermittently when a related post field is accessed.
I had a working wpv-conditional shortcode based on a related post field, it stopped working all of a sudden. This shortcode was put in a Divi code module.
I then created a Divi text module with the same shortcode, and it worked.
Please take a look at: hidden link
If you edit the post template, you'll see two Bio blocks that display author bio. One is made with the Divi Text module and the other the Code module.