Results 1 to 7 of 7
-
14th Oct 2012, 01:26 PM #1OPMember
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 apprciatedtorrfriend 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: 5Skipp the Adfly Adfocus LinksBucks by one click(No Ads, No pop up's)
For << Kimsufi >> Truly Unmetered - No more 5Tb or 10Tb Limit
Wordpress Theme not working after editing footer copyright
-
14th Oct 2012, 01:35 PM #2Member
You should always, if possible, share a link to it or something like that.
We can't read minds - yet
-
14th Oct 2012, 01:36 PM #3Too busy :|Website's:
L337Fx.com BeastieBay.netChange the_excerpt(); to the_content();
-
14th Oct 2012, 01:38 PM #4Respected Member
Yea, site Link ?
-
14th Oct 2012, 02:16 PM #5OPMember
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(); ?>&w=160&h=120&zc=1&q=100&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 } ?>
Skipp the Adfly Adfocus LinksBucks by one click(No Ads, No pop up's)
For << Kimsufi >> Truly Unmetered - No more 5Tb or 10Tb Limit
Wordpress Theme not working after editing footer copyright
-
14th Oct 2012, 02:48 PM #6Too busy :|Website's:
L337Fx.com BeastieBay.net<?php the_post_excerpt($excerpt_length=40); ?>
Replace with
<?php the_content('',FALSE,''); ?>
-
14th Oct 2012, 02:56 PM #7OPMember
Thanks Blaze, that worked
Skipp the Adfly Adfocus LinksBucks by one click(No Ads, No pop up's)
For << Kimsufi >> Truly Unmetered - No more 5Tb or 10Tb Limit
Wordpress Theme not working after editing footer copyright
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
sub folder showing 404 wordpress page
By chems in forum WordpressReplies: 2Last Post: 31st Dec 2011, 03:20 AM -
[Hiring] DDL Alike Wordpress Index Page
By cyanide in forum Web Development AreaReplies: 1Last Post: 30th Oct 2011, 12:56 PM -
Prevent posts from a certain forum from showing up in "New Posts"
By JGM in forum vBulletinReplies: 4Last Post: 10th Aug 2011, 04:51 PM -
Wordpress Posts To FB Fan Page?
By Mulana in forum Webmaster DiscussionReplies: 11Last Post: 24th Jun 2011, 07:04 PM -
Need to create index page in wordpress
By samipk in forum Technical Help Desk SupportReplies: 2Last Post: 10th Feb 2011, 06:37 AM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...