Select Page

Author: Matthew

WordPress is mysteriously adding a hidden “SAVE” in my pages.

I have been noticing a weird occurence in my wordpress text editors (not the visual editor) where wordpress is adding a hidden word inside of a <span>.  It is the word “SAVE”. I don’t know why this is happening and I thought maybe it was isolated to the theme I was using for a client but then I saw it again in a totally different theme. And it is also happening on this theme as well!  The z-index is way off and the opacity is way down which is probably why it can not be seen on the page...

Read More

Leverage browser caching and Eliminate render-blocking JavaScript and CSS

Here are the fixes that I found: Eliminate render-blocking JavaScript and CSS in above-the-fold content This one is a common problem in most WordPress sites because many WordPress plugins come with their own Javascript and CSS files. What happens is that once you activate these plugins, all of the Javascript and CSS files are pushed into the header, and have to be loaded before the page can load. The quick fix to this is to download the install the free Autoptimize Plugin. Once activated, just go into the settings and check the “Optimize Javascript code” and “Optimize CSS code” checkboxes, and it will automatically combine all CSS & Javascript files into a single file to reduce load time. Total time taken: Less than 1 minute Leverage browser caching This one is another common issue, that can be fixed by setting an expiry date or maximum age for static resources (like images) in the HTTP headers to allow better browser caching. That sounds pretty complicated, but all you have to do is copy and past the following code into your .htaccess file, and you’d done (credit Thomas Griffin): ## EXPIRES CACHING ## ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType...

Read More

How to autoplay audio on your wordpress site

The audio feature within WordPress allows you to embed audio files and play them back. This was added as of WordPress version 3.6. WordPress included the feature as a shortcode which makes use of the markup I explained earlier. The shortcode will link to specific media file or files and output the HTML. The default shortcode looks like this: To link to your files you can declare the source of the files within the shortcode which would like like this: http://audio.mp3 You can also simply include a link to an audio file like below and WordPress will render it as audio and display a player. This is my latest song http://mywebsite/media/songs/sweetsong(.audioextension) Some more content To make sure your audio plays in all browsers you need to reference other types of audio for the same file like so: http://audio.mp3 Notice how the src"" attribute was dropped and new attributes were added. In this case it is mp3=" ", ogg=" ", wav=" ". Options for Playback. The audio shortcode allows for some options for playback. src The src is an optional field but is wise to use especially if you have multiple browsers to support. The following types can be defined to allow for graceful fallbacks if a certain browser can’t render a specific audio type. mp3 mp4 ogg wav wma loop The option to automatically loop the playback of a...

Read More

Inbox Blueprint Email Marketing System by Anik Singal & Jimmy Kim

Ok so here is the low down on Inbox Blueprint by Anik Singal & Jimmy Kim.  It is a complete email marketing system is a course that teaches you how to start from nothing and build a complete email marketing business.  Anik states that each email subscriber is worth about $1 per month.  So if you have 1000 email subscribers then you should be making about $1000 per month. This is a complete course.  There are live webinars.  5 case studies of students that started making sales within 48 hours.  8 complete steps, bonuses and a helpful resources section.  What the videos below to get a sneak peak at the members area. Also click the button to get the free gifts that Anik and Jimmy are giving away just for visiting the Inbox Blueprint website. Subscribe below to see a full review of the members...

Read More

How to redirect all website pages to one page using the htaccess file

I was asked by a client to temporarily shutdown his website and display an under maintenance mode page.  Now if this was a wordpress site then it would have been a piece a cake.  I would have just installed a maintenance plugin and activated it and all the pages would have been redirected to the maintenance mode page. But this was an html site.  And at first thought, you would think that you could just upload a new index.html page that has some text on it that says the site is currently under maintenance.  But the problem with that is that you can still access all the internal pages. Another option would have been to move all the files and pages into a new folder or zipped folder so there is no trace of the original pages.  This creates a problem also.  Your pages could get de-indexed from the search engines and it would take some time to get them indexed again when the site goes back up. So I wanted to just change the .htaccess file to redirect all the pages to a specific one.  There are a lot of htaccess codes out there that say this is the code that does that but most of them don’t work to redirect all pages.  So here is the correct code to place in your .htaccess file. RewriteEngine On RewriteCond...

Read More