Home page : recent articles ?

This topic is: Not resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 8 replies, has 2 voices, and was last updated by  Max 1 year, 3 months ago.

  • Author
    Posts
  • #11151

    LaPlumeTrotteuse
    Member
    Post count: 4

    Hi,

    I have a problem, I can’t find a way to have my most recent articles in the home page.

    Only a message appears like “Nothing found”.

    On my settings, in the “reading” options, I chose recent articles for the home page. But it seems that it doesnt work or I can’t find the way to make it work.

    Can you help me please ? It confuses me a lot !

    Thank you very much !

    Sophie

  • #11160

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #11167

    LaPlumeTrotteuse
    Member
    Post count: 4

    sorry I am new on web matters, so I don’t understand …

    where do I have to copy past this code “add_filter( ‘yt_exclude_featured_post_ids’, ‘__return_false’ );”

    I found the document called “custom-functions.php” … Where do I have to put the code ?

    And then do I have to copy past this document in Filezilla ?

    Sorry it’s difficult to understand for beginners… I try my best ๐Ÿ™‚

    Thank you so much

  • #11172

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #11173

    LaPlumeTrotteuse
    Member
    Post count: 4

    Well I have just seen that if I can’t make it with this code, I still can remove the hero banner and then I can have my recent posts in the main part of the home page.

    But if I choose to keep hero banner, what kind of static page am I suppose to use as a home page ? My “about” page ? or some general news ? do you have some advice ? Thank you so much ๐Ÿ™‚

    (I would still prefere to manage it with the code… )

  • #11175

    LaPlumeTrotteuse
    Member
    Post count: 4

    Sorry I am maybe stupid… I can’t find it. I am using the child theme.

    I have found Menu Apparence –> Editor and the custom-functions.php on the right.

    When I open it where do I have to put your code… ?

    Do I have to borrow everything and put the code instead ? I am afraid to do something wrong…

    I have done this but it is not that I guess :

    add_filter( ‘yt_exclude_featured_post_ids’, ‘__return_false’ );
    <?php
    /**********************************************************************************************************
    * __ _______ _ _ _ _____ _ _ _____ __ __ _____ ____ ____ ___ __ __
    * \ \ / / ____| / \ | | | |_ _| | | | ____| \/ | ____/ ___| / ___/ _ \| \/ |
    * \ V /| _| / _ \ | |_| | | | | |_| | _| | |\/| | _| \___ \ | | | | | | |\/| |
    * | | | |___ / ___ \| _ | | | | _ | |___| | | | |___ ___) | _ | |__| |_| | | | |
    * |_| |_____/_/ \_\_| |_| |_| |_| |_|_____|_| |_|_____|____/ (_) \____\___/|_| |_|
    *
    * custom functions for the child theme
    **********************************************************************************************************/

  • #11176

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #11178

    LaPlumeTrotteuse
    Member
    Post count: 4

    Oh thank you I feel so stupid now hahaha thank you you made my day ๐Ÿ™‚

    hard to be a beginner ๐Ÿ™‚ and even more a french beginner haha ๐Ÿ™‚

    good bye

    Sophie

  • #11180

    Max
    Staff
    Post count: 3150

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!