Pantheon. It’s actually my favorite of all the hosts I’ve used. Super easy setup to ssh, and I use docker/lando for my local since you call pull the db/files directly from the server with one command. I think it’s fairly pricey, but worth it.
<?php
// remove uneeded links from the head tag
remove_action('wp_head', 'rsd_link'); // remove really simple discovery link
remove_action('wp_head', 'wp_generator'); // remove wordpress version
remove_action('wp_head', 'feed_links', 2); // remove rss feed links (make sure you add them in yourself if youre using feedblitz or an rss service)
remove_action('wp_head', 'feed_links_extra', 3); // removes all extra rss feed links
remove_action('wp_head', 'index_rel_link'); // remove link to index page
remove_action('wp_head', 'wlwmanifest_link'); // remove wlwmanifest.xml (needed to support windows live writer)
remove_action('wp_head', 'start_post_rel_link', 10, 0); // remove random post link
remove_action('wp_head', 'parent_post_rel_link', 10, 0); // remove parent post link
remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0); // remove the next and previous post links
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0);
remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0);
// remove the REST API endpoint since we aren't using them.
remove_action( 'rest_api_init', 'wp_oembed_register_route' );
// remove all of the oembed meta tags that we don't need
add_filter( 'embed_oembed_discover', '__return_false' );
remove_filter( 'oembed_dataparse', 'wp_filter_oembed_result', 10 );
remove_action( 'wp_head', 'wp_oembed_add_discovery_links' );
remove_action( 'wp_head', 'wp_oembed_add_host_js' );
add_filter( 'rewrite_rules_array', 'disable_embeds_rewrites' );
// remove auto loaded gutenberg styles
add_action( 'wp_print_styles', 'wps_deregister_styles', 100 );
function wps_deregister_styles() {
wp_dequeue_style( 'wp-block-library' );
}
// stop loading wp-embed.min.js and jQuery
function stop_loading_wp_embed_and_jquery() {
if (!is_admin()) {
wp_deregister_script('wp-embed');
wp_deregister_script('jquery'); // Bonus: remove jquery too if it's not required
}
}
add_action('init', 'stop_loading_wp_embed_and_jquery');
// remove wp emoji scripts and styles
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');
This is very similar to what I use, but mine also has a few others including deregistering jquery. I am unfortunately not near a computer and won’t be until Sunday. I’ll try to remember to post it then!
I’ll be honest, I haven’t tried to look for it, but a plug-in that easily enables you to turn off/de register scripts or styles that come with Wordpress. Luckily a coworker found a list of them that I’ve been using in my functions.php file, but I’m not sure how comprehensive it is.
How many posts? You are able to export/import posts very easily with the Wordpress importer tool. Go to Tools>export on the old blog and select posts and the months you want. Then Tools>import on the new blog. If it’s only like a few then you could just copy and paste the content.
Pantheon. It’s actually my favorite of all the hosts I’ve used. Super easy setup to ssh, and I use docker/lando for my local since you call pull the db/files directly from the server with one command. I think it’s fairly pricey, but worth it.
I replied to another person here with it!
here you go!
Yup exactly. Maybe I’ll look into creating one! Would be quite useful
I am unfortunately not near a computer and won’t be until Sunday. I’ll try to remember to post!
This is very similar to what I use, but mine also has a few others including deregistering jquery. I am unfortunately not near a computer and won’t be until Sunday. I’ll try to remember to post it then!
I’ll be honest, I haven’t tried to look for it, but a plug-in that easily enables you to turn off/de register scripts or styles that come with Wordpress. Luckily a coworker found a list of them that I’ve been using in my functions.php file, but I’m not sure how comprehensive it is.
No I don’t think so. Depends on if you’re keeping the old blog I guess. But I’m not 100% sure
How many posts? You are able to export/import posts very easily with the Wordpress importer tool. Go to Tools>export on the old blog and select posts and the months you want. Then Tools>import on the new blog. If it’s only like a few then you could just copy and paste the content.
I bet you like Real Estate :)
Can't believe he picked Marilyn over her
End of this list.
Back to top