[Resolved] Change location entry meta for post list

Home Forums Support [Resolved] Change location entry meta for post list

Home Forums Support Change location entry meta for post list

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #921449
    Nguyen

    Hello, I want to change categories, tags, comments behind the author. How can I change it?
    [img]https://i.imgur.com/TU504UJ.jpg[/img]

    #921793
    Leo
    Staff
    Customer Support

    Hi there,

    We’ve actually made this very easy in the next version of the free theme which is currently in alpha.

    Checkout the Better Post Meta Order section:
    https://generatepress.com/generatepress-2-3/

    Are you able to test that out?

    Let me know ๐Ÿ™‚

    #921813
    Nguyen

    Awesome! I will try it. I hope this version will release soon.

    #921816
    Leo
    Staff
    Customer Support

    We hope so too ๐Ÿ™‚

    #927086
    ocan

    Hi there

    I had the same issue so I did what you said. It worked but with some problems you maybe can help me with:

    • The icons before the category name and tag name are not displayed (And I would like them to be)
    • The categories and tags are still displayed at the bottom of the post / archive (and I wish they wont)

    [img]https://i.imgur.com/nOHqCa9.jpg[/img]

    These issues occur in both archive and post

    Any idea how to fix this?

    NOTES:
    I added tags in your suggested code as I only need Categories and tags displayed. It is worth noting that if you keep the date and author in the code, category and tags wont show up if you decide not to activate date or author on the customized layout. So if you only want categories and tags displayed code should be:

    
    add_filter( 'generate_header_entry_meta_items', function() {
        return array(
            'categories',
    		'tags',
        );
    } );
    

    PS: I never learned PHP so if I make a mistake that can do harm to others Generatepress fellow users please correct me

    #927189
    Leo
    Staff
    Customer Support

    Please open a new topic for your question.

    Thanks!

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