• 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sof613

    (@sof613)

    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

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

    Thread Starter sof613

    (@sof613)

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

    Thread Starter sof613

    (@sof613)

    bump

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘read more with a thumbnail’ is closed to new replies.