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.
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.
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…
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.
You might want to read this post on how to conditionally display fields in Contact Form 7 plugin with simple JavaScript first to get some context. Here we are trying to display a line of text when all checkboxes are…
/** * Include File In WordPress Theme’s Functions.php * * @since 1.0 * @refer https://millionclues.com/wordpress-tips/php-include-and-require-wordpress/ */ include_once( dirname(__FILE__) . ‘/includes/simple-post-likes/post-like.php’);