Author: John Morris

Code Snippets
John Morris

Build a Grid Layout For WordPress Using WP_Query

Here’s how to build a grid layout for WordPress via shortcodes and WP_Query: [evd_youtube video_id=”MF0egfd5LwU” playlist_id=”PLrG78JjvL7hXrSZhgiAW2Lz8ekXQwLSNW”] A lot of WordPress developers immediately rush to query_posts

Read More »
Pure HTML and CSS Dropdown Menu
Code Snippets
John Morris

Pure HTML and CSS Dropdown Menu

Here’s how to create a pure HTML and CSS dropdown menu: [evd_youtube video_id=”uwUqsILfWoI” playlist_id=”PLrG78JjvL7hVAgVyAzlLfUvUvQqhTVxEB”] Here’s the code I used in the video: If you get

Read More »
Code Snippets
John Morris

Prevent XSS Attacks. Escape Strings in PHP

Here’s how to prevent XSS attacks by escaping output in PHP: [evd_youtube video_id=”pc0V9hJpE54″ playlist_id=”PLrG78JjvL7hWah18gU57tCtbFOvsxl9pp”] Here’s the code I used in the video: What Is XSS?

Read More »
Code Snippets
John Morris

Simple CSS Button Styles Tutorial and Code

Here’s how to create some simple CSS button styles: [evd_youtube video_id=”XWnPjG3AP1o” playlist_id=”PLrG78JjvL7hWah18gU57tCtbFOvsxl9pp”] Here’s the code I used in the video: If you get value from

Read More »
Code Snippets
John Morris

PHP Try Catch Error Handling

How do you PHP try catch blocks to efficiently handle errors? Here’s the answer: [evd_youtube video_id=”zBdJMW0_1RA” playlist_id=”PLrG78JjvL7hWah18gU57tCtbFOvsxl9pp”] Here’s the code I used in the video:

Read More »
Form Snippets
John Morris

A PHP Script to Search a MySQL Database

Here’s a tutorial video and script you can use to search a MySQL database using PHP: [evd_youtube video_id=”546sFEHUS_k” playlist_id=”PLrG78JjvL7hWah18gU57tCtbFOvsxl9pp”] Get the source code as a

Read More »
Close Menu