- This topic has 5 replies, 2 voices, and was last updated 3 weeks, 1 day ago by
Skandha.
- AuthorPosts
- November 10, 2019 at 9:45 am #225422
hr
ParticipantTrying to remove this and have looked through all the theme template files. Would like to remove the image behind it, too.
November 10, 2019 at 10:54 pm #225472Skandha
Keymaster@hr: To remove the text Category: text you will need to create a child theme and do a little bit of customization. Let me know if you are familiar with child theme customization so that I can help you out.
To remove the image behind it
Go to => Appearance => Customize => Header Media => Enable On and Select where you want to enable the Header Media.Kind Regards,
SkandhaNovember 12, 2019 at 9:11 am #225691hr
ParticipantHi – Thank you. I was able to fix the header media issue. I don’t know about child themes without re-doing the whole site?
November 12, 2019 at 11:27 pm #225757Skandha
Keymaster@hr: Hello there,
I will guide how you can remove the text category using a child theme.
Firstly you will need to create a child theme. You can use our plugin Generate Child Theme to create a child theme. Install and Activate the plugin.
Now,
Go to => Dashboard => Generate Child Theme => Select Parent Theme as Izabel, fill the remaining fields and Click Generate. This will create and activate the child theme.Finally,
Go to => Child Theme Folder => functions.php and add the following Code.add_filter( 'get_the_archive_title', function ($title) { if ( is_category() ) { $title = single_cat_title( '', false ); } elseif ( is_tag() ) { $title = single_tag_title( '', false ); } return $title; });
Let me know if this works out!
Kind Regards,
SkandhaNovember 18, 2019 at 5:34 am #226441hr
ParticipantThanks, but installing the child theme removed all the customizations I’d made on the Izabel theme (and the code didn’t work, if I did that bit correctly).
November 18, 2019 at 5:45 am #226445Skandha
Keymaster@hr: Hello there,
You can migrate your customizer settings from your parent theme to the child theme by using our Catch Import Export plugin. For instructions follow think link and click on the Instructions tab.There was a little bug with the code I provided you above.
Please Go to => Child Theme Folder => functions.php and add the following Code.add_filter( 'get_the_archive_title', function ($title) { if ( is_category() ) { $title = single_cat_title( '', false ); } elseif ( is_tag() ) { $title = single_tag_title( '', false ); } return $title; });
Let me know if this works out!
Kind Regards,
Skandha - AuthorPosts
- You must be logged in to reply to this topic.