Tag Info

New answers tagged


"Developer" implies that he will have access to the code - in which case he has carte blanche to do whatever he likes. If you actually mean he just has access to the site admin - and I assume this is multisite as you mentioned being a Super Admin - then a site Admin cannot remove a Super Admin / Network Admin. Capabilities are very atomic - meaning if you ...


The blank lines are removed by WordPress after saving the post. If you have to use blank lines, you can instead use following html <div style="clear:both;"></div>


To me you code looks good, I would recommend adding priority as high as 9999 Heres how : add_filter('the_content', 'filter_ptags_on_images', '9999');


Try this. Open your functions.php file and add the following PHP snippet remove_filter('the_content', 'wpautop');


I was curious about this and checked the Codex on keyboard shortcuts, but didn't find it mentioned there. I searched and found out that this seems to be already solved, e.g. here and here. I haven't tested out these other plugins so I'm not sure how they solve it, but I decided to take on the challenge and see how this could be solved ;-) So here's my ...


It's easier then you thought! Just add this code to the functions.php file in your theme. function prefix_set_default_editor() { return 'text'; } add_filter( 'wp_default_editor', 'prefix_set_default_editor' );

Top 50 recent answers are included