Product category showing as h4 heading on top of all pages, products, blogs etc

This topic has 27 replies, 3 voices, and was last updated 33 minutes ago ago by Andrew Mitchell

  • Avatar: khurram virk
    khurram virk
    Participant
    October 29, 2024 at 19:14

    Dear Sir

    good day to you!

    we hope you will be fine,

    1) throughout the site product category is showing. at the moment we have only 1 category, please let us know how to remove it. FYI, we cant see frontend or backend. please check what is the problem.
    here is the screenshots
    https://snipboard.io/wb5Pul.jpg
    https://snipboard.io/CWefLF.jpg

    2) by default blog page topic title heading is coming h2 how to make it h1?
    https://snipboard.io/Ubcj0i.jpg

    3) shop filter (widges) coming as h4, please guide us how to remove the heading from them. we want to make them p span etc not heading.
    https://snipboard.io/Mi57Bj.jpg

    looking forward for your help.

    thank you

    26 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    October 30, 2024 at 12:17

    Dear Khurram Virk,

    We hope this message finds you well.

    It appears that the login URL you previously provided has expired. Could you kindly resend it to us at your earliest convenience?

    Thank you for your assistance.

    Best regards,
    8Theme Team

    Please contact administrator
    for this information.
    Avatar: khurram virk
    khurram virk
    Participant
    October 30, 2024 at 14:42

    dear sir

    Greetings!

    please check also header is not ok on following links?

    https://askasolution.com/aska-industrial-services-in-saudi-arabia/hvac-solution-in-saudi-arabia/

    https://askasolution.com/aska-industrial-services-in-saudi-arabia/hvac-solution-in-saudi-arabia/

    here is the screenshot
    https://snipboard.io/QdTuGm.jpg

    thank you

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    October 31, 2024 at 08:32

    Hi @khurram virk,

    1. Please edit your mobile menu, under WP menu item > Extra Content > select Without: https://prnt.sc/6QPjSjsESt-Z.

    2. We could see that you didn’t use child theme yet. In this case, please edit this file: xstore/single.php file at the line 104:

    – Change:

    
    <h2 class="entry-title"><?php the_title(); ?></h2>
    

    – To:

    
    <h1 class="entry-title"><?php the_title(); ?></h1>
    

    3. Please try adding this code under functions.php file locates in your child theme or use the WP Code plugin(https://wordpress.org/plugins/insert-headers-and-footers/):

    
    add_filter('etheme_sidebar_before_title', 'n2t_etheme_sidebar_before_title');
    function n2t_etheme_sidebar_before_title(){
    	return '<p class="widget-title"><span>';
    }
    
    add_filter('etheme_sidebar_after_title', 'n2t_etheme_sidebar_after_title');
    function n2t_etheme_sidebar_after_title(){
    	return '</span></p>';
    }
    

    please check also header is not ok on following links?

    https://askasolution.com/aska-industrial-services-in-saudi-arabia/hvac-solution-in-saudi-arabia/

    https://askasolution.com/aska-industrial-services-in-saudi-arabia/hvac-solution-in-saudi-arabia/

    Please clear the cache of Litespeed cache plugin.

    Best regards,
    8Theme Team

    Avatar: khurram virk
    khurram virk
    Participant
    November 3, 2024 at 14:53

    dear sir

    good day to you!

    thank you for helping us,

    1) please send the screenshot with snipboard, unable to see it. moreover, we have only 1 main menu at the moment.
    https://snipboard.io/FxBMSG.jpg

    2) we have installed the child theme it is activated now and main theme is deactivated….please guide us how to use it… should we work in child theme and keep activated? please guide to properly set it up.
    https://snipboard.io/gpNmD5.jpg
    moreover, after enabling childtheme our blog color scheme and setting is changed. please guide also for this.

    2)— now we have child theme, so please provide the code regarding child theme to make blog heading h1.

    3. child theme functions.php pasted the provided code but still coming h4 filters on shop page
    https://snipboard.io/Nk3w91.jpg
    https://snipboard.io/289byp.jpg

    4. how to remove breadscrumb line from page
    https://snipboard.io/9ya1Zq.jpg

    thank you

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    November 4, 2024 at 09:56

    Dear Khurram Virk,

    We hope this message finds you well.

    It appears that the login URL has expired once again. Could you kindly update it at your earliest convenience?

    Thank you for your attention to this matter.

    Best regards,
    8Theme Team

    Avatar: khurram virk
    khurram virk
    Participant
    November 4, 2024 at 10:48

    dear sir

    good day to you!

    PC

    thank you

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    November 5, 2024 at 15:52

    Hi @khurram virk,

    1. We could see that you’ve already done it.

    2. It seems the Theme File Editor is disabled from your website. In this case, you can use WP Code plugin to insert the custom codes: https://wordpress.org/plugins/insert-headers-and-footers/

    3. Please copy this file xstore/single.php to the child theme: xstore-child/single.php and at the line 104:

    – Change:

    <h2 class="entry-title"><?php the_title(); ?></h2>
    – To:

    <h1 class="entry-title"><?php the_title(); ?></h1>

    4. Add the following code to WP Code plugins:

    
    add_filter('etheme_sidebar_before_title', 'n2t_etheme_sidebar_before_title');
    function n2t_etheme_sidebar_before_title(){
    	return '<p class="widget-title"><span>';
    }
    
    add_filter('etheme_sidebar_after_title', 'n2t_etheme_sidebar_after_title');
    function n2t_etheme_sidebar_after_title(){
    	return '</span></p>';
    }
    

    Hope it helps!

    Avatar: khurram virk
    khurram virk
    Participant
    November 5, 2024 at 19:26

    dear sir

    good day to you|!

    1. we have done it but it is still showing all product categories on ALL PAGES.
    here is the screenshot.
    https://snipboard.io/xE9Kit.jpg

    2) at the moment xstore heme activated should we keep it activated as primary? or we keep activated childe theme?

    here is the screenshot
    https://snipboard.io/gpNmD5.jpg

    4. how to remove breadscrumb line from page
    https://snipboard.io/9ya1Zq.jpg

    please guide thank you.

    Avatar: Justin
    Luca Rossi
    Support staff
    November 6, 2024 at 06:07

    Hi @khurram virk,

    1. The category items are coming from the search form, we’ve disabled them for you: https://prnt.sc/hD0V8pirD9cG

    2. Just keep the child theme activated. Since we’re going to copy the template files to child theme.

    3. Do you mean remove the breadcrumb? Try adding this custom CSS codes under Xstore > Theme Options > Theme Custom CSS > Global CSS:

    
    .page-template-default .page-heading {
        display: none;
    }
    

    Hope it helps!

    Avatar: khurram virk
    khurram virk
    Participant
    November 6, 2024 at 22:08

    dear sir

    greetings!

    thank you so much for support

    1. now some products showing as h4 on all pages, please check
    https://snipboard.io/noaHR0.jpg

    2. child theme activated now. can you tell us how we can copy all settings done in main xstore?

    thank you

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    November 7, 2024 at 09:17

    Dear Khurram Virk,

    We hope this message finds you well.

    1. Could you kindly provide us with the specific page URL in question?

    2. In this situation, we recommend the following steps: Please activate the parent theme first, export the theme settings, then activate the child theme and import the settings again.

    Thank you for your attention to this matter. Should you need any further assistance, please don’t hesitate to reach out.

    Best regards,
    8Theme Team

    Avatar: khurram virk
    khurram virk
    Participant
    November 7, 2024 at 09:22

    dear sir

    good day to you!

    1. all pages and products –you can check from anywhere
    2. please tell where is the import and export setting options available.

    thank you

    Avatar: Justin
    Luca Rossi
    Support staff
    November 7, 2024 at 09:37

    Hi @khurram virk,

    1. Please send the URL. We couldn’t find any h4 tags under source page.

    2. XStore > Theme Options > Export/Import: https://prnt.sc/vrwMC-MpjRZu

    Thank you!

    Avatar: khurram virk
    khurram virk
    Participant
    November 7, 2024 at 12:32

    dear sir

    rest is done.

    without plugin how we can add the following, please guide

    4. Add the following code to WP Code plugins:

    add_filter(‘etheme_sidebar_before_title’, ‘n2t_etheme_sidebar_before_title’);
    function n2t_etheme_sidebar_before_title(){
    return ‘

    ‘;
    }

    add_filter(‘etheme_sidebar_after_title’, ‘n2t_etheme_sidebar_after_title’);
    function n2t_etheme_sidebar_after_title(){
    return ‘

    ‘;
    }

    thank you

    Avatar: Justin
    Luca Rossi
    Support staff
    November 8, 2024 at 04:46

    Dear Khurram Virk,

    We hope this message finds you well.

    If you prefer not to install the WP Code plugin, you can simply add the custom code to the functions.php file located in your child theme.

    Should you have any further questions or need assistance, please don’t hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: khurram virk
    khurram virk
    Participant
    November 8, 2024 at 11:29

    dear sir

    good day to you!

    following code pasted in child theme’s functions file –got the error here is the screentshot
    https://snipboard.io/NaOTgX.jpg

    add_filter(‘etheme_sidebar_before_title’, ‘n2t_etheme_sidebar_before_title’);
    function n2t_etheme_sidebar_before_title(){
    return ‘

    ‘;
    }

    add_filter(‘etheme_sidebar_after_title’, ‘n2t_etheme_sidebar_after_title’);
    function n2t_etheme_sidebar_after_title(){
    return ‘

    ‘;
    }

    please guide with thanks

    Avatar: Justin
    Luca Rossi
    Support staff
    November 9, 2024 at 07:19

    Hi @khurram virk,

    The correct code should be like this:

    
    add_filter('etheme_sidebar_before_title', 'n2t_etheme_sidebar_before_title');
    function n2t_etheme_sidebar_before_title(){
    	return '<p class="widget-title"><span>';
    }
    
    add_filter('etheme_sidebar_after_title', 'n2t_etheme_sidebar_after_title');
    function n2t_etheme_sidebar_after_title(){
    	return '</span></p>';
    }
    

    Hope it helps!

    Avatar: khurram virk
    khurram virk
    Participant
    November 9, 2024 at 16:34

    dear sir

    thank you so much
    we have put the code and successfully saved, but h4 is still coming in filter.

    here is the functions file screenshot.
    https://snipboard.io/589SRq.jpg

    here is the shop page
    https://askasolution.com/shop/

    Avatar: Justin
    Luca Rossi
    Support staff
    November 11, 2024 at 05:59

    Hi @khurram virk,

    Can you please also add this custom codes under functions.php file?

    
    add_filter('etheme_widget_args', 'n2t_widget_title', 100);
    function n2t_widget_title($args){
    	$args['before_title'] = str_replace('h4', 'p', $args['before_title']);
    	$args['after_title'] = str_replace('h4', 'p', $args['after_title']);
        return $args;
    }
    

    Hope it helps!

    Avatar: khurram virk
    khurram virk
    Participant
    November 11, 2024 at 16:18

    dear sir

    good day to you!

    the filter by price and stock status still showing as h4 after adding the above code, please check

    https://snipboard.io/KEAxVf.jpg

    thank you

    Avatar: Justin
    Luca Rossi
    Support staff
    November 12, 2024 at 05:01

    Dear Mr. Khurram Virk,

    We hope this message finds you well.

    It appears that the login URL has expired once again. To avoid the need for repeated requests, we kindly ask if it would be possible for you to create an admin account for us. This would greatly streamline the process and prevent any further inconvenience.

    Thank you for your understanding and assistance.

    Best regards,
    8Theme Team

    Avatar: khurram virk
    khurram virk
    Participant
    November 12, 2024 at 11:26

    dear sir

    good day to you!

    PC

    Thank you

    Content is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    November 13, 2024 at 05:50

    Dear Khurram Virk,

    We hope this message finds you well.

    Could you kindly review the changes once more? We have replaced all the h4 tags with p tags as requested.

    Thank you for your attention to this matter.

    Best regards,
    8Theme Team

    Avatar: khurram virk
    khurram virk
    Participant
    November 21, 2024 at 14:10

    dear sir

    good day to you!

    hope you will be fine, h4 for filters same problem for the following shop page and categories pages.

    screenshot
    https://snipboard.io/s0TuXb.jpg
    https://snipboard.io/tL7I6B.jpg

    here is the link
    https://safeandsecureksa.com/product-category/ropes/wire-ropes/
    https://safeandsecureksa.com/shop/

    thank you

    Content is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    November 21, 2024 at 16:55

    Hi @khurram virk,

    We’ve fixed it by adding this custom code under WPCode plugin:

    
    add_filter('etheme_sidebar_before_title', 'etheme_sidebar_before_title');
    function etheme_sidebar_before_title(){
        return '<p class="widget-title"><span>';
    }
    
    add_filter('etheme_sidebar_after_title', 'etheme_sidebar_after_title');
    function etheme_sidebar_after_title(){
    	return '</span></p>';
    }
    

    Can you please check again?

    Thank you!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    November 21, 2024 at 16:59

    Dear khurram virk,

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

  • Viewing 27 results - 1 through 27 (of 27 total)

The issue related to '‘product category showing as h4 heading on top of all pages, products, blogs etc’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.