The Latest From The Blog

Uncategorized

WordPress RSS Feed With Featured Image

Read Post »
Advanced

HTML5 Video Embed, Controls, Image, No Download, Loop, Autoplay

The code below will generate the HTML5 video player. In this example the video file will be loaded from Amazon S3. To do that we’ll just replace “PATH-TO-VIDEO” with the S3 URL. Directly below we have the basic HTML5 video embed code. We can then add parameters to customize how it works.

Add Height And Width

Add Fullscreen

Add Video Player Controls

Prevent video downloads By default, the HTML5 player allows

Read Post »
Advanced

Amazon S3 Video Embed Code

The code below will put the Amazon S3 video you link to in the basic HTML5 video player. Just replace “PATH-TO-VIDEO” with the video URL. If you want to have a custom still image at the beginning of the video use the “poster” attribute. Replace “PATH-TO-STILL-IMAGE” with the URL of the image. By default, the HTML5 player allows people to download the video. To remove that functionality I’ve added the controlsList=”nodownload” parameter. If you want

Read Post »
Advanced

How To Create A WordPress Page Template

To create a WordPress Page Template. Duplicate the page.php file into your child theme (if you don’t have a child theme yet, go here). Rename the file to page-example-template.php. Replace “example-template” to something that describes the template better. Open that new template in an editor. Paste the code below into the very top of the template. If you are pasting it into a PHP block then remove the opening and closing PHP tags.

Read Post »
Basics

Contact Form 7 Multiple File Upload Functionality Quick and Easy

This tutorial is all about learning to take advantage of the Contact Form 7 multiple file upload functionality in your forms. By default the plugin only allows single uploads, which can be very limiting. Using what I show you below you’ll be able to allow your visitors upload multiple files at once. You can either watch the detailed video tutorial below or scroll below that to read the image/text version of the tutorial. The first

Read Post »
Advanced

WordPress Admin CSS Styles

Add one of the functions below to your child theme’s functions.php file. If you just need to add or adjust a few styles use this code to add CSS directly to admin pages.

If you want to create an admin theme or need to adjust or add lots of styles use the code below.

get_stylesheet_directory_uri() code reference in the WordPress Codex.

Read Post »
Advanced

WordPress Custom Post Type Function Without A Plugin

This is the code you need to create a bare-bones WordPress custom post type that will allow you to better organize the posts on your site. This code was originally posted on the WordPress Codex. Basic Implementation

Advanced Implementation The code block below registers the widgets custom post type, customizes the labels and adds a lot of the WordPress editor capabilities to the editor for that post type.

The code block below adds

Read Post »
Advanced

Use WP Enqueue Style To Properly Add CSS Files To WordPress

Paste the code below into your functions.php file. Then, replace PATH TO CSS FILE with the absolute or relative URL to the CSS file you want to include.

Read Post »
Advanced

Add CSS To Specific WordPress Pages

Paste the code below into your functions.php file. Then replace ID with the page ID of the page you want to include the files on. Check out the video tutorial if you need help finding the page ID. Then, replace PATH TO CSS FILE with the absolute or relative URL to the CSS file you want to include.

Read Post »
Do NOT follow this link or you will be banned from the site!