Last Visit plugin troubles (3 posts)

  1. rach3ldr3w
    Posted 11 years ago #

    I want to add the last visit plugin by Alex King to my Wp, but I have no idea where to put this code:

    <?php require(bloginfo('url;').'/wp-content/plugins/wp-last-visit.php?type=js'); ?>

    In the readme, it says to put it between the <head></head> tags in the main index.php page, but wouldn't it still work if I put it between the head tags in header.php?

    I've tried placing it in both php pages, but it still doesn't work...
    I'd really appreciate any help ^^

  2. Lorelle
    Posted 11 years ago #

    Your best bet is to contact Alex King for an answer on his site. The code might have changed with the new versions of WordPress, which might be your problem.

    The head on the index.php (if there is no header.php template file) is the same as the header.php template file, so it should work.

  3. emt036
    Posted 11 years ago #

    What version of WP are you using? Techinically that plugin is only *officially* supported for 1.2...

Topic Closed

This topic has been closed to new replies.

About this Topic