• 0
Sign in to follow this  
Followers 0

Twitter widget


Question

Posted · Report post

Hi All

 

I am trying to implement a twitter widget using the twitter code in a morefoot section on www.magva.com

It should be appearing in the middle widget but as you will see, it appears during the loading and then disappears again.

 

Anyone any ideas on why this might be?

 

The only custom CSS I have for the morefoot section is:

/* this changes the colour's in the morefoot and the font-size */

#morefoot { background-color: #404040; }
#morefoot .widget { color: #ffffff; }
#morefoot .widget-title { color: #ffffff; font-size: 92%; } 

This is the code that I am getting from the twitter site:



			
		

Share this post


Link to post
Share on other sites

11 answers to this question

  • 0

Posted · Report post

Keith,

 

Framework's Morefoot has had some issues with Javascript for a long time.  I tried adding the code for Google AdSense and other ad systems there a while ago and it made havoc with my site.  I never did find out why the Morefoot reacts so badly.  Keep in mind, the AdSense code isn't the actual Javascript, but just a call to it -- the script itself being fed by Google, not locally.

 

I was able to make the Twitter Timelines work in my sidebar, if that helps.  https://dev.twitter.com/docs/embedded-timelines

 

It was easy, efficient and customizable. You may want to consider that option.

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Think I have an answer to this one. I have the twitter widget working on another site hence I don't think its a code issue.

 

Q> Does the morefoot section allow a widget such as the twitter widget? Might there be a coding conflict?

 

Thanks

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

Whats the code you're using for your Twitter Widget and where have you added the code into a Text Widget ?

 

Can you add your code here - http://paste.pagelines.com/ Then provide a link to your pastie please.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

OK, you shouldn't add Javascript anywhere on your page. All javascript should be added to:

 

Wordpress Admin Dashboard > PageLines > Site Options > Custom Code > Header Scripts or Footer Scripts.

 

So the <a> link of your code should be added to the TextWidget and the javascript should be added to the settings above.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks Danny. Tried that but getting the same result. 

 

The Widget appears while the page loads but then disappears.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I think I'll abandon this method for the moment. Have an alternative that might work. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

You must have some other script or plugin causing the issue, the code works perfectly for me.

 

http://d.pr/i/5cvk

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks Danny. Will have to do some digging if I opt to use it later. It might have something to do with the colour fill I am using in the footer.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks Rob

Yea I managed to get them in another site in the sidebars with no trouble. 

Ultimately I opted to use a plugin (DW twitter) to get the functionality in the morefoot section. Has worked with no issues. 

 

Would have preferred to use the twitter code though. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

You're very welcome Keith, as always!

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0