WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Featured Products short code in Elegent theme. (7 posts)

  1. Ibnul
    Member
    Posted 1 year ago #

    I am using woocommerce in my site that is a Elegent theme site.
    And using the below shortcode to show "Featured Products" in a page.
    [featured_products per_page="12" columns="4"]

    It's showing Featured Products but in only ONE COLUMN.

    I am not sure, why it's not showing like in the short code with "columns="4"".

    Is there anyone can help me please?

    Thanks

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

  2. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    The columns parameter changes the position of the first and last classes in the markup. You may still need to apply CSS to apply the layout.

  3. Ibnul
    Member
    Posted 1 year ago #

    Thanks for the reply.

    But, I've checked the code.
    There are only
    <li> ... </li>
    , not first or last class there.

    If I get the class, I think it'll be ok.

    What do you think please?

  4. Satyendra
    Member
    Posted 1 year ago #

    Hello there,
    I too tried the same shortcode [featured_products per_page="12" columns="4"]
    but, I can see only one element as "Featured Products", clicking at which, the list of featured products are listed (single column in my case also).

  5. Ibnul
    Member
    Posted 1 year ago #

    I don't have any solution from here.
    But, I've solved the problem editing the plugin core files.

  6. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    I strongly recommend you do not edit core files. If the shortcode is not outputting the first and last classes then the theme must be overwriting WooCommerce templates. Talk to the author about fixing this.

  7. Ibnul
    Member
    Posted 1 year ago #

    Yes, I know but I was waiting for 2 weeks.
    I wrote in one of previous messages that it's not getting the classes.

    But don't have any solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic