WordPress tag description below

  • Hello! I use this code to place the WordPress category description page at the bottom. I would like to place the product tag description and the blog tag description at the bottom of the tag page. Can anyone help with that?

    add_action('woocommerce_archive_description', 'custom_archive_description', 2 );
    function custom_archive_description(){
        if( is_product_category() ) :
            remove_action('woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
            add_action( 'woocommerce_after_main_content', 'woocommerce_taxonomy_archive_description', 5 );
        endif;
    }
  • Hello there,

    Many thanks for reaching out.

    Are you able to confirm the URL of the website that you need assistance with please?

    WordPress.com doesn’t offer custom development work as a part of the support we provide and you would need to find a developer to help with that piece of code.

    Generally speaking, if this code has to be added to the functions.php file, this can be added via this code snippets plugin: https://wordpress.org/plugins/code-snippets/

    I hope this helps.

  • The topic ‘WordPress tag description below’ is closed to new replies.