Was made to use with Template → Spaltenlos.
This Plugin offers:
- An image next to
- a teaser with links to the main article
Contents
Usage
The shortcode "jgu_magazin" has the following parameters:
- no_headline:
Remove the title "Magazin" with no_headline!
Example:
[jgu_magazin no_headline="yes"]
Default is on. - category:
Set the small heading
Example:
[jgu_magazin category="Small grey Heading"]
- title:
This is the second title in red
Example:
[jgu_magazin title="second title in red "]
- date:
This is the date under the red heading. May be left out.
Example:
[jgu_magazin date="04.02.2017"]
- excerpt:
Italic teaser text next to the image.
Example:
[jgu_magazin excerpt="Italic teaser text next to the image."]
- url_image:
Left handed image, necessary for the correct rendering of the plugin. Content is the URL of the image. The image height should not exceed 300px.
Example:
[jgu_magazin url_image="http://fqdn/bild.jpg"]
- url_article:
URL to the main article, otherwise the "Read more" links to the own page.
Example:
[jgu_magazin url_article="http://fqdn"]
- target:
Link in url_article opens in new Tab or window.
Only value is: blank
Example:
[jgu_magazin target="blank"]
- url_magazin:
Link to the Article List (the Magazine) (Standard ZUM JGU MAGAZIN).
Example:
[jgu_magazin url_magazin="http://fqdn"]
- no_url_magazin:
Remove ZUM JGU MAGAZIN with no_url_magazin set to yes
Example:
[jgu_magazin no_url_magazin="yes"]
- no_border_bottom:
Remove the horizontal line below the magazine element by setting no_border_bottom to yes
Example:
[jgu_magazin no_border_bottom="yes"]
Caution: do not add spaces or blank lines. Write the parameters one after the other.
Example for a simple start
Change to Text modus before inserting this example!
[jgu_magazin no_headline="" category="Kleine graue oberste Zeile" title="Große rote Überschrift" date="04.02.2017" excerpt="Der kursive Text neben dem Bild" url_image="http://www.blogs.uni-mainz.de/wp-content/uploads/2014/12/08-DSCN4402-300x225.jpg" url_article="http://mein.uni-mainz.de" url_magazin="http://mein.uni-mainz.de"]