In theme options, I had to define wp_editor_settings. So, just in options.php, I used:
//WP_editor settigs
$wp_editor_settings = array(
'wpautop' => true, // Default
'textarea_rows' => 15,
'tinymce' => array(
'plugins' => 'fullscreen,wordpress,wplink, textcolor'
));
Basically, I’m adding tinymce plugin.
Related Posts:
- Add multiple custom fields to the general settings page
- bloginfo() vs get_option?
- what is the meaning of settings_fields()
- How do you permanently remove default rewrite rules from the wp_options table?
- How to save Uploaded image in custom option panel?
- How to add an export function to a custom Option Theme Page
- Set default options for inserting media
- Updating users_can_register option?
- How can I stop a function from encoding an entity?
- Fatal error when trying to get admin email on contact form
- options.php problem – data not saved
- Hook specific functions if on a specific admin page
- Simple custom theme option not being saved
- Why does the ‘wp_nav_menu’ function work only until a menu is created?
- Image rotation fails to regenerate custom sized thumbnail
- Two Types of settings in WP – The Doubt
- What is the correct way of updating wordpress options
- Generating dynamic css into custom file [closed]
- How to call particular funcion when the check box is checked in plugin options page
- Move Custom Fields on General Settings Page to New Location
- Option Tree integration of Custom CSS
- Turn get_posts as string into an array for use in theme admin options
- Show some menu sub items as dropdown under a menu item
- $_Get and &_REQUEST Index Undefined on Functions.php
- call_user_func_array() expects parameter 1 to be a valid callback, function
- Adding theme option values as custom body class
- “options.php” not found
- remove/hide wp-editor
- How do I register a new settings page? [closed]
- How to add or delete default value theme options while activate and deactivate theme
- How can I stop the hook from breaking the login/logout function?
- Adding a meta box fields to child theme options page
- Settings in functions.php used by a plugin
- Random text changing to weird icons in both admin & front end
- Register a widget area when a theme option has been saved?
- theme options not saving
- Hiding Google Analytics code based on theme options
- Options.php loop won’t show!
- Why don’t ‘wp_nav_menu’ CSS classes work until a menu is created?
- When the WP_EDITOR button is pressed, the user is prompted to select a photo from their device
- Missing feature image link function
- What’s the difference between home_url() and site_url()
- Remove “Category:”, “Tag:”, “Author:” from the_archive_title
- get_template_directory_uri pointing to parent theme not child theme
- How to customize the_archive_title()?
- remove empty paragraphs from the_content?
- What is the “with_front” rewrite key?
- Why use if function_exists?
- How to override parent functions in child themes?
- wp_enqueue_script was called incorrectly
- Ajax call always returns 0
- 400 bad request on admin-ajax.php only using wp_enqueue_scripts action hook
- How long does a deprecated function live in core?
- Solution to render Shortcodes in Admin Editor
- How to add a data attribute to a WordPress menu item
- What’s the difference between esc_html, esc_attr, esc_html_e, and so on?
- remove_action on after_setup_theme not working from child theme
- plugins_url vs plugin_dir_url
- Remove type attribute from script and style tags added by WordPress
- How to run a function every 5 minutes?
- get_option() vs get_theme_mod(): Why is one slower?
- Best way of passing PHP variable between partials?
- Upload Multiple Files With media_handle_upload
- How to display custom field in woocommerce orders in admin panel?
- Adding fields to the “Add New User” screen in the dashboard
- Issues with title-tag and document_title_parts
- How do I get the current edit page ID in the admin?
- How to check if a user exists by a given id
- Why isn’t is_page working when I put it in the functions.php file?
- Add tags to the section via functions.php
- Add image size if page template
- How to create a custom order status in woocommerce!
- Remove Actions/Filters added via Anonymous Functions
- Adding a second email address to a completed order in WooCommerce [closed]
- How to load parent_theme functions.php before child_theme?
- How to load scripts/styles specific for a page
- Programatically add options to “add new” custom field dropdown
- Is there any global functions.php file which works for any theme?
- Excluding iPad from wp_is_mobile
- When should you, and when should you not, use wp_list_pluck()?
- Get the ID of the page a menu item links to?
- Add container to nav_menu sub menu
- Difference between the_permalink() and get_permalink() function
- What’s the difference between WordPress random_int() and PHP built-in function random_int()?
- Child theme – Overriding ‘require_once’ in functions.php
- Link to user’s profile settings page?
- WordPress Enqueue for homepage only, functions.php, wp-framework
- get php variable from functions php and echo it in theme template files [closed]
- Get menu object from theme_location
- Is it ok to use a function to output the text domain name in a wordpress theme
- Displaying the number of updates available in the Admin area
- Trying to use add_action and do_action with parameters
- Use AJAX in shortcode
- Set JPEG compression for specific custom image sizes
- Can the new 4.8v text widget visual editor be removed?
- Prevent “main” WPMU site_url() being returned in functions
- Include files in child theme functions file
- Memorizing syntax
- Custom page with variables in url. Nice url with add_rewrite_rule
- Define page template in wp_insert_post