Return to Support

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

Home Forums Franz Josef Support how to change "LATEST ARTICLES" in front page section; how to remove front page section co

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10061
    hanghang2015
    Member

    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

    #45261
    hanghang2015
    Member

    in Franz Josef theme

    #45262
    Syahir Hakim
    Keymaster

    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.

    #45263
    hanghang2015
    Member

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

    #45264
    Syahir Hakim
    Keymaster

    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.