- This topic has 9 replies, 3 voices, and was last updated 4 years, 10 months ago by Skandha.
-
AuthorPosts
-
June 9, 2019 at 1:09 am #174473Jennifer SimsParticipant
Dear Support,
I’d like to change the word ‘Category’ in the heading of the archive page. Or if I can not change the word ‘category’ hide. Please advise.
Regards Jen
June 9, 2019 at 7:22 am #174489tikaramKeymaster@jennifersimsdesign-com-au: The word can be changed but you will need to create a child theme and do the customization within the child theme. If you are comfortable to work with child themes let me know I can guide you through the process. Let me know the word you would like to use instead of category.
Regards,
TikaramJune 9, 2019 at 10:38 pm #174516Jennifer SimsParticipantthanks Tikaram,
I’ve created a child theme and ready to add in the CSS details, the word I’d like instead of category is:
SectionFor example
Section: Office Notes
Archive for Section: Office Notes
Thank you.
Regards Jen
June 11, 2019 at 12:47 am #174644SkandhaParticipant@jennifersimsdesign-com-au: Hello Jen,
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( 'Section: ', false ); } elseif ( is_tag() ) { $title = single_tag_title( '', false ); } return $title; });
This should remove the Category text.
Let me know if this works out!
Kind Regards,
SkandhaJune 11, 2019 at 3:13 am #174666Jennifer SimsParticipantThank you Skandha,
Looks perfect!
Great work and thank you.
June 11, 2019 at 3:38 am #174669SkandhaParticipant@jennifersimsdesign-com-au: Hello Jennifer, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
https://wordpress.org/support/theme/solid-construction/reviews/#new-post
Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂Kind Regards,
SkandhaJune 12, 2019 at 5:45 am #174767Jennifer SimsParticipantCertainly I can leave a five star!
One quick question is it possible to have the main menu background deeper in height?
June 13, 2019 at 2:11 am #174865SkandhaParticipant@jennifersimsdesign-com-au: Hello Jenifer,
Do you mean to increase the height of the main menu container? Please post in your site URL as well.Kind Regards,
SkandhaJune 14, 2019 at 10:30 am #175006Jennifer SimsParticipantYes I mean the main menu container
June 16, 2019 at 12:19 am #175064SkandhaParticipant@jennifersimsdesign-com-au: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.
#header-navigation-area .wrapper { height:100px; } .navigation-classic .layout-two .main-navigation li:first-child a, .menu-toggle { line-height:100px; }
Let me know if this works out!
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Change wording of Category in archive section’ is closed to new replies.