Skip to main content

With this shortcode you have the option to present a certain number of posts from your blog on your page.

Code

[blogposts orderby="date" order="DESC" limit="4" layout="small"]

Attribute blogposts

Name Content Dafault value Meaning
orderby ID, author, title, name, date, modified, rand, comment_count, menu_order date Sorting of the products. An extensive documention can be found in the WordPress Codex.
order various DESC Order of the sorting.
Here it is defined, how the sorting should operate (ascending/descending)
asc Sorts the products by ascending (z => a // 1 => 999)
desc Sorts the products by descending.
limit Number 4 Sets the limit on how many entries should be displayed.
layout various small Display of the entries
small Display of the entries as thumbnail-list (Left article image / right meta + (extract))
large Big article image over complete width, content is presented below.
list Simple list
category_name various Name of the desired categorie.
If posts/entries shall be displayed in a certain category, this category can be specified here. Please specify the slug of the category.

Further parameters are found here.


Was this article helpful?

1 Star2 Stars3 Stars4 Stars5 Stars
(No Ratings Yet)

Keine Kommentare vorhanden


You have a question or an opinion about this post? Share it with us!

Your email address will not be published. Required fields are marked *

*
*

Choose your currency:

Close
Converted prices are for reference only - all orders are charged in € Euro (€) EUR.
  • USDUS Dollar ($)
  • EUREuro (€)
  • GBPPfund Sterling (£)
  • AUDAustralische Dollar ($)
  • BRLBrasilianischer Real (R$)
  • CADKanadischer Dollar ($)
  • CZKTschechische Krone
  • DKKDänische Krone
  • HKDHongkong Dollar ($)
  • HUFUngarischer Forint
  • ILSIsraelischer Schekel (₪)
  • JPYJapanischer Yen (¥)
  • MYRMalaysischer Ringgits
  • MXNMexikanischer Peso ($)
  • NZDNeuseeland Dollar ($)
  • NOKNorwegische Krone
  • PHPPhilipinischer Pesos
  • PLNPolnischer Zloty
  • SGDSingapur Dollar ($)
  • SEKSchwedische Krone
  • CHFSchweizer Franken
  • TWDTaiwan New Dollar
  • THBThai Baht (฿)
  • INRIndische Rupie (₹)
  • TRYTürkische Lira (₺)
  • RUBRussischer Rubel