Image Post creates unusual extra HTML
Image Post creates unusual extra HTML
Image Post creates unusual extra HTML
wp_strip_all_tags() will strip out all the tags. However with posts which just have images and no content. There is no solution to that, the excerpt or wherever you are trying to use it will show blank since it cannot “magically” create content for the post when there is no content at all. For more info … Read more
This feature has been proposed for development over 7 years ago with no results up to now. But, you can scrutinize and/or try the WP Statuses plugin from one of the BuddyPress contributors.
Visual editor on front-end call not working properly
You can use WP Users Media plugin: https://wordpress.org/plugins/wp-users-media/ From description: … disable the ability for users to access other members files and attachments through the Media Button and Featured Image sections…
Here are a couple options. You could just create a stylesheet that loads in the admin area, and enable that for certain users if needed. Here is an example of loading a stylesheet in the admin for users with the role of “shopmanager”. function my_admin_styles(){ $user = wp_get_current_user(); if( ! empty($user) && count(array_intersect([“shop_manager”], (array) $user->roles … Read more
You need to call add_theme_support( ‘editor-styles’ ) in the after_setup_theme hook. More information
The posts page, which is always index.php (main template) of your theme, cannot be edited by neither, Guttenberg nor Classic Editor. Create a child theme, and copy index.php from your parent theme to the child theme. Then you can edit your child’s index.php, using external text editor.
Add below new constant in your wp-config.php define(‘CONCATENATE_SCRIPTS’, false); If the cache enabled in your WordPress, try to clear the cache.
Gutenberg work with Bootstrap Shortcodes plugin