Saltar navegación

[Resuelto] Send page title to next page

This support ticket is created hace 3 años, 11 meses. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Etiquetado: 

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por avansisI-2 hace 3 años, 11 meses.

Asistido por: Shane.

Autor
Mensajes
#1972521

We come from here: https://toolset.com/forums/topic/send-author-data-to-next-page/

We set up the form to receive the data with url parameter.
But now i need pass page title. How can i send the page title to the form?

Thank u

#1972637

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Avansis,

Thank you for getting in touch.

This can actually be done by writing another shortcode to get the title from the URL.

function cust_get_post_title ) {  
    if(isset($_GET['contact_id'])){
     $post_id = $_GET['contact_id'];
    $post = get_post($post_id);
     return $post->post_title;
    }
}
add_shortcode( 'cust_get_post_title', 'cust_get_post_title' );

Then just use this shortcode below [cust_get_post_title]

Thanks,
Shane

#1973257

Thank you Shane

Now its working

Thank you for your help.

#1973269

My issue is resolved now. Thank you!