Custom Theme for "Events Index" and "Event Post"

20 views
Skip to first unread message

Dennis | @eu_dennis

unread,
Sep 21, 2011, 11:54:54 AM9/21/11
to event...@googlegroups.com
Hello again,

I would know if it's possible to use custom theme for the "Events" list. Look's like is using the "search/categorie" attribute. The same question about the posts. Is possible to have it's own theme?

Kunal Bhalla

unread,
Sep 21, 2011, 12:05:38 PM9/21/11
to event...@googlegroups.com
The themes are picked up from ep/themes/wp for single events and event
details in an archive. You can override the theme files picked up for
post types of type 'ep_event' to change the styling.

Kunal

Dennis | @eu_dennis

unread,
Sep 21, 2011, 12:11:31 PM9/21/11
to event...@googlegroups.com
Thanks. Will try that soon.

Dennis | @eu_dennis

unread,
Sep 21, 2011, 1:07:42 PM9/21/11
to event...@googlegroups.com
I think I don't understand. It's just change those files or I have to creat a brand new?

Kunal Bhalla

unread,
Sep 21, 2011, 1:09:25 PM9/21/11
to event...@googlegroups.com
You can do either -- if you create new files, you have to hook them in
at the right place so that WP uses those instead. WP has default names
for custom post specific themes, so you can start with just naming
files accordingly and putting them in you theme folder.

Kunal

Dennis | @eu_dennis

unread,
Sep 21, 2011, 1:16:25 PM9/21/11
to event...@googlegroups.com
Ok, will try that. If can't I will back here, hehe :)

Dennis | @eu_dennis

unread,
Sep 21, 2011, 1:38:19 PM9/21/11
to event...@googlegroups.com
If I duplicate the "single.php" and rename it to "ep_event.php" it's the first step? If this is right, what the next step?

Kunal Bhalla

unread,
Sep 21, 2011, 1:43:50 PM9/21/11
to event...@googlegroups.com
Try copying single.php to single-ep_event.php it your theme folder
and then editing it to see if the changes get reflected.

(http://codex.wordpress.org/Post_Types)

Kunal

Dennis | @eu_dennis

unread,
Sep 21, 2011, 1:51:48 PM9/21/11
to event...@googlegroups.com
I made a quick test and I think that worked. Will work on that later.
Reply all
Reply to author
Forward
0 new messages