This should be an exception, those codes you mentioned above does not work in the wordpress archive of client, currently, there is a workaround, you can use a content template to display those codes, for example:
Here is the view: hidden link
Recent Post Sale Highlights.
The CPT is 'featured lots' and the parent cpt is the 'auction' - The link works (using the comma which is only visible content within the a href at this time) - the auction name, and date had always worked. It no longer works. What have you changed? and How do I resolve this?
Most issues are resolved with all toolset plugins being updated - however now, the conditional statement that usually works with parent fields is not working.. for example:
The above should show the Auction title and date if the child CPT is associated with an auction, and show nothing if there is NO auction associated with the featured lot. This is not working, have tried several solutions.
Well - could you please share problem URL and access details where shortcodes are not working as expected?
*** 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.
Example
There is no Parent 'Auction' associated with this lot: hidden link
There is a Parent 'Auction' associated with this lot: hidden link
You see that one shows nothing in "Auction:.... " section, the other shows the auction the child featured lot is associated with.
THIS EXACT SAME CODE ABOVE DOES NOT WORK WITH:
Toolset > WordPress Archive > 'Archive for featured lots' - hidden link
or
View 'Featured lot slider - hidden link
- the result with the same condition code as above for these is that it shows nothing, regardless of if it has parent 'auction' associated with it or not. (therefore the code has been removed on my working live site)
I am not able to give you access to this clients live/website server - Surely you can test conditional display of parent CPT fields with your own test site/s? This is very disappointing for this to just stop working when it worked when it was developed, TOOLSET changed parent-child relationship details somewhere along the ver history, I corrected it as needed and still problematic.
Ok - its fine if you not able to share access details to live site.
Is it possible for you to send me duplicator copy of your site - so I can check with your existing setup?
If thats not possible, I need following information:
- What is the relationship you have between two post type one to Many or many to many?
- have you migrated to new Relationship from Toolset => Relationship ? Please share screenshot of this page that would be great.
Just to make sure, so I can check once I get your confirmation with my local test install.
Thanks for the details, I can duplicate the problem with your duplicator package: Those codes you mentioned above does not work in the wordpress archive, I will escalate it, currently there is a workaround, you can use a content template to display those codes, for example:
1) Create a content template, for example "test-1", with the codes you mentioned above:
Ok, this is fine although unfortunate that a workaround is necessary - seems a glaring oversight in the big relationships update/s - I hope I will be notified when this is resolved. Thank you Luo.