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.
The topic ‘[Resolved] Adding post formats to posts with meta boxes’ is closed to new replies.