Aman ngeBlog _mestinya_ ngeBlog Aman *** Peace is Worth Everything We Pay.

InsertReplace Plugin for WP 2.0

7 January 2006 – 10:49 pm

Is this a plugin? You can simply say, “Yes!” It’s do nothing except inserting button as many as we need into the quicktag admin post and then replace the code tag with original one we set in array index. On some cases we want to use html tag with special attibute on some special post.

This really for personal need; I just don’t want any tag inserted whice could be have long attribute or has to inserted many times disturb my eyes when writing and editing a post. Escpecially, when a post has more than one charset code like my own; writing and editing some posts whice have Indonesian and Arabic Language on same page for learning purpose.

Actually, I don’t have coding skill, not a PHP’s Master neither WP Plugin writer. All I do just sniff code from some plugins like my-tags writing by Kaf Oseo whice it’s discussed on this thread, and Simon Elvery for inserting button code from his Footnote plugin. Then, and combine it as i can.

You can see buttons inserted on this screenshoot:
InsertReplace Plugin

Installation

  1. Download Plugin
  2. Edit the two variables; (a) is numbering button to avoid conflict with quicktags from the original WP or other plugins, (b) is the array; indexing code elements with the name of our button. Instruction and example on the plugin are clear anough.
  3. Upload to your plugin directory (../wp-content/plugins)
  4. Activate it, and that’s all.

You can edit the simple code of plugin as you need suitable your own purpose. Once again, I am not a coder, so i really need suggestions how is better way to do this and support me to learn more and more.

And the other thing, my english is not good enough. Please remind me if you see my wrong words. Thanks.

2 Responses to “InsertReplace Plugin for WP 2.0”

  1. 1
    Aman Says:

    Memang maksud nyoba-nyoba Ubuntu, nah sekarang kesampaian juga. Buka sana-sini keren juga ya, sederhana dan tidak banyak macam-macamnya. Konfigurasi dan paket-pake di LiveCD-nya juga standar sesuai dengan kebutuhan sehingga tidak ribet. Cuman sayang tidak ada fasilitas save config, dan juga saat saya ngetik di Open Office 2.0 kok ngga mau save. Katanya, file.odt not found. Kok aneh ya?!

  1. 1 Trackback(s)

  2. Jan 9, 2006: Anaknda Ibu Pertiwi » InsertReplace Plugin for WP 2.0

Post a Comment


To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


Personal Blogs

cool hit counter

Free PageRank Checker