• i have just tried to download several plug-ins to allow comment previews from the wordpress plug-in directory….None of them works. I’m betting there is something that I’m missing.

    I’ve done other plug-ins and had no problems. I am downloading, opening, then uploading to the server. I activate the plug-in on the admin panel, but nothing happens…there is no preview.

    any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Usually you are required to make a ‘call’ to the plugins functions from within your page. This requires editing your comments.php (in my case). I looked for the <form> section and right after it I added (for example) <?php live_preview() ?> , your plugin’s function may be named differently.

    Thread Starter vicar

    (@vicar)

    Thank you! I had not done this…so no wonder it couldn’t find the Live Preview plug-in.

    Now, I’ve tried adding that line a number of different places in my comments.php file and, alas, nothing happens (still).

    I am using the default, Kubrick, template. I don’t see a specific <form> section, so have tried moving the line around here and there. Anything else I should look for?

    I’d be happy to send the lines of code if that would help, but I think it’s the standard.

    Thanks again.

    Do a ‘view source’ of your page and see if the <head> section has a <script type="text/javascript" src="https://www.yourdomain.com/wp-content/plugins/live-comment-preview/live-comment-preview.js"></script>
    statement in it (or a similar statement calling your comment preview).

    Thread Starter vicar

    (@vicar)

    I received a reply by email from the maker of the plug-in for LivePreview saying that I “haven’t upload the javascript file (livepreview.js) into the plugins directory.”

    I see that file on the server when I look and I see “Comment Live Preview” activated on the Plug-ins management page of my dashboard.

    Does anyone know if there is something else I am supposed to activate?

    No matter where I place the text <?php live_preview() ?> in my comments.php file, nothing happens.

    Please advise.

    Many thanks!

    Thread Starter vicar

    (@vicar)

    I just tried taking Live Preview off of the server and reloading it, reactivating it as plug-in, and adding the line of text to comments.php.

    Nothing.

    Any ideas? I just don’t get it.

    Thanks much.

    Thread Starter vicar

    (@vicar)

    Okay…I just deactivated Live Preview and activated Ajaxified Preview. It works.

    Would still like to know why the other wouldn’t work…user error no doubt! ??

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘comment preview’ is closed to new replies.