Widgetizing –

<ul>
<li>https://wordpress.org/plugins/wp-asset-clean-up/

<li>https://css-tricks.com/taking-control-cssjs-wordpress-plugins-load/

<li>https://www.dreamhost.com/blog/guide-clean-your-wordpress-website/

<li>https://css-tricks.com/taking-control-cssjs-wordpress-plugins-load/

<li>https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.sitepoint.com/build-wordpress-theme-from-scratch-first-steps/&ved=2ahUKEwieg7DPiPPnAhWWu54KHUeeB8oQFjABegQIDRAI&usg=AOvVaw3vuLVxa1rzprNvHxULV2i3

<li>https://wordpress.stackexchange.com/questions/168483/wordpress-how-to-embed-a-widget-on-a-separate-website

<li>https://wpcore.com/help

</ul>
WP Command Line

Wordpress: How to embed a widget on a separate website?
https://wordpress.stackexchange.com/questions/168483/wordpress-how-to-embed-a-widget-on-a-separate-website

Widget Logic
https://wordpress.org/plugins/widget-logic/

+++++++++++++++++++++++++

wprocket

asset cleanup
https://wordpress.org/plugins/wp-asset-clean-up/

Plugin Manager Pro

include php file

/*////////////////////////////////////////////////////////////////////
* PROJECTS ///////////////////////////////////
//////////////////////////////////////////////////////////////////////*/

function shneee_sitefunct()
{
// Here we load from our includes directory
// This considers parent and child themes as well
locate_template( array( ‘includes/projects-site-functionality-inc.php’ ), true, true );
}
add_action( ‘after_setup_theme’, ‘shneee_sitefunct’ );

/*————————————*
REMOVE STUFF FROM HEADER
*————————————*/

// remove junk from head
remove_action(‘wp_head’, ‘rsd_link’);
remove_action(‘wp_head’, ‘wp_generator’);
remove_action(‘wp_head’, ‘feed_links’, 2);
remove_action(‘wp_head’, ‘index_rel_link’);
remove_action(‘wp_head’, ‘wlwmanifest_link’);
remove_action(‘wp_head’, ‘feed_links_extra’, 3);
remove_action(‘wp_head’, ‘start_post_rel_link’, 10, 0);
remove_action(‘wp_head’, ‘parent_post_rel_link’, 10, 0);
remove_action(‘wp_head’, ‘adjacent_posts_rel_link’, 10, 0);

/*————————————*
make gallery default to using medium size images
*————————————*/

/* Register shortcode_atts_gallery filter callback */
add_filter( ‘shortcode_atts_gallery’, ‘meks_gallery_atts’, 10, 3 );

/* Change attributes of wp gallery to modify image sizes for your needs */
function meks_gallery_atts( $output, $pairs, $atts ) {

/* You can use these sizes:
– thumbnail
– medium
– large
– full
or, if your theme/plugin generate additional custom sizes you can use them as well
*/

$output[‘size’] = ‘medium’; //i.e. This will change all your gallery images to “medium” size

return $output;

}

/*—————————————————–*
ADDING GOOGLE FONT – OPEN SANS EXTRA BOLD
*———————————————————*/

/*///////// Google Web Font ///////////////*/

/* font-family: ‘Open Sans’, sans-serif; font-weight: 800; */
function custom_add_google_fonts_openextrabold() {
wp_enqueue_style( ‘custom-google-fonts-open-extra’, ‘https://fonts.googleapis.com/css?family=Open+Sans:400,800&display=swap’, false );
}
add_action( ‘wp_enqueue_scripts’, ‘custom_add_google_fonts_openextrabold’ );

Scroll to Top