• Resolved chesseri

    (@chesseri)


    I would like to customize the showing of meta-tags like author and date for different categories. I want to make up pages with content that doesn’t change often and they are used for information. I intend to organize that by using categories. So I want the date to be shown on the news-page but not on other pages and entries.
    When I disable the date using the customizer it is gone in all the entries. When I add CSS to disable it on the magazine overview it is there in the blog-entry. Using Magazine Blocks the date is gone in the overview but is still shown with the entry.
    I tried using a plug-in but then there is still the “veröffentlicht am” phrase.
    Can anyone help, please?

    Ich möchte die Anzeige von Meta-Daten wie Autor oder Datum für jede Kategorie einstellen.
    Die Inhalte und Seiten, die sich kaum ändern und zur Information dienen sollen auch als Beiträge einer Kategorie organisiert werden, aber hier ist das Datum oder der Autor nicht relevant.
    Im Theme gibt es im Customizer nur die Möglichkeit, das Datum für alle Beiträge auszublenden.
    Ich habe es mit einem Plug-in versucht, doch dann bleibt immer noch”veröffentlicht am” stehen. Mit CSS funktioniert es nur für die Übersicht oder alle einzelnen Beiträge. Auch mit Magazine Blocks betrifft es nur die Übersicht, aber nicht die Beitragsansicht.
    Was könnte ich noch probieren?

Viewing 1 replies (of 1 total)
  • Theme Author ThemeZee

    (@themezee)

    Hallo,

    Vielen Dank für die Nutzung von Merlin.

    Bestimmte Kategorien können mit der CSS-Klasse .category-*slug* gezielt angesprochen werden, z.B. .category-news, .category-allgemein, .category-events

    Damit lassen sich dann die Beitragsinformationen ausblenden:

    .category-news .entry-meta,
    .category-allgemein .entry-meta,
    .category-events .entry-meta {
        display: none;
    }

    Der CSS-Schnipsel muss nach geünschten Kategorien angepasst werden.

    Viele Grüße,
    Thomas

    • This reply was modified 3 years, 8 months ago by ThemeZee.
    • This reply was modified 3 years, 8 months ago by ThemeZee.
Viewing 1 replies (of 1 total)
  • The topic ‘Showing/Disabling Meta (author, data) for categories’ is closed to new replies.