Tag Wordpress

Just an admin button

This is a plugin for WordPress which disables the upper admin area in the font side and just displays a button with a link towards the administration. Using this plugin, the preview of the website is closer to how a…
Read More

WordPress – Show the thumbnail and the title of a WP post with Bootstrap media

Add the following code to your theme’s functions.php file: /* * Show the thumbnail and the title of a WP post with bootstrap media */ // Add the shortcode add_shortcode('show_post_wp_bm', 'get_post_title_and_thumbnail_in_boostrap_media'); // Create the function if(!function_exists('get_post_title_and_thumbnail_in_boostrap_media')): function get_post_title_and_thumbnail_in_boostrap_media($atts, $content=null) {…
Read More

WordPress – Allow HTML code in taxonomy description

To allow HTML code in the taxonomy description in WordPress, add the following code to your theme’s function.php file: // Allow html in taxonomy description remove_filter( 'pre_term_description', 'wp_filter_kses' ); remove_filter( 'pre_link_description', 'wp_filter_kses' ); remove_filter( 'pre_link_notes', 'wp_filter_kses' ); remove_filter( 'term_description', 'wp_kses_data'…
Read More