New Landing How can we help? Atelier Change Portfolio Title

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Atelier
  • #321583
    anthonyjamesent
    Member
    Post count: 12

    Hi,

    I want to change “Related Projects” to “Related Ministries”.

    Does the sf-portfolio-detail.php control that text? If so, I modified that php file on line 309 and placed it here …

    /wp-content/themes/atelier-child/swift-framework/content

    … and it’s not updating on the site.

    Thanks

    #321603
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    There is a specific filter that will let us change the text. Add the code below to the functions.php of your child theme.

    add_filter( 'sf_related_projects_heading' , 'custom_related_projects');
    function custom_related_projects(){
          return 'Related Ministries';
    }

    -Rui

    #321605
    anthonyjamesent
    Member
    Post count: 12

    Thanks. So it cannot be done through the child-theme?

    #321608
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Yes it can, I told you above to paste the code in functions.php of the child theme.

    -Rui

    #321611
    David Martin – Support
    Moderator
    Post count: 20834

    Yes, paste that PHP function into your child theme functions.php file.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register