Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter techcrazy

    (@techcrazy)

    single.php (include file problem solution
    <?php get_header(); ?>

    <div id=”content”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <p class=”browse”> You are here: Home //
    <?php the_category(‘, ‘) ?>
    //
    <?php the_title();?>
    </p>
    <?php the_title(‘<h3>’, ‘</h3>’); ?>
    <p class=”postmeta”>Posted by
    <?php the_author_posts_link(); ?>
    on
    <?php the_time(‘M d, Y’) ?>
    |
    <?php comments_popup_link(‘Leave a Comment’, ‘1 Comment’, ‘% Comments’); ?>
    </p>
    <div class=”entry”>
    <?php the_content(‘Read more…’); ?>

    <?php
    //below link included by techcrazy on 29 12 2009
    /////////////////////include file here
    include(‘includefilename.php’);
    ///////////////////////////////////////////////

    ?>
    <div class=”clear”></div>
    </div>
    <!–end: entry–>
    <p class=”browse”>
    <?php the_tags(‘Tags: ‘, ‘, ‘, ”); ?>

    <?php edit_post_link(‘Edit’, ‘ [ ‘, ‘ ] ‘); ?>
    </p>
    <?php comments_template(); ?>
    <?php endwhile; else: ?>

    <?php endif; ?>
    </div>
    <!–end: content–>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thread Starter techcrazy

    (@techcrazy)

    hi
    i tried it working fine thanks….. but can you say me one more thing… when googlebot will fetch that post that time it will fetch include file text ? (SEO related issue )

    Thread Starter techcrazy

    (@techcrazy)

    where to put that include in single.php i dont have idea…
    I want to include php file as BLOG POST part..

Viewing 3 replies - 1 through 3 (of 3 total)