Hi all,
I would like to use event espresso with custom type post, but I have some problem:
– can I change the “prefix” of CTP? The default is events, I would like to change it in “eventi”
– if I change the description in the CTP, it doesn’t match with the description in Event Espresso -> Event Overview? If I undestrand, the CTP post is a copy “asynchronous” of the “event overview”…
– if I try to use CTP (with “Use the custom post types feature?” set to YES in page “Template Setting” and with “Add/Update post for this event” set to YES and “Post Type:” set to “Event Espresso”), I have a post that result as mywebsite.com/events/event_title.
Unfortunaly the message is “page not found! Sorry, there are no posts.”
How can you help me???
Thanks!!
can I change the “prefix” of CTP? The default is events, I would like to change it in “eventi”
You can change this by editing /includes/admin-files/custom_post_type.php line 34. You’ll need to flush the WordPress rewrite rules by saving the WP>Settings>Permalinks settings after making the change.
if I change the description in the CTP, it doesn’t match with the description in Event Espresso -> Event Overview? If I undestrand, the CTP post is a copy “asynchronous” of the “event overview”…
I’d recommend changing it from the event editor. The next time you update the event from the event editor, it will overrite what’s been changed in the custom post type editor. Editing the custom post type does not change the event, but editing the event will change the post type.
if I try to use CTP (with “Use the custom post types feature?” set to YES in page “Template Setting” and with “Add/Update post for this event” set to YES and “Post Type:” set to “Event Espresso”), I have a post that result as mywebsite.com/events/event_title.
Unfortunaly the message is “page not found! Sorry, there are no posts.”
You probably need to flush the rewrite rules by going to WP>Settings>Permalinks and saving the settings there.
It also doesn’t sound like you’ve set up the page for custom post types, specifically the part about creating a page for the “index” of the custom event posts. There are instructions on how to set these up here:
Thank you very much Josh!! Now everythink is working, I forgot to refresh the permalink page.
The changes on PHP file custom_post_type.php are permanent or I need to “rewrite” on every update of eventespresso? I suggest, for the next version, to “un-block” the CPT setting in order to avoid a manual change.
Thank you again!
Viewing 2 reply threads
The support post ‘custom type post problem’ 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.