Grow your CSS skills. Land your dream job.

Read More (WordPress)

  • # September 24, 2009 at 12:42 pm

    hi

    i have started to create a wordpress theme for my self and with the help of the designing-for-wordpress-complete-series i’m doing well and understanding the procedure.

    though from following the tutorial – on my home page a get all my posts showing one after the other in full – though i would like for them to appear in short version and then have the read more like

    at the moment i have this

    Code:
    < ?php the_content('Read the rest of this entry »'); ?>

    i looked on the wordpress docs and it recommends to to the following : (though it does not work)

    Code:
    < ?php the_content('read more'); ?>

    can you give me any suggestions

    thanks in advance

    # September 24, 2009 at 1:31 pm

    You have to make sure in the post that you’ve written you’ve included the "more" tag. In HTML view it looks like this:

    <!–more–>

    You can also use the_excerpt(); if you’re never planning on having full posts on that page.

    # September 24, 2009 at 1:55 pm

    ye now it works – thanks a lot

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".