resume conversation if subject is the same

[ad_1]

Hi!! Hope you are well.

We have used a code you gave on another question to name the subject of the chat as the title of the page/post (‘$subject = get_the_title();’).

When a user hits the message button on a page/post, we would like for the conversation to continue on a previous conversation only if the subject has the same name (aka comes from the same page/post) and to start a new conversation if there is no previous conversation with the same subject name (aka never started a conversation from that same page/post).

How can we implement this?

Thank you and best regards!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer