Ask your WordPress questions! Pay money and get answers fast! (more info)

Option to display posts as grid or list. Using two links. WordPress

  • REFUNDED

Still retaining pagination and whatever query is current ie: "?year=2013&paged=2" what is the best way to implement an option to change to grid view?

I've read one solution which would be to use two separate page templates but this would then list the content twice on the site, which is something I do not wanto do. I'm open to a solution using jquery. The design however requires that thumbnail images will be on the posts in both views. Also the thumbnail size for posts in the "list" view will be different to "grid" view.

Any ideas?






Answers (1)

2013-03-07

Arnav Joy answers:

you can use ajax calling method , if you do not want to have two different templates.


slonky comments:

Care to elaborate on howto implement this?