• I have an ediv theme single.php file which is not showing its posts.It only show the videos but not the posts.Can anyone help me to show the post under the video?

    Code of single.php is as follows:

    ?<?php get_header(); ?>
    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>
    <div id=”header4″>
    <div id=”header5″>

    <div class=”video-nav ievideo-nav” style=”margin-left: 100px;”>

    <span class=”video-button-hover”>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-embed.png” style=”margin: 2px 0px 0px 0px; border: none; cursor: pointer;” alt=”embed” />
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-embed-hover.gif” alt=”embed” class=”embed-button video-button-hover-image” />
    </span>

    <span class=”video-button-hover”>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-share.png” style=”margin: 2px 0px 0px 0px; border: none; cursor: pointer;” alt=”embed” />
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-share-hover.gif” alt=”embed” class=”share-button video-button-hover-image” />
    </span>

    <span class=”video-button-hover”>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-link.png” style=”margin: 2px 0px 0px 0px; border: none; cursor: pointer;” alt=”embed” />
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-link-hover.gif” alt=”embed” class=”link-button video-button-hover-image” />
    </span>

    <span class=”video-button-hover”>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-comment.png” style=”margin: 2px 0px 0px 0px; border: none; cursor: pointer;” alt=”embed” />
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-comment-hover.gif” alt=”embed” style=”border: none;” class=”comment-button” />
    </span>

    </div>
    <div id=”video”>
    <div id=”video-inside”>
    <?php echo get_post_meta($post->ID, “Video”, true); ?>
    </div>
    </div>
    <div class=”video-embed video2″>
    <span class=”video-titles”>Embed This Video</span>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/close.png” style=”margin: 10px 10px 0px 0px; float: right; cursor: pointer;” alt=”embed” class=”close” />
    <div style=”clear: both;”></div>
    <textarea rows=”4″ style=”border:1px solid #1F1F1F; width:90%; height: 200px; background:#373737; padding:10px; color:#CCCCCC; margin-left: 15px; float: left; margin-top: 15px;”><?php echo get_post_meta($post->ID, “Video”, true); ?>
    </textarea>
    </div>
    <div class=”video-share video2″>
    <span class=”video-titles”>Share This Video</span>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/close.png” style=”margin: 10px 10px 0px 0px; float: right; cursor: pointer;” alt=”embed” class=”close” />
    <div style=”clear: both;”></div>
    &title=<?php the_title(); ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-1.gif” alt=”bookmark” style=”float: left; margin-left: 15px; margin-right: 8px; border: none;” />
    &title=<?php the_title(); ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-2.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    &title=<?php the_title(); ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-3.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    &title=<?php the_title(); ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-4.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    ” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-5.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    &u=<?php the_permalink() ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-6.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    &title=<?php the_title(); ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-7.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    &Title=<?php the_title(); ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-8.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    ” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-9.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    &u=<?php the_permalink() ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-10.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    &new_comment=<?php the_title(); ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-11.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    &title=<?php the_title(); ?>” target=”_blank”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/bookmark-12.gif” alt=”bookmark” style=”float: left; margin-right: 8px; border: none;” />
    </div>
    <div class=”video-link video2″>
    <span class=”video-titles”>Link To This Video</span>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/close.png” style=”margin: 10px 10px 0px 0px; float: right; cursor: pointer;” alt=”embed” class=”close” />
    <div style=”clear: both;”></div>
    <textarea rows=”4″ style=”border:1px solid #1F1F1F; width:90%; height: 200px; background:#373737; padding:10px; color:#CCCCCC; margin-left: 15px; float: left; margin-top: 15px;”>
    ” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?>
    </textarea>
    </div>
    <div class=”video-comment video2″>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/close.png” style=”margin: 10px 10px 0px 0px; float: right; cursor: pointer;” alt=”embed” class=”close” />
    test
    </div>
    <div class=”video-nav”>

    <span class=”video-button-hover”>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-rate.png” style=”margin: 2px 0px 0px 0px; border: none; cursor: pointer;” alt=”embed” />
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-rate-hover.gif” alt=”embed” style=”left: 5px !important;” class=”rate-button video-button-hover-image” />
    </span>

    <span class=”video-button-hover”>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-tags.png” style=”margin: 2px 0px 0px 0px; border: none; cursor: pointer;” alt=”embed” />
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-tags-hover.gif” alt=”embed” style=”left: 5px !important;” class=”tags-button video-button-hover-image” />
    </span>

    <span class=”video-button-hover”>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-related.png” style=”margin: 2px 0px 0px 0px; border: none; cursor: pointer;” alt=”embed” />
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-related-hover.gif” alt=”embed” style=”left: 5px !important;” class=”related-button video-button-hover-image” />
    </span>

    <span class=”video-button-hover”>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-lights.png” style=”margin: 2px 0px 0px 0px; border: none; cursor: pointer;” alt=”embed” />
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/video-button-lights-hover.gif” alt=”embed” style=”left: 5px !important;” class=”lights-button video-button-hover-image” />
    </span>
    </div>

    <div class=”video-rate video2″>
    <span class=”video-titles”>Rate This Video</span>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/close.png” style=”margin: 10px 10px 0px 0px; float: right; cursor: pointer;” alt=”embed” class=”close” />
    <div style=”clear: both;”></div>
    <div style=”border:1px solid #1F1F1F; width:90%; height: 200px; background:#373737; padding:10px; color:#CCCCCC; margin-left: 15px; float: left; margin-top: 15px;”>
    <?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>

    </div>
    </div>
    <div class=”video-tags video2″>
    <span class=”video-titles”>Tags For This Video</span>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/close.png” style=”margin: 10px 10px 0px 0px; float: right; cursor: pointer;” alt=”embed” class=”close” />
    <div style=”clear: both;”></div>
    <?php the_tags(”, ‘ ‘, ”); ?>
    </div>
    <div class=”video-related video2″>
    <span class=”video-titles”>Related Videos</span>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/close.png” style=”margin: 10px 10px 0px 0px; float: right; cursor: pointer;” alt=”embed” class=”close” />
    <div style=”clear: both;”></div>
    <?php wp_related_posts(); ?>
    </div>
    </div>
    </div>

    <div id=”wrapper2″>

    <div id=”container”>

    <div id=”left-div”>

    <div id=”left-inside”>

    <!–Begin Post–>
    <div class=”post-wrapper”>
    <span class=”post-title”>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></span>
    <div class=”post-info”>Posted by <?php the_author() ?> in <?php the_category(‘, ‘) ?> on <?php the_time(‘m jS, Y’) ?> | “><?php comments_number(‘no responses’,
    ‘one response’,’% responses’); ?></div>
    <?php if (get_option(‘artsee_thumbnails’) == ‘Hide’) { ?>
    <?php { echo ”; } ?>
    <?php } else { include(TEMPLATEPATH . ‘/includes/thumbnail.php’); } ?>

    <?php the_content(); ?>

    <?php if (get_option(‘artsee_foursixeight’) == ‘Enable’) { ?>
    <?php include(TEMPLATEPATH . ‘/includes/468×60.php’); ?>
    <?php } else { echo ”; } ?>

    <div style=”clear: both;”></div>
    <?php comments_template(); ?>

    <?php endwhile; ?>

    </div>

    <?php else : ?>

    <h2 align=”center”>Not Found</h2>

    <p align=”center”>Sorry, but the page you requested could not be found.</p>

    <?php endif; ?>

    </div>

    </div>

    <!–Begin Sidebar–>
    <?php get_sidebar(); ?>
    <!–End Sidebar–>

    <!–Begin Footer–>
    <?php get_footer(); ?>
    <!–End Footer–>
    </div>
    </body>
    </html>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘IS THERE ANYONE WHO CAN ANSWER THIS??..’ is closed to new replies.