I would like to display the category name of the event on the Recurring Events Table.
I’m currently working on the index.php of this addon but my code doesn’t work:
We would be glad to help, but first can you just clarify: is this the Recurring Dropdown template that is part of the Custom Templates Add on or is it the older recurring events template file found in the recurring events plugin?
They are similar in name but quite different in code 🙂
The likely reason your code doesn’t work is because “category_name” isn’t defined in the array. Instead, you could use the category name shortcode like this:
‘category_name’ => stripslashes_deep($event->category_name) will not work because category_name isn’t in the event details database table.
Using the shortcode worked for me, so I don’t have any additional suggestions. Maybe if you post your modified code into a pastebin and post a link to it here one of us can take a look.
Viewing 4 reply threads
The support post ‘Display category name on Recurring Events Table’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.