Forums

Formatting meta data/custom fields? (3 posts)

  1. whyzoom
    Member
    Posted 2 years ago #

    I have added some custom fields/meta data to some of my blog posts.

    I need to include that data in two areas of my site, but need it displayed differently in each instance.

    So for example, I have the following additional fields added in the custom fields section for a post;

    Box cover
    Watch Online
    Buy DVD

    Now, I used the <?php the_meta(); ?> code in my home page's template, and it all looks good. I have a small thumb-nail (Box cover), then under that I have the link for "watch Online", and under that the link for "Buy DVD". So everything there is pretty much perfect.

    Now, when I include the same code (<?php the_meta(); ?>) in my actual blog post template, I do not want the thumbnail showing up, just the two text links.

    Is there a way to format this with each place I want that data to appear?

    Thanks all!

  2. songdogtech
    Member
    Posted 2 years ago #

    You can pull just the custom fields you want, or all of them: Custom Fields « WordPress Codex

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic