• Resolved Himanshu

    (@himanshuhunk09)


    <?php echo get_post_meta($post->ID, ‘ID:’, true); ?>
    <?php echo get_post_meta($post->ID, ‘Format:’, true); ?>
    <?php echo get_post_meta($post->ID, ‘Pages:’, true); ?>

    this is my code to display my custom field
    but I don’t know where to put this code.
    please help

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Mat

    (@mateithemeisle)

    Hello @himanshuhunk09,

    Thanks for checking out our product!

    I really appreciate you taking the time to get under the hood and try to modify it. As of this time, however, helping our users with custom code isn’t a perfect fit for us.

    We do have some exciting products on our plate and should anything about the way a product works goes wrong, we are here to help you. Custom code is not one of them.

    However, you can check out our doc about adding a custom section to Hestia here https://docs.themeisle.com/article/681-how-to-add-a-custom-section-to-hestia. In order to do any custom modifications, a child theme needs to be used along with the custom code you are trying to implement.

    Also by writing on the forum there might be a member of the community that can help you out so don’t lose hope!

    Thank you and have an amazing day!

    Thread Starter Himanshu

    (@himanshuhunk09)

    I am already using a child theme
    I want to display my custom fields on the Posts page next to the author’s details in listed posts.
    hope you understand what I’m trying to explain.

    I already have done it in Magazinenp theme you can check it out [ link above ] ( ID:, Pages:, Format:) all these three are custom fields and display on Posts page successfully.
    Basically in Magazinenp theme I add the code in the
    templates-parts
    .parts
    .entry-meta.php
    In comment div

    and it works fine.

    [ Please do not bump. ]

    • This reply was modified 3 years, 8 months ago by Himanshu.

    Hi, himanshuhunk09, I’m another user of the Hestia theme.

    What section are you specifically referencing on the page?

    Thread Starter Himanshu

    (@himanshuhunk09)

    hi @plantprogrammer
    I am referencing here the Post page which shows all the latest Post.

    Thread Starter Himanshu

    (@himanshuhunk09)

    Hi @mateithemeisle

    I am already using a child theme
    I want to display my custom fields on the Posts page next to the author’s details in listed posts.
    hope you understand what I’m trying to explain.
    
    I already have done it in Magazinenp theme ( ID:, Pages:, Format:) all these three are custom fields and display on Posts page successfully.
    Basically in the Magazinenp theme, I add the code in the
    templates-parts
    .parts
    .entry-meta.php
    In comment div
    
    and it works fine.
    • This reply was modified 3 years, 5 months ago by Himanshu.

    Hi @himanshuhunk09!

    As Mat mentioned above, this would involve a level of customization that we do not provide. However, other members of the community may be able to help you.

    Thank you for understanding!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to display custom fields in hestia theme’ is closed to new replies.