admin管理员组

文章数量:1419168

I add this code on my website

[display-posts image_size="thumbnail" wrapper="div" 
    wrapper_class="display-posts-listing grid" meta_key="_thumbnail_id" 
    display-post category="<code>αρχείο-εκδηλώσεων</code>" posts_per_page="20" 
    display-posts include_excerpt="true" excerpt_length="15" 
    excerpt_more="Διαβάστε Περισσότερα" excerpt_more_link="true" ]

is it possible to put etc 20 posts and then the 21st post will be added on a second page ?

I add this code on my website

[display-posts image_size="thumbnail" wrapper="div" 
    wrapper_class="display-posts-listing grid" meta_key="_thumbnail_id" 
    display-post category="<code>αρχείο-εκδηλώσεων</code>" posts_per_page="20" 
    display-posts include_excerpt="true" excerpt_length="15" 
    excerpt_more="Διαβάστε Περισσότερα" excerpt_more_link="true" ]

is it possible to put etc 20 posts and then the 21st post will be added on a second page ?

Share Improve this question edited Jul 22, 2019 at 8:41 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Jul 19, 2019 at 17:40 user3668903user3668903 1 2
  • 2 Since this shortcode comes from a third-party plugin you would need to contact the plugin author to determine whether this is possible. – WebElaine Commented Jul 19, 2019 at 21:21
  • Otherwise I can do this in a different way? – user3668903 Commented Jul 20, 2019 at 23:53
Add a comment  | 

2 Answers 2

Reset to default 0

I don't know about the shortcode above but in regular WordPress, you can control the number of posts on your blog page under Settings > Reading.

i know that but i want to add when on the first page that is maxed like 20 posts anyone can press like N.2 to go to the second page that will be olders posts like this

本文标签: shortcodeHow to set up posts per page on WP