Subscribe to our feed...

http://feeds.feedburner.com/design-notes

  • Push Your Designs To Perfection

    goldSCHNITT is a small stand alone application for MAC that helps you apply golden ration to your design. Golden ratio(1.61803) is believed as a ratio of perfection. It has been used by many artists and architects through the history.

    Now we have this small app called goldSCHNITT to help you implement golden ration into your design.

Using WMD editor at comment area in WordPress

Under: Wordpress 2 comments

Recently someone asked me how to get WMD editor plug-in work with WordPress. It took me a while too, because the author’s explanation isn’t very clear.

WMD is a simple, lightweight HTML editor for blog comments, forum posts, and basic content management. You can add WMD to any textarea with one line of code. Add live preview with one line more. WMD works in nearly all modern browsers, and is now completely free to use.

Yes, good explanation. Wait a minute, you did say exactly which line of code adds WMD editor to text area.Then I had to go to WMD’s site, download their files and found a “read me” file.

By default, WMD will turn the first text area on your page into an editor.

So the editor should turn up automatically. The reason it doesn’t sometimes, could be because of other plug-ins like wp_super cache. You have to clear the cached pages.
If it still does not work add this line before </body>

 <script src="http://yourdomain.com/wp-ccontent/plugins/wmd/wmd.js" type="text/javascript"></script>

If the WMD editor appeared at a wrong place, you put this class at the textarea:

class=”wmd-ignore”

To view live preview put this in comment.php

<h2 class="previewtitle">Live Comment Preview</h2>
ADD TOAdd To Evernote

If this helps, why not tell your friends?

  • Reddit
  • del.icio.us
  • StumbleUpon
  • Facebook
  • Technorati
  • Design Float
  • Identi.ca
  • FriendFeed
  • Yahoo! Buzz
  • Ping.fm

2 Responses to “ Using WMD editor at comment area in WordPress ”

  • KeHoeff says:

    hey this is a very interesting article!

    [Reply]

  • saç ekimi says:

    very nices article.
    saç ekimi´s last blog ..saç ekim fiyat

    [Reply]

  • Leave a Reply

    All fields marked with "*" are required.