Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event types description page #13

Open
erikplestenjak opened this issue Nov 26, 2013 · 3 comments
Open

Event types description page #13

erikplestenjak opened this issue Nov 26, 2013 · 3 comments
Assignees

Comments

@erikplestenjak
Copy link
Member

create a page template "page-event-types.php". The page gets a list off all event types (list of items in event types taxonomy) and displays description. (aka:http://eestec-lj.org/delavnice-in-izmenjave/tipi-delavnic/)

@ghost ghost assigned martin255 Nov 26, 2013
@martin255
Copy link

This si quite hard to find. I was dealing with this whole weekend an found this function wp_get_object_terms() i think its the right one but im not sure yet.

@erikplestenjak
Copy link
Member Author

This is actually easy to find since it goes under the most basic functionality of theme development. When you copy and rename page.php template, all you have to is querry a custom taxonomy 'event_types' and put a for each loop instead of page content. You have access to our local EESTEC site, so you can easily check the code there!

@erikplestenjak
Copy link
Member Author

Also, use print_r for debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants