[resolved] Adding post formats to posts with meta boxes (1 post)

  1. Noel Forte
    Posted 3 years ago #

    Quick question: I want to set up something similar to sticky posts where I have a custom meta box so that if a post includes a video, I can indicate whether the video is HD or not. With stick posts, when you make a post sticky, I know that WordPress uses:

    <?php if ( is_sticky() ) : ?>
    //Conditional HTML Code
    <?php endif; ?>

    to add a post_format h3 tag onto posts in the archive page, so that they display a small title that says "Featured Post". I want to add a similar post format title to posts that contain HD videos. How could I call something like if ( custom_meta_box ('HD') ) : ?

    Any help would be appreciated.


Topic Closed

This topic has been closed to new replies.

About this Topic