• I want my entire content to show on a post or page not the excerpt which has to be clicked t bring me to the full content How can I do this in 2010 ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • replace the_excerpt() function with the_content() function

    Thread Starter qed2u

    (@qed2u)

    Which file will this be in I am using the basic default 2010 and there does not seem to be the_excerpt

    look in loop.php

    edit the loop.php file

    Thread Starter qed2u

    (@qed2u)

    Which file is the_excerpt in I can see this
    /**
    * Sets the post excerpt length to 40 characters.
    *
    * To override this length in a child theme, remove the filter and add your own
    * function tied to the excerpt_length filter hook.
    *
    * @since Twenty Ten 1.0
    * @return int
    */
    function twentyten_excerpt_length( $length ) {
    return 4000;
    }
    add_filter( ‘excerpt_length’, ‘twentyten_excerpt_length’ );
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    where I have upped the limit from 40 to 4000 chars but that does not show the content if it includes an image

    Thread Starter qed2u

    (@qed2u)

    Thanks guys

    yes. It’s not showing the image and video properly. if you use the_content() function then you will get the full post.

    Hi,

    I’m experiencing the same problem. I’ve replaced all instances of ‘the_excerpt’ with ‘the_content’ in the loop.php file but am still only getting excerpts.

    I’ve cleared my cache just in case but it’s not working. Any suggestions anyone?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Show content not excerpt’ is closed to new replies.