wpeventmanager / wp-event-manager

WP Event Manager is a lightweight, scalable and full-featured event management plugin for adding event listing functionality to your WordPress site. The shortcode lists all the events, it can work with any theme and is really easy to setup and customise.
https://wp-eventmanager.com
34 stars 50 forks source link

Name of the current event #1632

Closed mistry-jignesh closed 7 months ago

mistry-jignesh commented 7 months ago

How to get the current event? How to get the name of the current event?

I’m not interested in the shortcode, but in the output to PHP.

https://wordpress.org/support/topic/name-of-the-current-event/

We have informed but still have not opened a ticket by client.

ritakikani commented 7 months ago

If client wants to get event name on wordpress website single post page then he can use default $post in which he can get all the information of that post like name, banner, location, everything.

But, he want to display event name on other page then he must need to fetch data from database and then he can print or echo the information of event.

mistry-jignesh commented 7 months ago

As per @ritakikani : If client wants to get event name on wordpress website single post page then he can use default $post in which he can get all the information of that post like name, banner, location, everything.

But, he want to display event name on other page then he must need to fetch data from database and then he can print or echo the information of event.

So I closed the issue.