https://millionclues.com/wordpress-tips/making-classes-php-7-compatible/
https://millionclues.com/wordpress-tips/making-classes-php-7-compatible/

https://millionclues.com/wordpress-tips/making-classes-php-7-compatible/

If you upload images via the WordPress media uploader and insert it into your post, it will automatically include the image width and height attribute in the html <img> tag. These are normally desirable, as it assists the browser in making the appropriate room for the image during layout. But for some reason if you…

By OutsourcedContent — on August 30, 2017 Bootstrap 4 does not natively support embedding videos on its modal popup windows. Here is how to embed YouTube videos on modal windows. Code from this Stack Overflow post has been modified for this tutorial. Features Video will start playing once the modal window loads. This can be…

By OutsourcedContent — on August 27, 2017 /** * Load CSS and JS the right way * * @since 1.0 * @refer https://developer.wordpress.org/reference/functions/wp_enqueue_style/#comment-340 */ function firerooster_load_css_and_js() { // Load Boostrap CSS wp_enqueue_style( ‘bootstrap-css’, get_template_directory_uri() . ‘/includes/bootstrap4/css/bootstrap.min.css’ ); // Load style.css wp_enqueue_style( ‘style’, get_stylesheet_uri() ); // Load Boostrap JS wp_enqueue_script( ‘bootstrap-js’, get_stylesheet_directory_uri() . ‘/includes/bootstrap4/js/bootstrap.min.js’, array(‘jquery’), ‘1.0’,…

By OutsourcedContent — on October 19, 2017 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.

In a previous article we have posted about how you can define new custom image sizes to use on your WordPress theme and how to remove default image sizes. You can define and add custom image sizes with the help of add_image_size() function in WordPress. In this article we will show you how you can…

WordPress introduced Post Formats with version 3.1. A Post Format is a piece of meta information that can be used by a theme to customize its presentation of a post. By default WordPress comes with number of standard post formats but themes are not required to support every format on the list. Support for a…
