Display custom fields in post meta on homepage

Hi !

I have a plugin to add custom fields to posts (like ‘price’, ‘duration’, etc).

I would like to display those fields in lieu of the current meta information (date, author, category)

I just can’t find out in wich file the content of the meta infos (date, author, category) is defined.

Hi @barbidule,

I hope you are well today and thank you for your question.

You can change it by overwriting the functions travelify_theloop_for_archive and travelify_theloop_for_single in your child theme for archive posts listings page and single post page respectively.

You will find these functions in the following travelify theme file.


Best Regards,

Did it, and I also changed the icons using Dashicons | WordPress Developer Resources


You are most welcome here :slight_smile: