[Resuelto] Shortcode not showing Link title correctly
This support ticket is created hace 5 años. 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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
I have a view on a page called 'Who Inherits my Estate?' that is displaying a list of CPT 'PEOPLE' and I'm trying to add an anchor link to each 'PERSON' that takes you to their edit page... The link text is the post title which is the PERSON's name e.g. Luke, Sam, Jenny etc. The link works fine and redirects you correctly to the edit page but the link text using the shortcode [wpv-post-title] is showing the page title(i.e. Who Inherits my Estate?) rather than the CPT PERSON name... If I take out the [toolset-edit-post-link layout_slug="people-add-beneficiary"] link then the shortcode [wpv-post-title] works fine displaying the PERSON's name (but obviously doesn't link to anything..
I'm having exactly the same problem with using post fields and edit post links within a view loop.
In this example below, if I use [types field='inheritance-percentage' format='FIELD_VALUE'][/types] on it's own I get the correct output, but if I wrap it in a edit post link ([toolset-edit-post-link layout_slug="add-percentage-split"]) It returns nothing at all!... and the %%POST_TITLE%% obviously only works for the title of the post in the loop and not the other fields...Here is the problem..