/** * Retrieve the slideshow meta data. * * @return void */ private function retrieveMetaData() { $this->_meta = thb_get_post_meta_all($this->_id); }
<?php /** * @package WordPress * @subpackage BigFoot * @since BigFoot 1.0 */ $thb_page_id = get_the_ID(); $meta = thb_get_post_meta_all($thb_page_id); extract($meta); $subtitle = get_the_date(); get_header(); ?> <!-- Page header --> <?php if (thb_get_post_meta($thb_page_id, 'pageheader_disable') == 0) { ?> <header class="pageheader"> <h1><?php the_title(); ?> </h1> <?php if (thb_get_post_format() == 'link') { ?> <a class="linkurl" href="<?php echo $link_url; ?> " title="<?php the_title();
<?php $post_id = get_the_ID(); $post_layout = thb_get_post_meta($post_id, 'single_layout'); $meta = thb_get_post_meta_all($post_id); extract($meta); ?> <header class="item-header" data-icon="<?php thb_get_post_icon(get_the_ID()); ?> "> <h1> <a href="<?php the_permalink(); ?> " rel="permalink"> <?php echo $quote; ?> </a> </h1> <?php if (!empty($quote_author)) { ?> <cite> <?php if (!empty($quote_url)) { ?> <a href="<?php
function thb_get_post_meta($post_id, $key = null) { if ($key) { return get_post_meta($post_id, THB_META_KEY . $key, true); } return thb_get_post_meta_all($post_id); }
<?php $meta = thb_get_post_meta_all(get_the_ID()); extract($meta); ?> <div class="item-wrapper" data-icon="<?php thb_get_post_icon(get_the_ID()); ?> "> <header class="item-header"> <h1> <a href="<?php the_permalink(); ?> " rel="permalink"> <?php echo $quote; ?> </a> </h1> <?php if (!empty($quote_author)) { ?> <cite> <?php if (!empty($quote_url)) { ?> <a href="<?php echo $quote_url;