dashndash
Power Member
- Jan 18, 2008
- 503
- 45
Hi! I've been trying to "include" one php script in WooTheme's "Flash News Theme" "Single.php" from a very long time now, which is actually a Single Post page when you click on a posted topic link.
My .php file which I'm trying to include has Javascript and Image.. When I include this file in "single.php" only javascript part is loaded and the image is NOT being loaded..
I even tried to directly paste the image code in the "single.php" even though it's not being loaded..
I want to show that image before the post, but not above the Navigation bar..
Here is the code of "SINGLE.PHP" ::
Any idea why images are not being loaded? Any help will REALLY be appreciated!!
My .php file which I'm trying to include has Javascript and Image.. When I include this file in "single.php" only javascript part is loaded and the image is NOT being loaded..
I even tried to directly paste the image code in the "single.php" even though it's not being loaded..
I want to show that image before the post, but not above the Navigation bar..
Here is the code of "SINGLE.PHP" ::
<?php get_header(); ?>
<div id="centercol">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2 class="singleh2"><a title="<?php _e('Permanent Link to',woothemes); ?> <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="date-comments">
<p class="fl"><?php the_time('D, M j, Y'); ?></p>
<p class="fr"><?php the_category(', ') ?></p>
</div>
<div class="entry">
<?php echo woo_get_embed('embed','500','360','video-post'); ?>
<?php the_content(__('<span class="continue">Continue Reading</span>',woothemes)); ?>
</div>
<?php the_tags('<p>Tags: ', ', ', '</p>'); ?>
</div><!--/post-->
<div id="comments">
<?php comments_template(); ?>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php previous_post_link(); ?></div>
<div class="alignright"><?php next_post_link(); ?> </div>
</div>
<?php endif; ?>
</div><!--/centercol-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Any idea why images are not being loaded? Any help will REALLY be appreciated!!