WordPress.org

Ready to get started?Download WordPress

Forums

read more with a thumbnail (5 posts)

  1. sof613
    Member
    Posted 2 years ago #

    i am trying to make a thumbnail with a picture and it should have a "readmore" option to have the whole post . (there is a picture in my post). so here is the code

    [code moderated - please use the pastebin for any code over the forum limit of 10 lines]

    [please mark any direct posted code]
    When i have
    <?php the_content_limit(400, "[".__('Read more'));?><div style="clear:both;"></div>
    then i only have a "readmore" option and picture goes away , but when i take away limit 400 and make it look like this
    <?php the_content(__('Read more'));?><div style="clear:both;"></div>
    then i have a picture but i see the whole post without "readmore" option. i want to have a thumbnail next to a short version post with a readmore opion.can anyone help ? thank you

  2. sof613
    Member
    Posted 2 years ago #

    ill try to make it more clear .
    i am trying to make a thumbnail with a picture and it should have a "readmore" option to have the whole post . (there is a picture in my post).
    When i have -
    <?php the_content_limit(400, "[".__('Read more'));?><div style="clear:both;"></div>
    then i only have a "readmore" option and picture goes away , but when i take away limit 400 and make it look like this -
    <?php the_content(__('Read more'));?><div style="clear:both;"></div>
    then i have a picture but i see the whole post without "readmore" option. i want to have a thumbnail next to a short version post with a "readmore opion".can anyone help ? thank you

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try using the <--more-->` tag in your Posts.

  4. sof613
    Member
    Posted 2 years ago #

    thank you , but im looking with help for html code . i think code is the key here

  5. sof613
    Member
    Posted 2 years ago #

    bump

Topic Closed

This topic has been closed to new replies.

About this Topic