Your account expired support, please renew to get your support.

Home Forums Themes Support Claue Trying to Add text above Footer on Product Category pages for SEO purposes.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #35700
    Sgmonster
    Support Expired

    Hello:

    I would like to be able to add some text above the footer area for SEO purposes.   I found this information on the forum.   See attached word document.

    Can you confirm if this is still correct?    We tried it, but don’t believe we did it correctly.

    Also, what do you suggest to add code snippets to the functions.php?   We are not coders, so your help is appreciated!

    thank you,

    Tom

     

    #35701
    Sgmonster
    Support Expired

    <h3>Code to add text above footer:    See Below…  Please confirm if this is correct.  This is what was written to another customer with same question.     thanks, Tom

    </h3>
    <h3>Please add more code to claue-child > functions.php</h3>
    —————————————————————————————————————————–

    function jas_claue_child_wc_page_head() {

    if ( ! cs_get_option( ‘wc-enable-page-title’ ) || ( class_exists( ‘WCV_Vendors’ ) && WCV_Vendors::is_vendor_page() ) ) return;

     

    $title = cs_get_option( ‘wc-page-title’ );

     

    $output = ‘

    ‘;

    if ( is_search() ) {

    $output .= ‘<h1 class=”mb__5 cw”>’ . sprintf(__( ‘Search Results for: %s’, ‘claue’ ), ‘<span>’ . get_search_query() . ‘</span>’ ) . ‘</h1>’;

    } elseif ( is_shop() ) {

    $output .= ‘<h1 class=”mb__5 cw”>’ . esc_html( cs_get_option( ‘wc-page-title’ ) ) . ‘</h1>’;

    $output .= ‘<p class=”mg__0″>’ . do_shortcode( cs_get_option( ‘wc-page-desc’ ) ) . ‘</p>’;

    } else {

    // Remove old position of category description

    remove_action( ‘woocommerce_archive_description’, ‘woocommerce_taxonomy_archive_description’, 10 );

    $output .= ‘<h1 class=”cw”>’ . single_cat_title( ”, false ) . ‘</h1>’;

    //$output .= do_shortcode( category_description() );

    add_action( ‘woocommerce_after_shop_loop’, ‘woocommerce_taxonomy_archive_description’, 40 );

    add_action( ‘woocommerce_after_shop_loop’, ‘woocommerce_product_archive_description’, 40 );

     

    }

    ob_start();

    $output .= ob_get_clean();

    $output .= ‘

    ‘;

     

    echo wp_kses_post( $output );

    }
    add_action( ‘woocommerce_before_main_content’, ‘jas_claue_child_wc_page_head’, 15 );

    —————————————————————————————————————
    and add below code to claue-child > style.css

    .term-description {

    display: block;

    width: 100%;

    max-width: 1170px;

    margin: 30px auto;

    }
    ————————————————————————————————————–
    <h3>Please add more code to claue > functions.php above the code for step 2</h3>
    /* move category description below products */

    add_action( ‘wp_head’, ‘remove_my_action’ );

    function remove_my_action(){

    remove_action( ‘woocommerce_before_main_content’, ‘jas_claue_wc_page_head’, 15 );

    }

    Attachments:
    You must be logged in to view attached files.
    #35703

    Hi Tom,

    The code work on category page to move category description to bottom.

    I recommend use the code on the topic you visited not copy to document file, it will change format of code and make error.

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #35715
    Sgmonster
    Support Expired

    I see. okay.   Rather than move the text from top banner descripiton, Is there a way just to add text to the bottom of the pages (above the footer)?

    thanks,

    Tom

     

     

    #35716

    Yes, the code you told will move description to bottom of products and it above footer.

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #35752
    Sgmonster
    Support Expired

    Hello:  I need help.  I”m circling and can’t figure out how to do this.  None of my description is appearing in Google Search Results.   I am trying to follow these instructions, but I am confused.

    https://support.google.com/webmasters/answer/7489871?hl=en

    I installed the plugin, MetaTag Manager also, but haven’t been able to figure it out.

    Can you help?

    I have zero coding experience.

    #35758

    Hi,

    Please follow this https://search.google.com/search-console/about to install some files to search engine can index your site.

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #35760
    Sgmonster
    Support Expired

    okay, thanks.  I’ll check that.

    Regarding adding text above the footer,   I want to KEEP the description on top (either inside the banner, or below the banner)  rather than move it.   I am actually using the description text inside the banner and need to keep it there.

    I would like to add text to the bottom above the footer for more SEO (normally visitors dont read this portion much) Can you add that capability?

    thanks,

    Tom

    #35762

    Hi Tom,

    It have a way to add more text above footer but it’s widget and show the same text for “shop, and all categories) not different text.

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #35780
    Sgmonster
    Support Expired

    thanks, but that probably won’t work.  The text i would like to add above the footer would be purely for SEO purposes.  Like in our bifocal section, I would write about bifocal sunglasses a little.

    I do have another question.  How can I add text in the very top of the home page on the black bar?
    See attached picture.

    Attachments:
    You must be logged in to view attached files.
    #35785

    Hi Tom,

    You can change the text in Claue > Theme Option > Header and change in Header Top Left and Header Promo .

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #35793
    Sgmonster
    Support Expired

    Thanks.

    So, regarding the 1st question about the text above the footer, can you create a separate section above the footer  where I can add some additional text (not move the text from the top to the bottom.  It will be an entirely new section)

    The text i would like to add above the footer would be purely for SEO purposes and quite common in the industry.  See attached.

    Attachments:
    You must be logged in to view attached files.
    #35795

    Hi Tom,

    I’m sorry it can’t add separate text for each category. It only can use widget and same text for all category and shop page.

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #35810
    Sgmonster
    Support Expired

    can you add this feature?    automatically adds a graphical “tag” to the picture.   See attached.

    Attachments:
    You must be logged in to view attached files.
    #35815

    Hi,

    By default our theme already support show “New” tag when you create new product. For other tag you have to use a plugin and you have to manual to show on/off tag.

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.