RRZE-Webteam/rrze-elements

custom-news does not work as it used to

Closed this issue · 2 comments

Since the update, custom-news behaves strangely:

  • Date and category are shown twice.
  • the hide attribute does not work properly, for instance [custom-news cat="News" hide="category,date" num="5"] does not hide the category at all and hides the date only at the second appearance.

Fehler in FAU-Einrichtungen: Bedingungen in /functions/template-functions.php > fau_display_news_teaser() schließen sich nicht aus.

Im Dev/Beta vom Theme gefixt. Ggf. damit die mods aus dem Customizer die Paameter nicht überschreiben bitte beim Funktionsaufruf aus dem Plugin noch ein "true" am Ende ergänzen:
fau_display_news_teaser($id = 0, $withdate = false, $hstart = 2, $hidemeta = true, $overwrite_thememods = false)