TinyMCE Anchor Button not showing

I’m using this filter and function to display a custom, stripped-down version of the TinyMCE editor. Everything works as it should…except the ‘Anchor’ button will not show (‘anchor’)? According to the TinyMCE website (http://www.tinymce.com/wiki.php/Controls), that is the control to use. Does anyone know why the anchor button will not show? EDIT: the code example comes … Read more

How to add a button to custom post type’s posts-page

How can I add a button to a posts -page. (In this case a custom post type). I’d like to place it next to, or near, the “Add new” button, to import content from a web service. 2 Answers 2 You can add button via add_meta_box function. function add_your_meta_box(){ add_meta_box(‘your-metabox-id’, ‘Title’, ‘function_of_metabox’, ‘custom_post_type’, ‘side’, ‘high’);} … Read more

How i can i add a split button or list box to the WordPress TinyMCE instance

I have added a custom button to the tinymce to insert my shortcodes, but I have so many and I want to make a splitbutton instead and I can’t figure how. Anyone can help. Here’s the code that I’ve used to create the normal button: in functions.php : /** Hook into WordPress */ add_action(‘init’, ‘onehalf_button’); … Read more

How to add multiple buttons to TinyMCE?

I’ve followed a tutorial on Nettuts on how to add a custom button to TinyMCE (http://net.tutsplus.com/tutorials/wordpress/wordpress-shortcodes-the-right-way/) It works great and all, but i want to add many buttons and i wonder if there’s a smart way to do this without having to duplicate all the code over and over. Here’s the code i use for … Read more

Primary and Secondary Button Classes

I’m trying to style some buttons in a function (below) with the default WordPress button classes but the buttons are not being displayed (only the hyperlinked text is showing). I also tried deactivated all plugins and switching to a default WP theme to see if the buttons would display, but this issue still persists. So … Read more