code box in text widget
-
I’m trying to create a code box along with my blog button in a text widget so that readers can copy and paste the code on their sites and my button will appear. This is the code I’m using:
<center><img alt=”Hugs, Kisses and Snot” src=”http://hugskissesandsnot.files.wordpress.com/2013/02/yellow-button.jpg” /><center>
<center><textarea id=”code-source” rows=”3″ name=”code-source”><center><img border=”0″ src=”http://hugskissesandsnot.files.wordpress.com/2013/02/yellow-button.jpg” /></center></textarea></center></center></center>
HOWEVER, whenever I hit “save” the second group of code is automatically changed to look just like the first. I end up with two blog buttons right on top of each other instead of a blog button with a code box underneath. I’ve tried it several times and get the same result.
Any help would be greatly appreciated.
The blog I need help with is http://www.hugskissesandsnot.com
The blog I need help with is: (visible only to logged in users)
-
As you already have your image created then you can use this grab my button generator for those of us who have free hosted WordPress.com blogs. See the grab my button code generator here > http://www.mycoolrealm.com/sandbox/gbgen/
-
-
-
Shared your site on my FB page and Twitter and pinning on my “Blogging” board. Love finding sites that save time and my sanity.
Cheers -
- The topic ‘code box in text widget’ is closed to new replies.