I found it, it was actually clearing when inputting apostrophe (‘) which conflicts in database save, to solve I used htmlentities() adn js replace to replace and save apostrophe with apostrophe code.
<input onkeyup="valid(this)" type="text" name="faq_2_title" style="width:100%;" placeholder="Tab Title" value="'. htmlentities($faq_2_title) . '"></input></h2>
js:
function valid(f) {
f.value = f.value.replace(/'/g, ''');
}
Related Posts:
- Metabox repeating fields – radio buttons not saving correctly
- How to remove a metabox from menu editor page?
- Why is my custom meta box input not saving
- add_meta_boxes action with refresh on save
- Save selected item from dropdown menu in a meta box as a metadata value for a custom post type
- Second select list values are not saved after clicking update
- Saving metabox repeatable fields
- wp_editor and WPAlchemy messes up tags when updating
- Register non hierarchical taxonomy and the show meta box in the post type
- Customize Plugin
- How to select the contents in the text view textrea in wp_editor?
- Can I prevent the user from adding more than two levels deep of terms inside of a taxonomy metabox?
- Image media upload metabox
- Loop with slider (slider not loading)
- Linking text within textarea of custom meta box
- Need Help Fixing My Iframes [closed]
- Remove metabox from WordPress menu editor page?
- MetaBox body is not showing (the callback function)
- Trying to retrieve post meta
- can i fetch a custom metabox data in another page or post type?
- WordPress from url get external source title
- Limit checklist by the current user
- How to convert select to HTML with PHP tags inside of it [closed]
- Sanitizing text fields in array
- Saving zero in meta box
- Show meta box only for default page template
- Illegal string offset in PHP function
- Find a way to retrive data updated through metabox plugin to web page
- Why does this update_post_meta function not delete the custom field itself?
- Metabox Not saving data
- meta box not display data input in the textarea
- Usage of call back function of add_meta_box()
- How to store multiple custom meta box
- Show metabox only for homepage
- Add editor toolbar to Metabox
- Warning: call_user_func() expects parameter 1 to be a valid callback, function
- How do I make this Metabox show current DB value?
- How to insert data from metabox to custom table
- save metabox with new values _wp_page_template
- Unable to Call More than One Meta Box Output
- Dynamically replicate custom metabox in custom post type
- Post meta select input, if statement
- Display background color or image with custom meta box?
- save_post action inside a custom metabox class not working
- Meta boxes only displayed when editing normal (default wp post_type) posts
- Add a Metabox checkbox to the Page Edit screen of wp-admin , which only certain roles can see and Makes only certain roles able to Edit said page
- Checkbox doesn’t save inside metabox
- Dropdown category field inside repeatable metabox
- Create shortcode for metabox gallery
- Display metabox galleries on specific page template in admin editor
- add ‘publish metabox’ to Gravity forms edit page/form area
- Unable to update the meta boxes with multiple fields
- Get value of submit button in custom post type
- Metabox – Displaying the Value of a Metabox
- meta field for numerous links
- Custom fields changes the formatting of metabox input
- WordPress AJAX load post metadata in modal
- Inline Styling a div from a Custom Metabox
- Custom meta box save values issues – Deprecated: Function ereg() and more
- custom field meta-box with dropdown/autocomplete
- Display a post based on its metabox selection
- Save data of select list after clicking save
- Repeatable field within repeatable group of fields
- Help with my first Metabox helper class
- Custom Meta Boxes and Fields Multicheck Issue
- If custom field doesn’t exist, or exists and it’s true show title?
- Hide sharing box and author box with a metabox on WordPress
- Metabox Input Not saving
- Creating a function that sanitizes the custom metabox excerpt
- How to callback custom field text
- How to Publish WP original Source metabox value on front-end webpage
- Where can I find the code for the menu page meta boxes?
- Custom Meta Box If Else Statement
- PHP Puzzle: Unique Styles with PHP loop
- Display custom meta box in my template file
- send meta box input data without publish button
- metabox displaying on incorrect page
- Warning: Illegal string offset ‘post’ and ‘page’
- REST API custom endpoints for metaboxes
- Save Edit button then disabled readonly metabox
- How to get meta box labels?
- Setting $_SERVER[‘HTTPS’]=’on’ prevents access to wp-admin
- Adding a search form inside a div
- Dynamically change feature image in customiser
- Getting a fatal error while updating
- Using is_page() in functions.php not working at all
- #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
- How to override wp-admin styling
- How to call function at the bottom of post using plugin?
- How to create a php variable using WordPress the_title() function
- Custom PHP App with a wordpress site
- How to use if statement in an array? [closed]
- How to check if a PHP string is different than meta field?
- How to SELECT number from table and use in calculation . Unsupported operand types
- check if page have children, but not attachment
- How can I edit the final HTML structure of the whole web page
- I am having an issue with this shortcode plugin.. Warning: Illegal string offset ‘title’
- Make first child link default instead of its parent
- I want Page titles and excerpts to show up on home.php in certain order
- Advanced custom fields Repeater conditional statement not working [closed]