Support » Fixing WordPress » Codex instructions on adding Drop Cap quick tags

  • I touched on quick tags in another thread I started, but this warrants its own thread.

    Following the instructions on this page, I tried to create a quick tag for drop caps:

    http://codex.wordpress.org/FAQ_Layout_and_Design

    The instructions are about a fourth of the way down the page. This is what it says to add to my /wp-includes/js/quicktags.js file:

    edButtons[edButtons.length] =
     new edButton('ed_capdrop'
     ,'CapDrop'
     ,'<p id="fp">'
     ,'</p>'
     ,'c'
     );

    My website isn’t live, so you won’t be able to take a look. I just pasted it into the file and successfully uploaded the code. But I can’t find a new button when I try to create a new post.

    Could someone take a look at the above code and let me know if it looks okay? I’m wanting the first letter of each post to be a drop cap. Currently I’m using HTML that I add by hand to each post.

    Thank you!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Codex instructions on adding Drop Cap quick tags’ is closed to new replies.