Warning: preg_match(): Compilation failed: invalid range in character class at offset 14 in /Users/braddalton/Desktop/wpsites.dev/wp-content/plugins/easy-custom-fields/easy-custom-fields.php on line 518
]]>I tried to create custom-field with wysiwyg editor, getting the editor on the edit page as well, however content set there is showing html tags under visual tab and when we switch to html tab, it convert those html entities, e.g. ‘<‘ to & gt ;
I am using wp_editor function to print the field in the form, sample code below:
wp_editor( $value, $id, array(‘wpautop’=>false, ‘media_buttons’=>true, ‘textarea_name’=>$id, ‘tabindex’ => 2 ) );
I think, the way I am setting the value in editor in not correct.
Please suggest me the right way for that.
Thanks
Meta Boxes always appear on Pages and Posts regardless of the ‘pages’ setting. Will never appear on custom post types.
The ‘pages’ setting doesn’t survive Easy_CF::parse_field_data() – where it is excluded from the construction of Easy_CF::_field_data. Since that array key is not set the default setting for ‘pages’ is used in Easy_CF::add_meta_box()
suggested fix:
add the ‘pages’ element to Easy_CF::_field_data.
'pages' => $group_data['pages'],
to line 570 of easy-custom-fields.php (in Easy_CF::parse_field_data() )
I tried using the ‘Simple Usage’ code in my functions.php file. I got it to come up like I needed at the bottom of my posts and then I entered the information.
Once I click update/publish on the post the screen refreshes and says published. Then I scroll down and realize that the content I just entered in the fields has disappeared.
Can someone please help me figure out why this is?
Thanks in advance!
]]>Hi I get this error when saving a post. The fields show up correctly, however when I save the draft I get the error below.
Fatal error: Call to undefined function get_post_type_object() in /home/*/public_html/test2/wp-content/plugins/easy-custom-fields/easy-custom-fields.php on line 427
No idea why.
]]>Hi,
I am looking something like this plugin but image handling is important for me. I want to use wordpress upload function but this images must use in different places then wordpress default gallery