[Support request] Feature request: .entry-content class filter

Home Forums Support Feature request: .entry-content class filter

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1148078


    topic says it all.
    A filter to change the .enty-content class would be nice.
    Sometimes I need to add classes to certain post types and I don’t want to add child theme files just for that reason πŸ˜›

    .inside-article, .entry-header filter would be cool, too.

    suggestion: ‘generate_entry_content_class’ πŸ™‚

    Or does anything speak against it?


    Customer Support

    Hi there,

    I feel like we would need to add a filter to every single class if we were going with that route.

    Couldn’t you just target that certain post type using the unique class in the <body> tag?


    Yeah, that would be a possible solution – ofc!

    But if I saw it right, these classes are the only that havn’t any filter.
    The parent-divs are already filterable! πŸ˜€

    so why not follow a consistent path and make all available classes customizable?

    Customer Support

    Hmm no most <div> throughout the theme doesn’t have a filter to allow you to add more classes.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.