twitter profile widget not showing in wordpress - wordpress

I created a profile widget in twitter and i got the following code they said just copy and paste in yout html. but its not showing.
<a class="twitter-timeline" href="https://twitter.com/in_DNA" data-widget-id="244847523552952***">Tweets by #in_DNA</a>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
i copied this code to my footer and sidebar, but not showing tweets.
is there any better plugin for this?
please help.

If your question is for a good Twitter plugin, I suggest Twitter Widget Pro. I use it on my website, and never had problems. Very customizable using CSS.
See: http://bluedogwebservices.com/wordpress-plugin/twitter-widget-pro/
If you're looking to get the code you posted to work, then you may need to add the JS to an external file and include it in your header or footer file. You can't just paste JS into your widget.

Related

Website content like " [sc_countdown year=”2019″ month=”1″ day=”1″ hour=”0″ minute=”0″

Why a website is showing the content like:
[sc_countdown year=”2019″ month=”1″ day=”1″ hour=”0″ minute=”0″ bg_color=”#” num_color=”#ffffff” show_second=”1″ css_animation=”” animation_delay=””]
The whole page is showing content like this. It is based on WordPress and using a theme. Does anyone know why is this and how to fix it?
This is a WordPress shortcode. My guess is there is some sort of countdown plugin that you need to install in order for this content to display correctly. Or maybe the plugin you're trying to use is deprecated, so the shortcode isn't working anymore, and is instead just displaying as plain text on your page.
There are plenty of other countdown plugins you can install that will hopefully work for you.

How to edit Wordpress code for a specific page?

I feel kind of stupid asking this but... I have three pages on my website. There is one of them I want to edit. How do I access the code of this page? I need to change the size of a Google Maps I have embedded on the page.
Go edit this page, in the right sidebar look for Template in page attributes box. This page should be using a template, go to your theme folder and look for a php file with the similar name, when you open, it should have the exact template name in the header, that's where you can edit the code of this page assuming that it use a template.
I managed to solve the problem by playing around with some divs in the css.

Having trouble in embedded post in Joomla 3.3.6

I'm having a problem in including embedded post in a Joomla! article. I'm using the TinyMCE editor.
Steps I have followed :
In Text Filter Settings for Super User - No filtering
In TinyMCE settings - remove script and Iframe tag from "Prohibited Elements".
I'm not able to add Pinterest code:
<a data-pin-do="embedPin" data-pin-width="medium" href="https://uk.pinterest.com/pin/dfg/"></a>
It's likely that the code is getting stripped out because the link is not wrapped around any text. You could possibly add inside the link. However, I would suggest using the "None" editor when adding embed code to your posts. I use Switch Editor to quickly change editors.
Switch to "None"
Add the embed code
Save the article
Switch back to your favorite WYSIWYG editor to edit other articles

Prevent to automatically render youtube links in Wordpress Comments

Wordpress is now replacing the youtube links that people post into comments of a post with the actual video. It is rather anoying and I would like to know if it is possible to leave the link as is and not add the embed code to view the video directly from the comment container?
Have you tried entering that code in the TEXT tab rather than the VISUAL tab of the editor?

Iframe implementation for Wordpress

Does anyone know a way to implement an iframe on a WordPress website. Every time I place the code onto the correct page, wordpress strips my code and the iframe breaks.
I was wondering if there was a plugin that allows iframe code to stay intact or if there is some form of shortcode to use.
I have tried:
[iframe url="http://www.youtube.com/embed/X3kLPtVjjhA" width="579" height="360"]
[fixiframe url="http://www.youtube.com/embed/X3kLPtVjjhA" width="579" height="360"]
and installed the "embed iframe" plug-in on my site but none of them seem to work.
I appreciate the help.
You don't need an iframe to post a youtube video, but to answer your questions about iframes in wordpess..
I am not sure what those plugins do. You can create page templates and have iframes in your pages without using any plugins.
Create a new page template and add the iframe in the php code for that page template. More specifically, create a copy of page.php and rename it. In the comments at the beginning of the file, edit the line with the template file name to Template Name: MyPage. Edit the page code and add iframe code where you need it. And select this template (MyPage) as the template for your page in page edit section wp-admin.
You can also add the embed code as meta information to page in wp-admin, and fetch this meta information in the code to display the iframe. In this way, you can use different iframes for different pages with a single template.
Let me know if you need help with this. I will post a complete solution
Why are you using an iframe to load a Youtube video, you should use the embed tag that they show under the video...
I have iframes in my wordpress for all the Facebook/twitter buttons and they work great!

Resources