WordPress.org

Ready to get started?Download WordPress

Forums

how show #comments link in a new page (1 post)

  1. SOS - 2013
    Member
    Posted 3 weeks ago #

    Hi

    I want showing comments of a post in a new page without showing contents.

    for example : below a post show a link like :

    domain.com/postname/#comments

    that after clicking a new page appear that show comments.

    I can do this by lightbox but that's not good for comments that are several pages .

    or

    I need an if for single page that if the link of post is :
    domain.com/postname
    show content but not showing comments means omit :
    <?php comments_template('',true);?>
    but if load :
    domain.com/postname/#comments
    omit content and showing :
    <?php comments_template('',true);?>

Reply

You must log in to post.

About this Topic

Tags

No tags yet.