-
AuthorPosts
-
August 31, 2013 at 9:22 pm #28782
The tabbed box layout feature is not letting me display the RSS fees my client wants. Additionally, every time I try to make a change to the code it does not save those changes and it adds in code ( // <![CDATA[ , // ]]> ) on it’s own.
Example:
This is the code I’m dropping in for my client’s Twitter account feed:
<a class="twitter-timeline" width="100%" href="https://twitter.com/FXConnection" data-widget-id="373919252522102784">Tweets by @FXConnection</a>
<script>!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>
And this is what is happening:
<a class="twitter-timeline" href="https://twitter.com/FXConnection" data-widget-id="373919252522102784">Tweets by @FXConnection</a>
<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>I’m approaching the deadline for the site to be completed and this is a deal breaker for them. Any assistance you can provide is much appreicated!
TIA!
August 31, 2013 at 10:56 pm #138629Hi,
Be sure you are in the Text tab when adding code to the post content:
Regards,
Josue
August 31, 2013 at 11:09 pm #138630I am in the text tab. Which is also why I am confused as to why WordPress is doing this. I should also mention that when I switch back to visual mode from text mode (after dropping in the code) the feed displays properly (in the visual tab); but when I switch back to the Text edir tab or update the page, the same issue happens where WordPress adds in code and the feed does not display.
Another issue that maybe you could help out with is telling me if there’s any shortcode I can use to change the background and text colors in the headers for my accordion slider.
ty!
September 1, 2013 at 12:12 am #138631Hey,
Do you have the latest version of the theme? Please download Enfold 2.0.1 on your themeforest account. The backslash issue should be fixed on the latest update. Also, upgrade your WordPress installation to 3.6.
I tested the code you provided, this is what I see:
Regards,
Ismael
September 1, 2013 at 12:25 am #138632WordPress and Enfold are both up to date (made sure of that this morning before I started working). I’m still getting the issue. (it’s also affecting my news feed as well). Website URL: http://learnfxc.com/beta1/
Code for the news feed:
‘<script type=”text/javascript”>
<!–
rssmikle_url=”http://www.dailyfx.com/feeds/forex_market_news”;
rssmikle_frame_width=”100%”;
rssmikle_frame_height=”350″;
rssmikle_target=”_blank”;
rssmikle_font=”Arial, Helvetica, sans-serif”;
rssmikle_font_size=”12″;
rssmikle_border=”on”;
rssmikle_css_url=””;
rssmikle_title=”on”;
rssmikle_title_bgcolor=”#0066FF”;
rssmikle_title_color=”#FFFFFF”;
rssmikle_title_bgimage=”http://”;
rssmikle_item_bgcolor=”#FFFFFF”;
rssmikle_item_bgimage=”http://”;
rssmikle_item_title_length=”55″;
rssmikle_item_title_color=”#676767″;
rssmikle_item_border_bottom=”on”;
rssmikle_item_description=”on”;
rssmikle_item_description_length=”150″;
rssmikle_item_description_color=”#666666″;
rssmikle_item_date=”off”;
rssmikle_item_description_tag=”off”;
rssmikle_item_podcast=”off”;
//–>
</script>
<script type=”text/javascript” src=”http://feed.mikle.com/js/rssmikle.js”></script>
<div style=”font-size:10px; text-align:right;”>
<!–Please display the above link in your web page according to Terms of Service.–>
</div>
‘
September 1, 2013 at 10:47 pm #138633 -
AuthorPosts
- The topic ‘Tabbed box item screwing with RSS feed code’ is closed to new replies.