WordPress.org

Forums

WooCommerce - excelling eCommerce
2 Column Products Page PHP Help Needed (1 post)

  1. Janae
    Member
    Posted 1 year ago #

    Essentially what I'm trying to do is show all the products in 2 columns. Setting the array in the functions and/or in the content-product page is not working, as it is completely ignored. So I found a solution and tried to implement this tutorial:

    http://perishablepress.com/two-column-horizontal-sequence-wordpress-post-order/

    I've gotten my products page to this point:

    http://jamminjdcards.com/blog/shop/

    Obviously, it is somewhat working, but if you inspect the code you'll see that it's posting both "left columns" on the top row and both "right columns" in the bottom row, rather than their respective right and left. I also want it to cooperate just like the tutorial, posting products #1-#4 in left to right order. Right now it's reading #1, #2, #4, #3.

    I have a feeling someone with better php/coding knowledge will be able to see the issue and help me fix it. As of right now, I'm at a loss. :( Here is the code I've implemented in the archive-product page:

    http://pastebin.com/yJB4Nhvm

    Thanks in advance for your help.

    http://wordpress.org/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic