Hi. I don't know ajax programming. I know HTML, CSS, little bit of php(so much that I am editing and customizing all the default themes, and learning along the way).
I have attached the UI of the page which my designer has designed. Now I am making this in wordpress. I have assigned the left menu as the category menu, so it has categories of all the posts.
I can create different templates for trending posts and fresh posts. So basically I will have then 3 templates for the category page (default, trending and fresh)
What I would like to know is how to display a separate menu for trending, fresh and default. Eg if the user is on default page (home page), then the category menu on the left will use the default template, when he is on the trending page, the category menu on the left will use the trending template and so on. Is there a simple way to do this ? Can I do this with ajax too ?
The theme is twenty fourteen child ..
meta_query
andorder
parameters when showing Tending posts.. And yes, you can do it using AJAX too, that will improve the UX by a mile.