WordPress.org

Ready to get started?Download WordPress

Forums

Please please help... a small bit of coding advice needed desperately.... (1 post)

  1. treecycle
    Member
    Posted 1 year ago #

    Hi guys,

    Could someone please help me with a small technical issue...

    I am using the woo commerce plugin and have just added the following ' hooks' to my theme functions.php ...

    add_action( 'woocommerce_before_main_content', 'woocommerce_catalog_ordering', 20 );

    remove_action('woocommerce_pagination', 'woocommerce_catalog_ordering', 20 );

    I have done this in order to move the sort/drop down menu from the bottom to the top of my product archive pages. These hooks have been successful however the sort/drop down menu now also appears at the top on my single product pages!!!

    you can see what i mean in this link....

    http://www.good-natured-gifts.com/shop/recycled-peroni-beer-bottle-glasses/

    Could someone please find a way to keep the sort/drop down menu at the top on my product archive pages but remove it from all single product pages....

    Please provide some custom CSS if possible.

    Many thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Topic