Make wp_editor required

I can’t find any documentation that will allow adding any tag attributes to the wp_editor except for the id. You’ve got two options that I can think of. The first is to include a jQuery dependent (or not) javascript file which will add the required attribute to the editor textarea after the DOM is fully … Read more

WordPress Plugin PHP Not Calling Function

Without seeing your complete code, it’s a bit difficult to answer. Also it’s a big vague when you say that it’s not calling the function (are you getting any errors / warnings?) If you’ve got error reporting turned off, please turn it on. Also, try this: require_once(‘reviews.php’); reviewsPanel(); If the file is not included, “require” … Read more

Pagination 404 error(I have refreshed the permalinks and tried several previous options)

I found the solution. First, in functions.php: function mg_news_pagination_rewrite() { add_rewrite_rule(get_option(‘category_base’).’/page/?([0-9]{1,})/?$’, ‘index.php? pagename=”.get_option(“category_base’).’&paged=$matches[1]’, ‘top’); } add_action(‘init’, ‘mg_news_pagination_rewrite’); and then in wordpress, settings> Permalinks changes must be saved