Display published articles

  • Posted in : Read WP
  • Clem
    Participant

    Hello,

    I have created a page to display my articles (not homepage).
    I want this page to only display 4 articles and then show a button to go to another page where there is the list of all published articles.

    1 | How can I limit to 4 articles on this page ?
    2 | How can I add the button ?
    3 | How can I display the list of all published articles ?

    Thanks

    Clémence

    Clem
    Participant

    To complete my previous message :

    For point 3 |
    => I have created the page to display the list for all articles. However, there is a limit up to 100 articles.

    3.a | How can I extend this limit ?
    3.b | How can I increase the space between titles of articles
    3.c | Titles are links to the full post. But just for these links, I do not want them to be with color. The colors should appeared only on hover. How can I add a line under the title and delete the color ?

    serkan
    Moderator

    Hi,
    You can check out this related topic;
    https://wordpress.org/support/topic/possible-to-display-more-than-100-posts-on-post-and-page-grid-block/
    Also, for your other request, can you provide me your related url, please?
    Thanks

    Clem
    Participant

    Hi,

    Please find below related urls :

    https://www.clemenceb.com/articles/
    1 | How can I limit to 4 articles on this page ?
    2 | How can I add the button ?
    For this page, I want to display only 4 articles and no more, i.e I do not want pagination just a button to link to the page related to question 3

    https://www.clemenceb.com/listes-des-textes/
    3.b | How can I increase the space between titles of articles
    3.c | Titles are links to the full post. But just for these links, I do not want them to be with color. The colors should appeared only on hover. How can I add a line under the title and delete the color ?

    Thanks

    serkan
    Moderator

    Hi,
    I just checked your first url. I saw that it is limited to 4 post and I saw a pagination button. But extra button is not available by default, needs more further customizations, if you are not familiar to coding you may consider hiring an expert at wpkraken.io to do the job for you.

    You can use this custom css code for increasing the space between titles of articles.
    .wp-block-latest-posts li { margin: 1em 0; }

    You can use this custom css code for the last request.

    .wp-block-latest-posts li a { color: #000; }
    .wp-block-latest-posts li a:hover { color: #ff0000; }

    Thanks

    Clem
    Participant

    Thanks
    I have amended my site with the css code provided.
    Will do some coding for the first request
    Thanks.

    serkan
    Moderator

    Thanks for the feedback.

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

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

License required for the following item
Login and Registration Log in · Register