Changing the layout of templates
-
Hello Mike,
Great plugin!
I have a question. I would like to change the layout of the jobs short code. The page has been designed (and coded statically) on how it should look which includes the filtering options on the left hand side and the results on the right. (It also has the search and location boxes across the top.
I have noted in the code that within the function for the shortcode (output_jobs) it uses a ul with the class “job_listings”. Which gets appended to the bottom of the template job filters. It also uses the ajax-filters.js file, for updating the results.
I have used dequeue and deregister to remove the css file for styling this page also.
What would be the best way for me to implement my own radically different design to this, while also keeping the flexibility of the add-on (such as the hooks) and maintaing the additional add-ons to work.
I need to add a completely different structure to what is there (which spans these different files)
Can I override these files (the ajax-filter.js and the short-code) within my theme? Is this the best approach?
I look forward to your response,
Kindest Regards,
Dean Fields
- The topic ‘Changing the layout of templates’ is closed to new replies.