JGU-Magazin

Was made to use with Template → Spaltenlos.

This Plugin offers:

  • An image next to
  • a teaser with links to the main article

Usage

The shortcode "jgu_magazin" has the following parameters:

 

  1. no_headline:
    Remove the title "Magazin" with no_headline!
    Example:
    [jgu_magazin no_headline="yes"]
    Default is on.
  2. category:
    Set the small heading
    Example:
    [jgu_magazin category="Small grey Heading"]
  3. title:
    This is the second title in red
    Example:
    [jgu_magazin title="second title in red "]
  4. date:
    This is the date under the red heading. May be left out.
    Example:
    [jgu_magazin date="04.02.2017"]
  5. excerpt:
    Italic teaser text next to the image.
    Example:
    [jgu_magazin excerpt="Italic teaser text next to the image."]
  6. 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"]
  7. url_article:
    URL to the main article, otherwise the "Read more" links to the own page.
    Example:
    [jgu_magazin url_article="http://fqdn"]
  8. target:
    Link in url_article opens in new Tab or window.
    Only value is: blank
    Example:
    [jgu_magazin target="blank"]
  9. url_magazin:
    Link to the Article List (the Magazine) (Standard ZUM JGU MAGAZIN).
    Example:
    [jgu_magazin url_magazin="http://fqdn"]
  10. no_url_magazin:
    Remove ZUM JGU MAGAZIN with no_url_magazin set to yes
    Example:
    [jgu_magazin no_url_magazin="yes"]
  11. 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"]