• Janae

    (@janaeniellgmailcom)


    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:

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

    I’ve gotten my products page to this point:

    https://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:

    https://pastebin.com/yJB4Nhvm

    Thanks in advance for your help.

    https://www.ads-software.com/plugins/woocommerce/

  • The topic ‘2 Column Products Page PHP Help Needed’ is closed to new replies.