Tutorial Added Adding Custom Buttons to Editor WordPress


Sponsored Links






I was written about Customize WordPress WYSIWYG Editor, and on this tutorial is another one. Today we will show you how to adding Custom Button to WordPress Editor. There are so many advantage why we need to added custom button. We can easy added content using Custom Button, we can added extra functions on our WordPress write panels.

WordPress Custom Buttons - Pretty Girl

WordPress Custom Buttons - Pretty Girl

Let’s get started, on this chapter we will added Google AdSense inserted button on our HTML Editor. Before you added this button, you need to create Google AdSense shortcode on your functions.php, this is example

function do_adsense() {
  $adsense = "You Adnsese Code Here";
  return $adsense;
}
add_shortcode('adsense', 'do_adsense');

After you write down the Custom Buttons for you Google AdSense above, the next step is write the code below, please not this code must be written on quicktags.js in the wp-includes/js, but you need to replace this original version (compressed version) with quicktags.dev.js and alter the code by added this

edButtons[edButtons.length] =
new edButton(‘ed_adsense’
,’adsense’
,’[adsense]’
,’’
,'adsense'
);

That’s simple right? save you work and Rerfresh/Reload you Write Post panel. And there you go, you got New Custom Buttons.

References:

Subscribe to Full RSS Feed

RSS FeedIf you thing this article useful, please consider subscribing to our RSS Feed or e-mail updates and stay updated with us. You can also follow @WPTricksNet on twitter for latest updates.

About WP Tricks

We are WordPress Family, we collected and writed useful tips and tricks for you WordPress. We share it for you...

Related Tips and Trick from Local Data and on The Net

How To Add More Button on Visual Mode WordPress Editor

Did you know that, WordPress default WordPress visual mode have limited icon and function. But using some little function we can unlock More Useful Buttons in the WordPress Post Editor. Now I will show you how to do this. We … Read More

How To Set HTML editor as the default on WordPress

Like we all know, WordPress has two editor mode, Visual and HTML. Now using WordPress add_filter() we can force WordPress to set HTML Editor as default WordPress Post editor. Let's do it, first open your functions.php your current themes and … Read More

How To Customize WordPress WYSIWYG Editor

Did you know that, Customize WordPress WYSIWYG Editor is one of my favorite excellent tricks by WP Engineer, please note this tricks need so many code to be added in functions.php on your theme, so read it carefully and happy … Read More

Added Custom Size on Your Post Thumbnails

Chadcoleman created wonderful tutorials, how to added Custom Size Post Thumbnail. All we need to do only put some functions and use it whatever and whenever you want. Added this code on your functions.php That it's, you have new custom

Tutorial Set Default Custom Background in WordPress 3.x

There are a lot of New Features introducing in WordPress 3.x, Custom Background is one of them. Now we will show you How to Set a Default Custom Background in WordPress 3.0. This tutorial original written by Bavotasan that you … Read More

How To Automatically add Twitter and Facebook buttons to your posts

How To Automatically add Twitter and Facebook buttons to your posts, this trick original created by Dev7Studios and I will share it again for you. Like on many many WP Tutorials that I was write on WP Tricks, you need … Read More

Tutorial Added Adding Custom Buttons to Editor Wordpress

Let’s get started, on this chapter we will added Google AdSense inserted button on our HTML Editor. Before you added this button, you need to create Google AdSense read more

Source: http://wptricks.net/tutorial-added-adding-custom-buttons-to-editor-wordpress/

Wordpress: Adding custom buttons to TinyMCE

is an introduction to adding custom buttons to the Wordpress created a class to place custom buttons into the WordPress TinyMCE editor. of the button that gets added read more

Source: http://unrelatedmedia.ca/tutorial/wordpress-adding-custom-buttons-to-tinymce

wordpress the_editor - WordPress Tricks & Tips

Tutorial Added Adding Custom Buttons to Editor WordPress WordPress WYSIWYG Editor, and on this tutorial is another one. Today we will show you how to adding Custom read more

Source: http://wptricks.net/archives/wordpress-the_editor?amp

Tutorial: Adding Buttons To The Post Editor | WPCandy

WordPress Post Editor buttons Tutorial: Adding Buttons To The Post Editor Editor – WP Candy published an awesome tutorial which highlights how to add custom buttons read more

Source: http://wpcandy.com/teaches/tutorial-adding-buttons-to-the-post-editor

How to Unlock More Useful Buttons in the WordPress Post Editor

ve added buttons which are not shown by default on the WordPress post editor for adding custom TinyMCE buttons the WordPress editor. I hope you find this tutorial read more

Source: http://wpmu.org/how-to-unlock-more-useful-buttons-in-the-wordpress-post-editor/


6 Responses to Tutorial Added Adding Custom Buttons to Editor WordPress

  1. Pingback: Tweets that mention How To Adding Custom Buttons to Editor Wordpress # WordPress Tricks & Tips -- Topsy.com

  2. Web Design says:

    Thank you, nice tutorial. :)

  3. Pingback: Tutorial Multi-Site option in WordPress 3.0 | Unlock IMEI Cellphones

  4. Leichim says:

    Nice way of quickly integrating adsense into wordpress!May I ask what plugin you are using to display your code in this post?

    Kind regards.

  5. Pingback: Tutorial Multi-Site option in WordPress 3.0 | Silver Blog

  6. Niraj says:

    Hello
    I need some help
    in dashboard, in add new post if i want that to enter some different data which will appear on the top of the post with some separate text boxes?How to do it?
    for e.g:-
    there is a website of universities information(in wordpress), in add new posts i m entering some post
    but i want that before the post nd after the heading i should get some fields like this
    Name:
    Location:
    Details:
    then the post should continue
    but there should be some kind of text boxes nd labels in dashboard so it makes more easier to enter the data
    is it possible?
    or is der ne plugin to add such thing

    plzzz help

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>