Posted: April 11, 2016 at 7:17 am
|
I want to update the URL /events to /events-list.Now when I hit /events I get broken content without any formatted HTML,I see the events but not with any correct formatting. Am I doing it right or I need to change the short code? Which default page from the plugin is used to show the events,so that I can directly add my HTML to it. |
Hi, What version of Event Espresso are you using. With Event Espresso Regular (premium), we have a setting page where you can make that change very easily and save you a lot of time: |
|
|
Thank you for the prompt reply.The version is the latest one EE4.Sorry a personal project so can’t go premium.Could you guide me,how to achieve it in the regular installation? I am kind of stuck there. I want to first display the list of all events and then a detail page for each event.Even my short codes don’t seem to work as I mentioned in the question! |
That’s the ‘slug’ and can be changed within the section Garth pointed out in premium. However changing the slug will not fix the problem.
That’s most likely due to your theme, Event Espresso events are custom post types within WP (just like posts and pages) so your theme is used to output the lists, we just hook in at the right spot and inject our additional details. /events/ is not a page, its an archive of Event Espresso events, that’s means it uses your themes archive template (if it has one, if not it will use index.php, which all themes have) Take a read through the WordPress template hierarchy. So changing the slug of the archive does not fix the problem.
Whats the specific version number, including any suffix, for example 4.8.39.decaf? When you add a shortcode within the templates you need to use the do_shortcode() function:
However, that’s now how you should be using the shortcode, and there should be no need within the archive-espresso_events.php template. Your events will be listed using the_loop using that template file. It depends on how your theme is setup as to what you need to do but you need to understand the_loop and the template hierarchy when dealing with WP. Is this a theme you have purchased or custom made? |
|
|
The specific version is 4.7.13. Its a purchased one.I will try and update the results.I appreciate your response and help.Thank you |
Hello, You can see the other changes since your version here: https://eventespresso.com/wiki/ee4-changelog/ The account that you are replying from does not currently have a support license on it. Could you check with a member of your team to see if there is another account that has a support license? — |
|
The support post ‘Which page from the plugin is used for the /events URL’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.