Skip to main content

With the media element you can display icons or images beside the text, without having a break in the text around the picture. Further information here.

The shortcode consists of three parts. Firstly there is the tag media around the complete code. Then there is the media_object, which contains the image or the icon and finally the media_body. Only the media_object has attributes.

Code

[media]
[media_object style="left" aligned="top"]<img src="http://placehold.it/150x150" alt="" />[/media_object]
[media_body]Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.[/media_body]
[/media]

Attribute

NameContentDefault valueMeaning
styleleft, rightleftDefines the orientation, whether the element is hanging on the right or the left.
alignedtop, middle, bottomDefines the orientation, whether the element is hanging on the right or the left.

Was this article helpful?

1 Star2 Stars3 Stars4 Stars5 Stars
1.00 / 5

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