Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function homeintroone() {
- global $post;
- if (is_page('12253')) {?>
- <div id="homeintro">
- <div id="homeintrobox">
- <div id="imagebox"><img src="<?php echo get_post_meta($post->ID, 'introphoto', true); ?>"/></div>
- <div id="introtextbox"><h2><?php echo get_post_meta($post->ID, 'introheading', true); ?></h2>
- <p><?php echo get_post_meta($post->ID, 'introtext', true); ?></p>
- <div id="btnlink"><a href="<?php echo get_post_meta($post->ID, 'introreadmorelink', true); ?>"></a></div></div></div>
- <?php
- }
- }
- add_action('thesis_hook_before_content_box', 'homeintroone');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement