- So sorry for such a long one fellas!! **
Hi there, well, I was running a problem and thought it was the way I was declaring the paths, now that I see the paths are running properly I think teh problems comes from a different side, yesterday I installed a contact form plugin in the site I’m developing, the thing is, when I placed the short code in the contact page the output is that code not the form, you can see that here:
http://thenewmediastudio.com/dev/erin/wordpress/contact/
Today I installed the nivo plugin and no matter what, it runs the image call but not the slideshow per se, you can see that here:
http://thenewmediastudio.com/dev/erin/wordpress/
Something is going wrong with the plugins, so started to research and came to the hook ups, I checked and my hook ups are in place:
<?php wp_head(); ?>
</head>
and
<?php wp_footer(); ?>
So now I’m not sure what’s wrong, this is my first theme so maybe something is wrong but I checked and double checked and nothing, not sure if in order to call plugins I have to write something in the functions.php document but as far as my research indicates this is not the case, here are the 2 header and footer codes but again, seems ok to me:
Header:
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php bloginfo('name'); ?> | <?php bloginfo('description'); ?></title>
<meta name="keywords" content="" />
<meta name="description" content="<?php bloginfo('description'); ?>" />
<link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
<link href='http://fonts.googleapis.com/css?family=Average+Sans' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Balthazar' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Alegreya+SC:700,400' rel='stylesheet' type='text/css'>
<?php wp_head(); ?>
</head>
<!--BEGIN REGULAR CONTENTS AND NAV MENU ETC.... -->
Footer:
<!--BEGIN FOOTER -->
<div id="footer-container">
<div id="footer">
<div id="footerText">
<a href="#" class="FooterLinks">Home</a> | <a href="#" class="FooterLinks">Market Information</a> | <a href="#" class="FooterLinks">Communities</a> | <a href="#" class="FooterLinks">Search Homes</a> | <a href="#" class="FooterLinks">Neighborhood Information</a> | <a href="#" class="FooterLinks">Blog</a> | <a href="#" class="FooterLinks">About Us</a> | <a href="#" class="FooterLinks">Contact</a><br />
2012 Rande Turner - All Rights Reserved - CA DRE Num. 00857729 | <a href="#" class="FooterLinks">Terms of Use</a> | <a href="#" class="FooterLinks">Sitemap</a><br />
Developed by <a href="http://thenewmediastudio.com" target="_blank" class="FooterLinks">The NewMediaStudio</a></div>
<div id="footerIcon"><img src="<?php print IMAGES; ?>/FooterIcons.jpg" width="116" height="47" /></div>
</div><!-- End #Footer -->
</div>
<!--END FOOTER -->
<?php wp_footer(); ?>
So not sure what I’m doing wrong, please any extra help would be much appreciated,
Thanks a lot in advance!
Arturo
Wondering, maybe the error is not coming from footer nor header, maybe it is something in between?
<?php
/*
Template Name: Home Page
*/
?>
<?php get_header(); ?>
<!--BEGIN CONTENT -->
<div id="container">
<?php include('comms.php'); ?>
<div id="content-container">
<?php if ( function_exists('show_nivo_slider') ) { show_nivo_slider(); } ?>
<div id="content">
<div id="PageTitles">RANDE TURNER FEATURED PROPERTIES</div>
<p>
<?php
global $post;
$args = array( 'numberposts' => 9, 'category' => 5, 'orderby' => 'rand' );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
</p><div id="FeaturedPropery">
<a href="<?php the_permalink(); ?>" border="0"><?php the_post_thumbnail('mycustomsize'); ?></a>
<br />
<?php echo get_post_meta($post->ID, 'Community', true); ?> | <?php echo get_post_meta($post->ID, 'Price', true); ?> | <?php echo get_post_meta($post->ID, 'Status', true); ?>
</div>
<?php endforeach; ?>
<div id="VideoProperty">
<?php query_posts('cat=3&showposts=1&offset=0&orderby=rand'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
</div>
<?php get_sidebar(); ?>
<div id="Bios"><img src="<?php print IMAGES; ?>/Bios.png" width="1066" height="167" border="0" usemap="#Map3" />
<map name="Map3">
<area shape="rect" coords="129,87,248,98" href="mailto:rande@randeturner.com">
<area shape="rect" coords="129,104,237,115" href="http://randeturner.com">
<area shape="rect" coords="393,88,502,99" href="mailto:erin@randeturner.com">
<area shape="rect" coords="392,105,500,115" href="http://randeturner.com">
<area shape="rect" coords="661,86,781,98" href="mailto:kerryk@randeturner.com">
<area shape="rect" coords="661,105,768,115" href="http://randeturner.com">
<area shape="rect" coords="926,87,1037,98" href="mailto:sarah@willisallen.com.com">
<area shape="rect" coords="927,105,1037,115" href="http://randeturner.com">
</map>
</div>
<div id="BlogTwNewsBox">
<div id="clear-center-image"><img src="<?php print IMAGES; ?>/NewsBanner.png" width="1065" height="79" /></div>
<div id="clear-center-image"><img src="<?php print IMAGES; ?>/LatestBlogEntries.png" width="294" height="64" /></div>
<div id="BlogRoundBox">
<?php
global $post;
$args = array( 'numberposts' => 6, 'category' => 4 );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<!-- Begin Post -->
<div class="BoxBlog">
<?php the_post_thumbnail('BlogImagesThumb', 'class=alignleft'); ?>
<b><?php the_title(); ?></b>
<?php the_excerpt(); ?>
</div>
<?php endforeach; ?>
<!-- End Post -->
</div>
<div id="clear-center-image"><img src="<?php print IMAGES; ?>/LatestTweets.png" width="229" height="61" /></div>
<div id="TweetRoundBox">
<?php
include_once(ABSPATH . WPINC . '/feed.php');
$rss = fetch_feed('https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=randeturner');
$maxitems = $rss->get_item_quantity(4);
$rss_items = $rss->get_items(0, $maxitems);
?>
<ul style="list-style: disc;">
<?php if ($maxitems == 0) echo '<li>No items.</li>';
else
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?>
<li>
<a href="<?php echo $item->get_permalink(); ?>" class="NewsBoxLink">
<?php echo $item->get_title(); ?>
</a>
</li><br />
<?php endforeach; ?>
</ul>
</div>
</div>
<div id="Logos">
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/Luxury.jpg" width="183" height="132" /></div>
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/LuxuryPort.jpg" width="183" height="132" /></div>
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/Regent.jpg" width="264" height="132" /></div>
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/LeadinRealState.jpg" width="128" height="132" /></div>
<div id="LogoItem"><img src="<?php print IMAGES; ?>/Logo/Willis.jpg" width="128" height="132" /></div>
</div> <!-- End Logos -->
</div>
</div>
<!--END CONTENT -->
<?php get_footer(); ?>
