WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Show entire post not excerpt or "show more" (14 posts)

  1. rcmorris11
    Member
    Posted 2 years ago #

    This is my blog http://www.bluemountainbelle.com

    I would like the post to show all of the content not just some. I have tried changing the_excerpt to the_content in index.php

    <div class="post-wrap">
          <?php the_post_thumbnail('following-post-thumbnails'); ?>
    	  <?php the_excerpt(__('keep reading', 'grisaille')); ?></div>
          <?php wp_link_pages(

    to

    <div class="post-wrap">
          <?php the_post_thumbnail('following-post-thumbnails'); ?>
    	 <?php the_content();?>
          <?php wp_link_pages(

    Which did nothing.

    Also in Template.php I have this code, if i take it all out i just get some of the post then [...]

    /**
    * Change Excerpt length
    **/
    function grisaille_new_excerpt_length($length) {
    	return 20;
    }
    add_filter('excerpt_length', 'grisaille_new_excerpt_length');
    
    /**
    * Change excerpt [...] to something else
    **/
    
    function grisaille_new_excerpt_more($more) {
        global $post;
    	return ' ... <br /><a class="more-link" href="'. get_permalink($post->ID) . __('">keep reading</a>', 'grisaille');
    }
    add_filter('excerpt_more', 'grisaille_new_excerpt_more');

    I have tried changing the "return 20" to return 600 or a higher number which then shows all of my post but with no formatting.

    I assume I need to changes something to this but have no clue what.

    So my goal is to show the entire post and show the correct formatting (paragraphs/bold/header etc)

    Thank you!!

  2. robmuzo
    Member
    Posted 2 years ago #

    You can change that in settings - reading settings - For each article in a feed, show

    change to full text

  3. rcmorris11
    Member
    Posted 2 years ago #

    It is set to Full text

  4. robmuzo
    Member
    Posted 2 years ago #

    Change home.php as you did index.php
    line 13
    <?php the_excerpt(__('keep reading', 'grisaille')); ?>
    to
    <?php the_content(); ?>

  5. rcmorris11
    Member
    Posted 2 years ago #

    OMG THANK YOU SO MUCH

  6. robmuzo
    Member
    Posted 2 years ago #

    No problem!

  7. rcmorris11
    Member
    Posted 2 years ago #

    One more thing! My header Blue Mountain Belle used to all fit on one line. like yesterday it did. and now its on 2 lines and I am not sure how to make it smaller?

  8. robmuzo
    Member
    Posted 2 years ago #

    Change the font to like below (86px)

    style.css (line 142)

    #site-title h1 a {
    color: #334759;
    font: 86px 'Bigshot One','Times New roman',serif;
    text-transform: uppercase;
    }

  9. rcmorris11
    Member
    Posted 2 years ago #

    yes! thank you so much!!!!!!!!!!!!

  10. rcmorris11
    Member
    Posted 2 years ago #

    yay!

  11. rcmorris11
    Member
    Posted 2 years ago #

    Ah one more question!

    Okay so now when I click on one of my menu categories example music. It is only a excerpt of the post

    how do I change that?

  12. robmuzo
    Member
    Posted 2 years ago #

    Probably line 38
    archive.php
    <?php the_excerpt(__('keep reading','grisaille')); ?>
    change to
    <?php the_content(); ?>

  13. rcmorris11
    Member
    Posted 2 years ago #

    Nope now it just says

    <?php the_content(); ?>

    http://www.bluemountainbelle.com/category/music/

  14. rcmorris11
    Member
    Posted 2 years ago #

    I got it fixed! thank you sooooo much for all your help!

Topic Closed

This topic has been closed to new replies.

About this Topic