Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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”..?

    #848708

    Hey,

    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,
    Yigit

    #848820

    Elaborating…

    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, 3 months ago by opusuno.
    #849078

    Hi opusuno,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #849134

    No 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.

    #849916

    Hi,
    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:
    2017-09-09_050149
    After:
    2017-09-09_050303
    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]”
    2017-09-09_050924
    If this was not the right solution please see our 2017 Demo and link to the page you meant.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.