Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Including code under a button for readers to snag

Old Mar 30, 2009, 07:08 PM
25 posts · Feb 2009
I made a button for my blog and want to include code underneath so that people can use it. I like this format:

Where can I get code to create this? Thanks!!
Old Mar 30, 2009, 08:47 PM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
Not sure if this is overkill for s single piece of code but I use the plugin WP-Syntax to post code in WP but that would be for code in posts and looks like you're putting it into a sidebar.

In that case try

HTML Code:
<pre class="mycode"> YOUR CODE </pre>
i.e. in a text widget

and add a HTML/CSS Inserts -> CSS Insert

HTML Code:
pre.mycode {
width: 200px; 
height: 150px;
overflow: scroll;


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing entire page including sidebars, header, etc. peterf Atahualpa 3 Wordpress theme 8 Dec 20, 2011 08:18 PM
Search Button Cali Header configuration & styling 7 Jul 23, 2009 09:43 PM
How do I allow readers to search and go to specific comments? rewardshelp Comments, trackbacks & pings 3 Jun 29, 2009 09:31 PM
including page menu bar in static home page Lee Mandell Page & Category Menu Bars 1 Jun 4, 2009 08:35 AM
Stumbleupon button evilsciencechick Post-Kicker, -Byline & -Footer 1 Feb 4, 2009 07:10 AM

All times are GMT -6. The time now is 11:26 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.