WordPress.org

Forums

Twitter Feed: Embedded Timeline WordPress Plugin
[resolved] Custom Height Resets When Editted in Visual Mode (3 posts)

  1. adamvlaw
    Member
    Posted 2 years ago #

    I am customizing the twitter widget to only be 200px high for the area of the home page I am putting it in. It works great after adding in the code in text editting mode, but if I go into visual mode and update the page, it just gets ride of my "height=200px" code. It does keep my other customizations like link-color and data-chrome. Can anyone help me with this?

    Best,
    Adam

    HEre is the code I'm embedding....

    <div>height="200" data-chrome="noheader noborders" data-link-color="#ff0000">Tweets by @DivarisRE
    <script type="text/javascript">// <![CDATA[
    !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
    // ]]></script></div>

    http://wordpress.org/extend/plugins/wp-twitter-feed/

  2. Alex Moss
    Member
    Plugin Author

    Posted 2 years ago #

    This is not the plugin code but your own code embedded into the site.

  3. shamilweerakoon
    Member
    Posted 1 year ago #

    Hi Alex,
    How can I change the style (height) of the layout (iframe) that is the output of the shortcode.
    Pls let me know.

    Tks

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Twitter Feed: Embedded Timeline WordPress Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic