I have been looking through the docs and forums to find out a few things…
I know where the templates are to edit then, I am using the Thesis theme which uses an unusual templating system when compared to most. While everything is working quite nicely I have two things I need to do..
1) Find the if statement so I can set conditional css classes and decide which thesis template to load. Example issues here are that Thesis has a sidebar template and a no sidebar template, all events pages are using the sidebar template but I need a conditional statement related to if post type = events?? so I can remove the sidebar on all of these pages. I also want to use this to remove a few other wordpress hooks which are not necessary.
The second thing I want to do is make a function in my theme using the wordpress loop to call the last 5 event titles within a larger function which also calls in posts. So any advice on that would also be welcome as I cannot work this info out from the docs.
- The topic ‘Couple of Queries…’ is closed to new replies.