Load Google Fonts Asynchronously For Page Speed
Add this snippet to the “themenamehere_load_scripts()” function in your theme’s functions.php wp_enqueue_script( ‘google-webfonts’, ‘https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js’, array( ‘jquery’ ), ‘1.5.18’ ); wp_enqueue_script( ‘custom-gfonts’, get_bloginfo( ‘stylesheet_directory’ ) . ‘/js/fonts.js’, array( ‘jquery’ ), ‘1.0.0’ ); Create a file in your themes js folder named fonts.js. Paste in the code below. Of course change the fonts as needed here. WebFont.load({ […]
Pure CSS Expanding Elements
Custom Template Genesis to List Posts
VersionPress Config
You must modify the vpconfig.neon file located in wp-content/plugins/versionpress Add git-binary: /usr/local/cpanel/3rdparty/bin/git as the last line in that file. Now VersionPress can be activated.
WP-SMTP Settings For OpenSRS
Remove WordPress Auto Paragraph Tags in a custom template
Place the remove_filter snippet on the line immediately before your call to display the_content. When it’s all said and done, your call should now look like: remove_filter (‘the_content’, ‘wpautop’); the_content(); or maybe remove_filter (‘the_content’, ‘wpautop’); $content = get_the_content(‘Read more’);