Support » Plugin: Page Builder by SiteOrigin » Woocommerce categories and tags

  • Resolved danina84

    (@danina84)


    Hello,
    is there a way to use Page Builder on the Woo archives(categories and tags)? Maybe through a function in a child theme?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrew Misplon

    (@misplon)

    Hi @danina84

    Thanks for reaching out. At the moment, unfortunately, there is no native/built-in method to use Page Builder on WC archive pages. I haven’t taken a look at what can be done on the child theme front. What’s the end goal? One idea that comes to mind is inserting a widget area above the product display but that might not be what you’re after. Perhaps, let us know the goal and we’ll try come back to you with ideas to resolve from within a child theme.

    Hi,
    thanks for your reply. I would like to display additional content on the woocommerce tag archives, I have added code to my child theme to be able to insert HTML, but it would be great to be able to use rows and columns on these archives, and be able to align text and images in the columns.

    Thanks!

    Plugin Author Andrew Misplon

    (@misplon)

    One option would be to create a new widget area in your child functions.php file and then output that widget area in the archives template.

    https://codex.wordpress.org/Widgetizing_Themes

    Once complete, go to Appearance > Widgets and insert a Layout Builder widget.

    Unfortunately I am not as advanced…I have basic html and css knowledge, but no real PHP competence…

    Plugin Author Andrew Misplon

    (@misplon)

    No worries. Have you taken a look at the link yet? The first section, how to How to Register a Widget Area, that goes in functions.php and the second section, How to display new Widget Areas, that code snippet goes in the WooCommerce archive template that you’ve included in your child theme. If you have FTP access to your server then you’re all good, if something goes wrong, just revert your change.

    Yes, I did read the link, but all the code refers to a sidebar, and I don’t need a widget in a sidebar…

    I don’t have the woo category template in my child theme, of course I could copy it in there, but I think a function would be the prefered way due to future updates?

    Plugin Author Andrew Misplon

    (@misplon)

    Sidebar just means widget area, “Footer Sidebar” for example means footer widget area. Give it a try, I’m sure you’ll be able to make progress.

    It can be done without the WooCommerce file in your child theme but that’s a bit harder. You’ll need to inspect that file and locate an action hook and then output the widget area via a function using the action hook you’ve located. Outputting the widget area into the file in your child theme is a bit simpler.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Woocommerce categories and tags’ is closed to new replies.