[Support request] get_post_class returns some custom classes??

Home Forums Support [Support request] get_post_class returns some custom classes??

Home Forums Support get_post_class returns some custom classes??

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #856389
    Marco

    hello
    In some custom markup I’d like to add the “standard” classes to a post – however, I’m getting the following classes using get_post_class:
    `Array
    (
    [0] => 71
    [1] => post-71
    [2] => post
    [3] => type-post
    [4] => status-publish
    [5] => format-standard
    [6] => has-post-thumbnail
    [7] => hentry
    [8] => category-usa-2009
    [9] => tag-parks
    [10] => tag-utah
    [11] => generate-columns
    [12] => tablet-grid-50
    [13] => mobile-grid-100
    [14] => grid-parent
    [15] => grid-33
    )’

    I’m ok with all the classes until [10] – is there a filter to remove the custom added GP classes?

    #857045
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Those are added when you turn on columns in Customize > Layout > Blog. If you disable columns, they will go away.

    Let me know if you need more info 🙂

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