Hidden Background Music Using HTML5 Audio

Add this to the footer of your page before the closing </body> <audio style="display:none;" src="<?php echo CPM_BASE_PATH; ?>assets/audio/bg-music.mp3" loop autoplay></audio> For more details, refer the HTML5 Audio guide.

Posted in WordPress Tagged with:

WordPress Malware Removal And SSL Installation

When it comes to web security, housekeeping and maintenance is just as important as proper development. For WordPress, housekeeping should ideally be done at least once every three months. Luckily, maintaining a WordPress website isn’t too hard. Make sure your

Posted in WordPress Lab Tagged with:

“If You Had To Start Over, What Would You Do Differently?”

An interview with myself. It was supposed to be published elsewhere, but the publisher bailed. I speak about Blogging, Monetizing and Building Email List.

Posted in Pro Blogging Tagged with: , , ,

Enable Debug Logging In WordPress

Add this to wp-config.php define(‘WP_DEBUG’, true);    // Enable WP_DEBUG mode define( ‘WP_DEBUG_DISPLAY’, false );  // Hide errors from browser. Set to true if you want to see errors in browsers as well. define( ‘WP_DEBUG_LOG’, true );  // Enable Debug logging to the /wp-content/debug.log

Posted in WordPress Tagged with:

Change From Placeholder Text With jQuery

Add this to footer.php before the closing </body>. <script language=”javascript” type=”text/javascript”>  document.getElementsByName(‘es_txt_email’)[0].placeholder=’yourname@email.com’; </script> Where es_txt_email is the name if the <input>. The above script was used to change the placeholder in the Email Subscribers & Newsletters plugin.

Posted in WordPress Tagged with: