Jump to content

category.php query


tony84

Recommended Posts

Loop used by WordPress to display each of your posts. Basically I'm running this query in category.php, but I pagination can not get to work. I have a section of testimonials, my testimonials category.Annoyingly various sub-categories and the second question is that the thumbnail causes the post title to appear twice or more.

Link to comment
Share on other sites

If you are referring to the default product listing in prestashop you have to edit product-list.tpl and it's not very difficult. If it's related to a module and you want a list on the product page (product.php) then you'll have to edit the .tpl file for that module. In both cases you can't change this from the admin panel.

If you're asking if it's possible to do something like this then yes. You will need a simple module to store your selection and in the code replace the ul li tags with an {if $switch} for ul/table and li/td, and another {if} with an iteration variable (to control how many columns there are) for the

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...