-
AuthorPosts
-
September 5, 2017 at 7:08 pm #848287
1) Child function.php — I am missing something setting up a functions.php for my Child theme.. Is there a step-by-step somewhere on how this is done? I want to modify the cropping and don’t want to use another plugin, but I don’t want my changes over-written when your them updates..
2) How can I change the word like “Blog”..?
September 6, 2017 at 4:22 pm #848708Hey,
1- You can download pre-built child theme here – http://kriesi.at/documentation/enfold/using-a-child-theme/
2- Could you please elaborate on which “blog” text you would like to change? :)Best regards,
YigitSeptember 6, 2017 at 7:52 pm #848820Elaborating…
When you hit a “blog” category you get the title of the category preceded by the word “blog”… I’d like that to change this to something other than the word “blog”.. i.e.: News – Category Name
Functions:
When I copy the functions I want to change they are ignored or they break the site and pit back a white page of death.. No joy.
- This reply was modified 7 years, 2 months ago by opusuno.
September 7, 2017 at 12:06 pm #849078Hi opusuno,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaSeptember 7, 2017 at 3:32 pm #849134No link. Local server. I can’t be more clear. The word BLOG with a dash to the left of the category name appears when you link/list a category. I want to change the word BLOG.
September 9, 2017 at 11:14 am #849916Hi,
To change the word “Blog” to another word such as “News” in the top left of your posts pages try adding this code to the end of your functions.php file in Appearance > Editor:add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ($args['title'] == 'Blog') { $args['title'] = "News"; $args['link'] = get_permalink($id); } return $args; }
Before:
After:
I’m not sure if this is the solution your looking for because you said that when you click on a category you see “Blog – [category]” and on my demo I see “Archive for category: [category]”
If this was not the right solution please see our 2017 Demo and link to the page you meant.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.