WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Bookmark me in detailed content (3 posts)

  1. pandask
    Member
    Posted 7 years ago #

    For each of my blog post, I want to show excerpts of the contents and give an option "Continue Reading" below the excerpts.

    Blog Title
    -----------
    October 28th, 2006 : This is content in brief.................

    Continu reading | Comments |

    When user clicks on "Continue Reading", I want to show the content with different options like Bookmark me, Digg me.

    Blog Title
    -----------
    This is content in brief and now you are seeing the complete content, hope you liked.

    Bookmark me | Digg me |

    Question :-
    Should I have to use API like is_home and is_single in index.php) for excerpt and detail content having new options like Bookmark me ?

    I might be doing somehting silly, could you please suggest.

    thanks,
    -Santosh

  2. vkaryl
    Member
    Posted 7 years ago #

    All you need is to use the "more" quicktag at the place you want to stop the excerpt part of the post.

  3. pandask
    Member
    Posted 7 years ago #

    I tried that now ..
    <div class="entry">
    <?php the_time('F jS, Y'); ?> : <?php the_excerpt(); ?>
    </div>

    <p class="continue">
    "<?php the_content(__('(more...)')); ?>" title="Permanent Link to <?php the_title(); ?>"
    Continue Reading...

    Issue:-
    When I click on Continue Reading, I get an error...
    Access forbidden!
    You don't have permission to access the requested object. It is either read-protected or not readable by the server.

Topic Closed

This topic has been closed to new replies.

About this Topic