Home › Forums › Storm WordPress › show captions on a new template?
- This topic has 5 replies, 2 voices, and was last updated 10 years, 2 months ago by Ally.
- AuthorPosts
- October 28, 2014 at 7:01 pm #12885aisforabigailParticipant
Hi!
I’ve made an additional page template for my site. All works great, except the feature for “show captions’ on my background images. How would I add that?
My template code is below.
Thank you in advance!
–
AB<?php
/*
* Template Name: Show Page
*//**
* Template for SHOW PAGES *
* @package Storm
* @since Storm 1.1
* @see content-page.php
*/
?><!DOCTYPE html>
<!–[if IE 6]>
<html id=”ie6″ <?php language_attributes(); ?> class=”no-js”>
<![endif]–>
<!–[if IE 7]>
<html id=”ie7″ <?php language_attributes(); ?> class=”no-js”>
<![endif]–>
<!–[if IE 8]>
<html id=”ie8″ <?php language_attributes(); ?> class=”no-js”>
<![endif]–>
<!–[if !(IE 6) | !(IE 7) | !(IE 8) ]><!–>
<html <?php language_attributes(); ?> class=”no-js”>
<!–<![endif]–>
<head>
<script type=”text/javascript”>with(document.documentElement){className=className.replace(/\bno-js\b/,’js’);}</script>
<meta charset=”<?php bloginfo(‘charset’); ?>” />
<meta name=”viewport” content=”width=1000, user-scalable=yes, target-densitydpi=device-dpi”/>
<title><?php wp_title(‘|’, true, ‘right’) . bloginfo(‘name’); ?></title>
<link rel=”profile” href=”http://gmpg.org/xfn/11″ />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<link rel=”stylesheet” href=”<?php echo TCR_URL; ?>/style.css” type=”text/css” media=”all” />
<?php tcr_head(); ?>
<?php wp_head(); ?>
</head>
<body id=”top” <?php body_class(); ?>>
<?php tcr_body_start(); ?><div id=”outside”>
<?php tcr_before_header(); ?>
<div id=”header-outer” class=”clearfix”>
<div id=”header-inner”><?php tcr_header(); ?>
</div><!– #header-inner –>
</div><!– #header-outer –><div class=”showcontent-outer clearfix”>
<div class=”showcontent-inner”><?php tcr_before_content(); ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part(‘content’, ‘page’); ?>
<?php endwhile; ?>
<?php tcr_after_content(); ?>
</div><!– .showcontent-inner –>
</div><!– .showcontent-outer –><?php tcr_before_footer(); ?>
<!– Begin Footer –>
<!– <div id=”footer”>
<div class=”footer-inside clearfix”>
<?php tcr_footer(); ?>
</div>
</div>
</div>
<?php tcr_after_footer(); ?></div><!– #outside –>
<?php wp_footer(); ?>
<?php tcr_body_end(); ?>
</body>
</html>October 29, 2014 at 4:08 pm #12894AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- This reply was modified 10 years, 2 months ago by Ally.
October 29, 2014 at 4:08 pm #12896aisforabigailParticipantThank you for the speedy reply and the great support, Ally!!
October 29, 2014 at 4:10 pm #12897AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
October 29, 2014 at 4:16 pm #12899aisforabigailParticipantsorry – this looks the same to me. (i don’t see an edit). can you confirm the code one more time?
October 29, 2014 at 4:21 pm #12900AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.