how to change "LATEST ARTICLES" in front page section; how to remove front page section co

  • hanghang2015

    #10061

    Hello,

    Just wondering how do I change LATEST ARTICLES title to other text in the front page section and how can I just have the silver without the front page section.

    Thanks

    Bo

    hanghang2015

    #45261

    in Franz Josef theme

    Admin

    Syahir Hakim

    #45262

    Currently you can only change the text if you’re using a child theme for Franz Josef. Let us know if you’re already using one.

    hanghang2015

    #45263

    yeah, just installed a child theme for franz josef theme, where do i go from there? thank you syahir

    Admin

    Syahir Hakim

    #45264

    Create a functions.php file in your child theme, then add this code into that file:

    <?php
    /**
    * Modify the posts stack heading
    */
    function fjd_stack_args( $args, $stack ) {
    if ( is_front_page() && $stack == 'posts' ) {
    $args['title'] = 'Premium Features';
    }

    return $args;
    }
    add_filter( 'franz_stack_args', 'fjd_stack_args', 10, 2 );

    Modify the title as necessary in the above code.

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

You must be logged in to reply to this topic.