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
- Get the ID of the page a menu item links to?
- Add container to nav_menu sub menu
- One Child Functions.php for Multiple Child Themes
- Disabling pingback and trackback notifications
- Editor role cannot save custom theme options
- How to get comments with mixed status using get_comments?
- How to display the_post_thumbnail if a post has one or otherwise display the first image in a post?
- How to add .htaccess code through a function?
- Is it possible to be more page/post specific with admin_enqueue_script?
- radio button is checked but display not check
- woocommerce target button with class after ajax update
- WordPress doesn’t Load JQuery Now? Do I need to enqueue JQuery also?
- Is it better to assign functions like get_the_id() to a variable if it’s used multiple times?
- How to select a page within admin?
- Gravity Forms – Using a Form to Pre-populate A Gravity Form [closed]
- Adding multiple taxonomy filters to functions.php
- Enqueue Style Only On Certain Pages Not Working
- Loading CDN that requires jQuery in WordPress
- Previous_post and Next_post – Custom Post Type
- Translation of theme using child theme
- Last Login in number of days format
- Display post shortcode content in the sidebar?
- IF Statement on Button to make it complete and “uncomplete” based on user action / click
- Gravity Forms Button Text
- change the url paths in the stylesheet dynamically
- When sale price is 0.00 show only regular price
- Need help getting a function to function
- Load Post into DIV with Ajax
- Running script based on Category
- the_posts_pagination() function returns missing page numbering on some blog pages
- Get array of metakey in all posts
- How do I hook into the container of wp_nav_menu?
- Remove links from the_content when using filters wp_trim_excerpt
- Enable right click on WordPress site
- This code works, but the way I integrated it is breaking the media uploader. How can I integrate it properly?
- How to overwrite template.php file
- Limit number of characters in different excerpts
- How to avoid saving empty data to sql while using add_meta_box
- How to assign php file(template) to several pages with same prefix page name/slug
- Is this a backup door?
- How to fix Function create_function() is deprecated in / themes
- Block all plug-ins from initiating redirection upon activation?
- How to display my comment count in the wordpress admin bar?
- Modifying a WordPress Plugin
- Last updated posts shortcode in functions.php
- I have an fatal error on my funcyions.php
- Get post_author email for Zapier Integration
- If click on Save/Publish change Post Status to Pending Review instead Publish
- Remove the delete link from pages without a plugin
- Custom download page
- HowTo: Add wrapper to columns shortcode?
- Get title from IDs in a string
- uninstall a theme programmaticlly
- Could you please correct the code is_admin()
- Update add_image_size
- Limit length of headline in Editor
- Why my wp_enqueue_script doesnt work on some page?
- Custom general settings (textarea field) don’t output HTML correctly
- Trying to get this function to show below the content
- sort by date in users