Support » Fixing WordPress » Twittwer Widgets Configurator

  • Resolved oregonslee


    I just completed the settings for an “official Twitter API” widget to embed my tweets as posts in my word press 3.5.1 website. It asks me to copy a snippet of code and paste into the CSS of my theme. That’s clear, but I don’t know where to paste it in the CSS. Sorry, I don’t know any html. Can somebody lead a blind user, please.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You can try pasting at the END of the CSS file.

    Hi Rajesh, I pasted into the CSS, at the bottom, once just a line above the final “close parenthesis symbol” and once at the very very bottom below all other code and nothing. Both times nothing.

    Interestingly of all the places I have pasted the code, it only works in the Footer PHP file. It’s really unattractive in that spot because it doesn’t work as a post but it proves the widget is functional.

    What is the code that you’re trying to post?
    What is the CSS file name that you tried pasting it?
    What is the content of that CSS file (before you made your changes)?

    What is the footer .PHP file name (and it’s contents) where it WORKED ?!

    This is the code:

    <a href="">Tweets by @SharpeningPro</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);;js.src="//";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

    It is current sitting idly in style.css

    It works in “footer.php” where I place it previously but the twitter feed shows up in the footer, not as a “post” which I am trying to achieve.

    Bye the way, it’s nice of you to reach out.

    That is a JavaScript code. How are you expecting it to work in a CSS file, lol.

    You can add this snippet to your sidebar.
    Login to WordPress
    Go to Appearance -> Themes -> Widgets
    Add a Text widget, enter the code snippet in the content area and save.

    More info here:

    Well I’m glad to be a source of amusement for you. LOL. It’s a small price for your kindness. But really, I did everything exactly as you said and after allowing time for all things to propagate to their places, I logged out and back in, and there it was, just like a charm. You are fabulous:-) There’s not much hope for me as a computer person, but I registered my son this week as a freshmen in Information Technology so he will carry the banner for me. Best wishes.

    Sounds great, glad I could be of help.


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Twittwer Widgets Configurator’ is closed to new replies.