WordPress.org

Forums

Anywhere
[resolved] Glitch on Home Page Side Bar? (6 posts)

  1. erichschuler
    Member
    Posted 2 years ago #

    On a blog I just started, http://www.erichschuler.com/blog, I noticed a strange glitch on the side bar. Under my short bio is a Twitter handle which seems to be activated by @Anywhere on all other parts of the site except the home page. Is there a way to fix this?

    http://wordpress.org/extend/plugins/anywhere/

  2. Austin Passy
    Member
    Plugin Author

    Posted 2 years ago #

    The javascript isn't loaded on the home page. In your theme or in a plugin add

    if ( is_home() ) wp_enqueue_script( 'anywhere' );
  3. erichschuler
    Member
    Posted 2 years ago #

    Thanks for the reply. I'm having a hard time trying to determine where to put the code. I've been placing it in a couple locations, my theme's style.css and the anywhere.php but with no success. Does anyone have a solution for this?

  4. erichschuler
    Member
    Posted 2 years ago #

    I was able to fix the problem by adding script in the style's header.php per instructions of this website. Thanks for the help!

  5. Austin Passy
    Member
    Plugin Author

    Posted 2 years ago #

    Remove it from you style.css file! And add it to your themes functions.php file.

  6. erichschuler
    Member
    Posted 2 years ago #

    I already removed it from the style.css file. I did try the code in the functions.php before, but it did not work. Adding some @Anywhere script to the header.php fixed the problem though. Thanks for helping!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags