Site logo

Archived topic

How to get the title of a post dynamically

5 replies · Started by Pablo on March 17, 2023

Viewing posts 1–6 of 6

Hi there,

Not sure if I fully understand.

Where are you trying to insert it?

Can you link me to the page in question?

Hi Leo.

Look for this post:

So that users who read this post can have more information, I have put a link pointing to api.whatsapp.com

When a user clicks on that link, the WhatsApp application opens and sends a message to the phone number included in the link with this text:

Hi, I´ve seen this on test.com and I´d like more information please.

Is it possible to include the title of post in that link?

For example:

Hi, I´ve seen this post (the_title_of_post) on website.com and I´d like more information please.

Let me know if you undstand my idea.

Hi Pablo,

Unfortunately I still don't understand the requirement.
That being said, it doesn't sound like a theme-related request at all.

Post titles and content etc are WP core features so in theory, if there is a solution that works in a Twenty series WP theme, the exact solution should work in GP.

Hope this provide some insights :)

ok

This archived topic is closed to new replies.