• Resolved achaitman

    (@achaitman)


    I would like to display my page’s content after the product’s on the main product page.

    Here is a screenshot of what I’m trying to achieve. https://cld.wthms.co/k8URc0

    I don’t have a lot of coding experience but I am good at following directions.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi there!

    The following code should work for you:

    remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
    remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10 );
    add_action( 'woocommerce_after_main_content', 'woocommerce_taxonomy_archive_description', 40 );
    add_action( 'woocommerce_after_main_content', 'woocommerce_product_archive_description', 40 );

    You can add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as Code Snippets. Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update.

    Cheers!

    Thread Starter achaitman

    (@achaitman)

    I installed Code Snippets plugin and copy/paste what you posted. I did “save and activate” but nothing seems to be different… Did I miss a step? Thank you for your help. I really appreciate it.

    Did you clear the cache in WP Super Cache?

    Thread Starter achaitman

    (@achaitman)

    That did it!! Thank you all very much.

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    You’re very welcome!

    I’ll go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Moving Content To Be Below Products’ is closed to new replies.