• kannyman

    (@ryankanwal)


    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….

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

  • The topic ‘Please please help… a small bit of coding advice needed desperately….’ is closed to new replies.