• Hello,

    I’m currently working on my new website and this is my first time with wordpress.

    I have a static front page and want to show the 10 latest articles at the end of the welcoming text. I have tried several plugins which allow to show grids or lists. The current one doest the job (included via shortcode), but the CSS updates every time I update the content of the page, which is obivously a problem.

    I really like the category page the way it is at the moment :
    https://labo-moto.fr/category/prepas

    I’m wondering : is there a way to include the content as it is shown in the category page, at the bottom of my front page ?
    Like, replace the current latest posts on the front page with the “left/right” excerpt presentation ?

    I don’t know if I’m really clear, also please excuse me if there are english mistakes this isn’t my first language

    Thanks a lot

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    On the home page your article showing the whole content, you can set it as exerts of that article that should resolve your problem.

    If you wish to show 10 latest posts as you mentioned you can do that too with the help of a little bit of code.

    If you are using any of the page builders of WordPress these options are available.

    I hope this answer will be helpful to you.

    Thank You

    Thread Starter addesign91

    (@addesign91)

    Hello,

    Thanks for your answer
    But I’m afraid I don’t understand

    In the page builder I can indeed choose between a static front page or showing the excerpts of the latest posts.
    In fact, what I would like to have is a mix between these two : keep my static front page (which allows me to have a welcoming text), then include the latest posts at the bottom of this static page, the same way they are appearing on the category page

    I tried with a bit of code but I’m far from being an expert
    I first added an include – content-page in the source code of my front page, but it didn’t load the excerpts

    I guess the question could be asked this way : how and where can I find the bit of code that allows the theme to load the excerpts on the category page like this : https://labo-moto.fr/category/prepas
    So I can add it to my front page

    • This reply was modified 3 years, 9 months ago by addesign91.
    • This reply was modified 3 years, 9 months ago by addesign91.

    There is function the_excerpt() for more you view this page

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Include archive page’ is closed to new replies.