WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Post wont show Full On Homepage (4 posts)

  1. Gam3r
    Member
    Posted 1 year ago #

    Hey,

    Im using the Quarx theme for wordpress and cant seem to get the post to display fully on the homepage.

    here is my website ( edited the code.. a ton on the look of it)
    http://gphosting.net

    And in the post.php

    <div class="box1">
    	<div class="post-entry">
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
    <img src="http://gphosting.net/wp-content/themes/Quarx/images/news.png"
    alt="<?php the_title(); ?>"  /></a>
    
    	<h3 class="post-box-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?>
    	</a></h3>
    
    <?php content_limit(220, ""); ?>
    	<div class="read-more"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/read_more_posts.jpg" alt="Read More" /></a></div>
    
    	</div>
    	</div>
    <?php endwhile; ?>
    
    	</div>

    here is this where <?php content_limit(220, ""); ?> is limited, but i change that and dosent effect that it shows the excerpt

    Can anyone please help, if any other information/ code needed ill glady post it if anyone can help me get this problem fixed

  2. Gam3r
    Member
    Posted 1 year ago #

    This is the FULL post.php

    <div id="posts-col">
    
    <!--post box 1 begin-->
    
    	<div class="post-box">
        	<div class="post-category">
    <?php _e(stripslashes(get_option('qx_post-left_category1')),''); ?>
    	</div>
    <?php
    	$postleft1 = get_option('qx_post-left_category1');
    	$num = get_option('qx_post1_items');
    
    		$my_query = new WP_Query('category_name= '. $postleft1 .'&showposts='. $num.'');
    while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
    	if (in_category($postleft2)) continue;
    	if (in_category($postleft3)) continue;
    	if (in_category($postleft4)) continue;
    	if (in_category($postleft5)) continue;
    	if (in_category($postleft6)) continue;
    	if (in_category($postleft7)) continue;
    ?>
    	<div class="box1">
    	<div class="post-entry">
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
    <img src="http://gphosting.net/wp-content/themes/Quarx/images/news.png"
    alt="<?php the_title(); ?>"  /></a>
    
    	<h3 class="post-box-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?>
    	</a></h3>
    
    <?php content_limit(220, ""); ?>
    	<div class="read-more"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/read_more_posts.jpg" alt="Read More" /></a></div>
    
    	</div>
    	</div>
    <?php endwhile; ?>
    
    	</div>
    
    </div> <!--end posts-col-->
    
    <!-- your widget start from here -->
    
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar') ) : else : ?>
    
    <?php endif; ?>
    
    </div><!-- #sidebar-home -->
  3. IMICreation
    Member
    Posted 1 year ago #

    try using <?php the_content(); ?> in place of content_limit(220, "")

  4. Gam3r
    Member
    Posted 1 year ago #

    Thank you sooo Much, that worked

Topic Closed

This topic has been closed to new replies.

About this Topic