How to open full Media Editor in a frame
How to open full Media Editor in a frame
How to open full Media Editor in a frame
Instead of disabling it, you’d be better off by hiding it using a bit of CSS trickery. Try this and let me know if it works: add_action(‘admin_head’, ‘hide_quick_view’); function hide_quick_view() { echo ‘<style> span.view {display: none !important; visibility: hidden !important; opacity: 0 !important;} </style>’; } This should be placed in your functions.php file.
This needs to be implemented at the widget code level for which the code in the question you start with is not a good match. The easiest way might be to decouple the widget content editing and the widget placement. You can set up a specific page in which it is possible to manage the … Read more
Find all the functions “get_avatar” used in your theme folder. Identify the wrong calls echo get_avatar($comment,$size=”48″,$default=”<path_to_url>” ); or echo get_avatar($comment,48,'<path_to_url>’ ); If you find these,then change it to echo get_avatar( $comment, 48 ); . Hope this gonna help you 🙂
From WordPress Codex: Changing the capabilities of a role or user is persistent, meaning the added capability will stay in effect until explicitly revoked. You might want to do something like: $roleObject = get_role( ‘editor’ ); if ($roleObject->has_cap( ‘edit_theme_options’ ) ) { $roleObject->remove_cap( ‘edit_theme_options’ ); }
image_send_to_editor filter – Unwanted paragraphs and line breaks
I have found an url which explains it all, just adding some javascript, php and css to TinyMCE by some hooks and you got it up and running. http://codex.wordpress.org/Plugin_API/Filter_Reference/mce_external_plugins
gdaniel, thank you for your reply, but actually I mean different : 1) show missing fields in my post_type listing 2) modify categories block, not to add/delete categories, but always show 2 existing categories, as they are constants for my post_type .
Easy thing, install plugin called tinymce-advanced and in the setting page for the plugin just click check box for Stop removing the p and br tags when saving and show them in HTML editor and save.
My colleague (Talha) solved it. Some files in wp-include weren’t uploaded properly because i was using FTP (Filezilla), I re uploaded the entire folder using cpanel and it worked!