Defer or Async CSS Loading
Defer or Async CSS Loading
Minify HTML
function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…
Add Tag And End Date To Funded Campaign
Sometimes, it can be useful to do something special for campaigns that have been fully funded.
Modify Software Licensing License Structure
Modify the structure of Software Licensing's license keys.
Untitled Snippet
file:///Users/kelseyfisher/Downloads/kdf-carpentry-site.html
Maintain+ Footer Credit
jQuery("footer").append(" Site managed by Maintain+ ")
Adds URL to pages window
add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…
add 2 nos
function addNumbers() { // Get input values const num1 = parseFloat(document.getElementById('num1').value); const num2 = parseFloat(document.getElementById('num2').value); //…
Header and Footer
Copy/pasted form docket
Remove the LLMS Description for a Specific Post
This snippet removes the description from llms.txt for a specific post ID.
Show Featured Image With Purchase Link
Shows a download's featured image with the purchase link
Multipost Query Loop
This code snippet adds the ability to add multiple posts to the Generate Blocks Query Loop
featured-images-rss-feed
function featuredtoRSS($content) { global $post; if ( has_post_thumbnail( $post->ID ) ){ $content = '<div>' . get_the_post_thumbnail(…