Blog Archives

Add Bootstrap4 Form Styling To WooCommerce Checkout Fields

Add the following code to functions.php or to a custom plugin to style WooCommerce checkout form fields with sweet Bootstrap 4 styling. /** * Add Bootstrap form styling to WooCommerce fields * * @since  1.0 * @refer */ function iap_wc_bootstrap_form_field_args ($args,

Posted in WordPress Tagged with: , , ,

Get Raw Unfiltered Post Title In WordPress

To retrieve the post title of a post as saved in the wp_posts table in the WordPress database use this <?php echo get_post_field( ‘post_title’, $post_id, ‘raw’ ); ?> If you use get_the_title() function, WordPress applies the ‘the_title‘ filter before returning

Posted in WordPress Tagged with: ,

Find All Posts Containing Given Image In WordPress

Pass the id of the image to the function and it will return an array with the id’s of all the posts that use the given image. /** * Find all posts that uses the given image * * @param  $image_id  Integer    ID

Posted in WordPress Tagged with: , ,

Building 100% Custom WordPress Register And Login Pages

A detailed tutorial on how to build totally custom WordPress register and login pages. All the code you need and some styling inspiration. Impress your clients.

Posted in Tutorials, WordPress Tagged with: , , , ,

Embed YouTube Videos On Bootstrap 4 Popup Modals With AutoPlay

Bootstrap 4 does not natively support embedding videos on its modal windows. Here is how to embed YouTube videos on modal popup windows.

Posted in WordPress Tagged with: , , ,
Email Stamp

Free Newsletter

Get my newest blog posts and insider tips. No more than a few emails a year.

Just enter your email address below and click Sign Up Now

Please enter all required fields
Correct invalid entries

You have Successfully Subscribed!