Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I tried this fix: http://www.paulund.co.uk/display-full-tinymce-editor-in-wordpress

But I see no change in my editor. So how do I enable tables in the wordpress editor.

MY function is:

function tinyMCETables($args)
{
 $args['theme_advanced_blockformats'] = 'p,address,pre,code,h1,h2,h3,h4,h5,h6';
 $args['wordpress_adv_hidden'] = false;
 return $args;
}
add_filter('tiny_mce_before_init', 'tinyMCETables' );

And yes, I know about the tincMCE Advanced plugin but I want to build the feature into my theme. Is there another way to enable tables?

share|improve this question
    
I don't see your tinyMCETables function actually adding anything to do with tables. –  vancoder Mar 18 '13 at 16:30
add comment

1 Answer

updated with more explanation

If you want to build this into your theme - this tutorial for adding some code to functions.php will work. Keep in mind you will have to download TinyMCE and add files to /wp-includes for this to work.

That's because "table management" is a plugin for TinyMCE and doesn't ship with Wordpress. For that reason, I would highly recommend just using a plugin.

Relevant Links

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.