• Where would i add the <?php the_meta(); ?>tag so that i could add custom fields set yp at the bottom of the post above the author shortcode?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @andrew40,

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

    First of all you have to create child theme of Travelify theme and then add that meta tag code in the child theme file where you want to display it.

    I am not sure what you meant by “custom fields set yp at the bottom of the post above the author shortcode”.

    Best Regards,
    Vinod Dalvi

    Thread Starter Andrew Wilkinson

    (@andrew40)

    Thank you, I have already done this.

    I am assuming you are meaning me to place it within the functions.php file and in the single-post and achieve loop?

    I have managed to create the custom fields on the post at the bottom.

    In the codex it uses this style to style them:

    .post-meta {font-variant: small-caps; color: maroon; }
    .post-meta-key {color: green; font-weight: bold; font-size: 110%; }

    which i have added to stylesheet in child theme. Unfortunately it has no effect is this over ridden somewhere?

    I am assuming you are meaning me to place it within the functions.php file and in the single-post and achieve loop?

    Yes

    which i have added to stylesheet in child theme. Unfortunately it has no effect is this over ridden somewhere?

    Could you please share me the page URL from your site where it is displaying so that i can troubleshoot it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom fields’ is closed to new replies.