Forums

comments-link-popup not working (6 posts)

  1. frankjkeane
    Member
    Posted 3 years ago #

    Hello,

    thanks for viewing. I'm a newbie and setting up my first theme I have the comments popup link code in my index.php file in the loop that i pasted from the 'default' wp theme. it does not work at the mo and am wondering is there a plugin to be installed or api hook i'm missing. is it usually just a case of writing it in the code and when you click on 'no comments' the popup appears? I have several posts on blog not InTHINK this means that the if singular should not be true therefore enabling popup link.

    Anyway any help gratefully received!

    Frank

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

    A popup will not appear unless you have the comments-popup.php template file in your theme.

  3. frankjkeane
    Member
    Posted 3 years ago #

    Hi thanks esmi,

    yes i have that file in the root folder.

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

    i have that file in the root folder

    It needs to be in your theme's folder.

  5. frankjkeane
    Member
    Posted 3 years ago #

    Hi, yes thats what i meant sorry, its in the themes folder. do any other related files need to be there? i have comments.php and comments-popup.php.

    how does this work? is it just the <?comments-popup-link("..... line that calls it and if it's in the themes folder it should appear? what other conditions are there for this to work?

    thanks a lot

    Frank

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

    You also need to incorporate comments_popup_script.

Topic Closed

This topic has been closed to new replies.

About this Topic