Why WP Engine is Hands Down, the Best Hosting Company

  • June 2, 2018
  • Clients
  • 0 Comments
  • melissaSpiegel

What better topic to begin my first blog post than to discuss a company like WP Engine. Over the years, I have had to deal with the challenges of implementing SSL certificates, building and maintaining staging environments, and implementing reliable backup solutions. Then there’s managing CDN’s, processing object caches, establishing help and support all before […]

Add Expires headers

  • June 1, 2018
  • Code
  • 0 Comments
  • melissaSpiegel

  <IfModule mod_expires.c> # Enable expirations ExpiresActive On # Default directive ExpiresDefault “access plus 1 month” # My favicon ExpiresByType image/x-icon “access plus 1 year” # Images ExpiresByType image/gif “access plus 1 year” ExpiresByType image/png “access plus 1 year” ExpiresByType image/jpg “access plus 1 year” ExpiresByType image/jpeg “access plus 1 year” # CSS ExpiresByType text/css […]

Sort Archive by name

  • May 31, 2018
  • Clients
  • 0 Comments
  • melissaSpiegel

add_action( ‘pre_get_posts’, ‘my_change_sort_order’); function my_change_sort_order($query){ is_tax( $taxonomy, $term ): //If you wanted it for the archive of a custom post type use: is_post_type_archive( $post_type ) //Set the order ASC or DESC $query->set( ‘order’, ‘ASC’ ); //Set the orderby $query->set( ‘orderby’, ‘title’ ); endif; };