1. Home
  2. WordPress Tips

WordPress Tips

[How To] Remove Block Library CSS from WordPress

WPAssist / WordPress Hacks - October 1, 2023

Gutenberg, the default editor for the latest WordPress installations, uses special CSS libraries to manage blocks on your front end. If you are using this new WP editor, it will automatically add this library CSS code on your site; <link rel=’stylesheet’ id=’wp-block-library-css’ href=’https://wpassist.me/wp-includes/css/dist/block-library/style.min.css’ type=’text/css’ media=’all’ […]

[How to] Add New Tags or Taxonomies to WordPress using PHP

WPAssist / How To - April 8, 2020

function wpassist_insert_terms(){ $ahc = get_term_by(‘name’, ‘American Heroes Channel’, ‘post_tag’); if( !$ahc ){ wp_insert_term( ‘American Heroes Channel’, ‘post_tag’); wp_insert_term( ‘Discovery Channel’, ‘post_tag’); wp_insert_term( ‘Animal Planet’, ‘post_tag’); wp_insert_term( ‘USA Network’, ‘post_tag’); wp_insert_term( ‘Amazon’, ‘post_tag’); wp_insert_term( ‘TNT’, ‘post_tag’); } } add_action( ‘wp_head’, ‘wpassist_insert_terms’ );

Subscribe to WPAssist

Loading