Activity Stream
48,167 MEMBERS
6925 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 7 of 7
  1.     
    #1
    Member

    Default Wordpress index page posts are showing without Formatting

    In wordpress blog,
    i format the post with bold/italics/center, added image and all.

    it's looking fine when i clicked individual post,
    but it's looks without formating (just show as text in notepad) in index page posts

    i think, need to change some code in theme index page or function page.

    any help is highly apprciated
    torrfriend Reviewed by torrfriend on . Wordpress index page posts are showing without Formatting In wordpress blog, i format the post with bold/italics/center, added image and all. it's looking fine when i clicked individual post, but it's looks without formating (just show as text in notepad) in index page posts :( i think, need to change some code in theme index page or function page. any help is highly apprciated :) Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    You should always, if possible, share a link to it or something like that.
    We can't read minds - yet

  4.     
    #3
    Too busy :|
    Website's:
    L337Fx.com BeastieBay.net
    Change the_excerpt(); to the_content();


  5.     
    #4
    Respected Member
    Yea, site Link ?

  6.     
    #5
    Member
    lol..in localhost, testing blog

    BlaZe, it doesn't have any the_excerpt();

    below is the index of the template
    Code: 
    <?php if ((!function_exists("check_theme_footer") || !function_exists("check_theme_header"))) { ?><?php { /* nothing */ } ?><?php } else { ?><?php get_header(); ?>
    
    <?php get_sidebar('left'); ?>
    
    <div id="content">
    <div id="contentinner">
    <?php include (TEMPLATEPATH . '/includes/breadcrumbs.php'); ?>
    
    <?php $featured_slider_activate = get_theme_option('featured_activate'); if(($featured_slider_activate == '') || ($featured_slider_activate == 'No')) { ?>
    <?php { /* nothing */ } ?>
    <?php } else { ?>
    <?php if((is_home()) && (is_front_page()) && ($paged < 1)) { ?>
    <?php include (TEMPLATEPATH . '/includes/featured.php'); ?> 
    <?php } ?>
    <?php } ?>
    
    <div id="post-entry">
    
    <?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query('showposts=&cat=&paged=' . $paged);?>
    
    <?php $postcounter = 0; if ($wp_query->have_posts()) : ?>
    
    <?php while ($wp_query->have_posts()) : $postcounter = $postcounter + 1; $wp_query->the_post();?>
    
    <div class="post-meta" id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <span class="post-date">Posted by <?php the_author(); ?> on <?php the_time('F jS, Y h:i A') ?> | <?php $category = get_the_category();
    if ($category) { echo '<a href="' . get_category_link( $category[0]->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category[0]->name ) . '" ' . '>' . $category[0]->name.'</a>'; } ?> | <?php comments_popup_link('No Comment', '1 Comment', '% Comments'); ?></span>
    <?php $get_google_code = get_theme_option('adsense_loop'); if($get_google_code == '') { ?>
    <?php } else { ?>
    <?php if($postcounter <= 2){ ?>
    <div class="adsense-loop">
    <?php echo stripcslashes($get_google_code); ?>
    </div>
    <?php } ?>
    <?php } ?>
    <div class="post-content">
    <?php if ( has_post_thumbnail() ) { ?>
    <div class="thumb"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail(array(160,120), array('class' => 'alignleft')); ?></a></div>
    <?php } else { ?>
    <div class="thumb"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo get_post_image(); ?>&amp;w=160&amp;h=120&amp;zc=1&amp;q=100&amp;a=t" alt="<?php the_title(); ?>" class="alignleft" /></a></div>
    <?php } ?>
    <?php the_post_excerpt($excerpt_length=40); ?>
    </div><!-- POST CONTENT END -->
    <div class="clearfix"></div>
    </div><!-- POST META <?php the_ID(); ?> END -->
    
    <?php endwhile; ?>
    
    <?php else : ?>
    
    <p class="center">NOT FOUND</p>
    
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    
    <?php endif; ?>
    
    <?php $wp_query = null; $wp_query = $temp; ?>
    
    </div><!-- POST ENTRY END -->
    
    <?php include (TEMPLATEPATH . '/includes/paginate.php'); ?>
    
    </div><!-- CONTENTINNER END -->
    </div><!-- CONTENT END -->
    
    <?php get_sidebar('right'); ?>
    
    <?php get_footer(); ?><?php } ?>

  7.     
    #6
    Too busy :|
    Website's:
    L337Fx.com BeastieBay.net
    <?php the_post_excerpt($excerpt_length=40); ?>

    Replace with

    <?php the_content('',FALSE,''); ?>

  8.     
    #7
    Member
    Thanks Blaze, that worked

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. sub folder showing 404 wordpress page
    By chems in forum Wordpress
    Replies: 2
    Last Post: 31st Dec 2011, 03:20 AM
  2. [Hiring] DDL Alike Wordpress Index Page
    By cyanide in forum Web Development Area
    Replies: 1
    Last Post: 30th Oct 2011, 12:56 PM
  3. Replies: 4
    Last Post: 10th Aug 2011, 04:51 PM
  4. Wordpress Posts To FB Fan Page?
    By Mulana in forum Webmaster Discussion
    Replies: 11
    Last Post: 24th Jun 2011, 07:04 PM
  5. Need to create index page in wordpress
    By samipk in forum Technical Help Desk Support
    Replies: 2
    Last Post: 10th Feb 2011, 06:37 AM

Tags for this Thread

BE SOCIAL