How to customize blog loop post meta ?

Asked on September 9, 2015 in Customization.

Hello.
I want to customize post meta from blog loop and blog single.
how can i do this?
thanks

olziinaa Layers User
Reply
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on September 10, 2015.

    Hi there,

    I am not sure if you mean customize the output of the function, or the styling.

    To change the meta output, you can filter layers_post_meta() or you can use one of the hooks in the given template to replace the meta with your own function/HTML as demonstrated in layers_after_single_title_meta

    Install the free Simply Show Hooks plugin to see all the hooks in their locations (linked from the sidebar in the above posts) or browse the reference linked above by location.

    To change how the meta LOOKS you just need to grab the selector using your browser inspector

    For example, to make the meta below posts in the blog sit on one line instead of stack, you would add this to your DevKit panel or Custom CSS in the Customizer:

    
    .meta-item {
    
    display: inline-block;
    
    margin-top: 2px;
    
    margin-right: 5px;
    
    }
    
    

    oh, this is a very global topic, what is happening on the streets and in supermarkets is something unrealistic, and even more so for America
    everyone is sitting at home and afraid to go out, it’s just horror, people have a panic, for that people study more and order essays for their colleges on the site https://paramountessays.com/college-essay-editing

    on May 13, 2020.

    Education, apart from the academic topics, teaches virtually, much of the values of the human being to make mba admission essay writing service him ethically sound as well. One of these lessons is discipline. It requires discipline at every stage of the process to inculcate it strongly into the students.

    on November 24, 2020.

    Is this the image of court? Because, I never see any court which is quite small in size like one which is located in Axbridge. Why people with Cleaning service don’t like to post information about that place or image which they shared?

    on January 4, 2021.
    Reply