HowTo: Add Your Favorite Quicktags

Each time I browse the WordPress Documentation site, I found great recourses that we are missing!
One of these resources is Podz’ WordPress Guides. I`m not sure about you, but I think a lot of blogger misses such resources!

One of the great articles Mark (aka Podz) wrote was the Quicktags Guide. In this article Mark will teach you how to add more Quicktags to your Code Editor Quicktags list. This is a super tutorial, especially for those who don’t use the Rich Editor, like me.

Adding the frequently used Quicktags will save you a lot of time, and in my case these tags would be h3, sup, left/right floated(<span>) objects(e.g. Adsense blocks).

I really think that using Quicktags to customize your posts will save you a lot of work, as for me, each time I want to put an Adsense block within a post, I need to enclose it with a span and add a specific style. For this I added two Quicktags to do the job for me:

edButtons[edButtons.length] = new edButton('lspan'
,'Lspan'
,'<span class="ladsense">'
,'</span>'
,''
);

edButtons[edButtons.length] = new edButton('rspan'
,'Rspan'
,'<span class="radsense">'
,'</span>'
,''
);

With two CSS classes:

.ladsense {float:left; padding:0 3px 3px 0;}
.radsense {float:right;	padding:0 0 3px 3px;}

This way, all I have to do is to insert the Adsense html comment provided by the great Adsense-Deluxe plugin and enclose it with one of the above tags with one click!

Questions For You:

Do you use Code Editor?
Do you use specific Quicktags more often?

Related Entries

Your Ad Here

Comments

6 Responses to “HowTo: Add Your Favorite Quicktags”

  1. Hans on April 10th, 2007 9:29 pm

    Thanks for the link, just the right stuff I was looking for to ease my writing :)

  2. admin on April 10th, 2007 10:43 pm

    You are welcome Hans, thanks for passing by!

  3. vibhash on April 14th, 2007 8:44 pm

    Hay wassup man!!!
    Me back to blogging after a long time:)
    This theme looks pretty…and i really love your RSS button :)

    Well im having a Pro Blogger Contest but its only for Indian bloggers…

    But you can always join the forum, and share some tips…and Im planning to have a Aggregated feed from some good bloggers which will be syndicated to the dashboard of their admin panel (like you see in wordpress).
    So if you are interested, you can join the network:)

    cheers.
    vib.

  4. admin on April 14th, 2007 11:30 pm

    Great man!
    I see that you’ve done a lot of work!

    Keep up the good work ;)

  5. Brown Baron on May 15th, 2007 7:03 am

    Nice find. I’ve been looking for something like this, thanks.

  6. admin on May 15th, 2007 10:57 am

    Your are welcome, thanks for passing by.

:: Trackbacks/Pingbacks ::

No Trackbacks/Pingbacks