by Justin Bennett | Jun 3, 2016 | CSS, Design, PHP, Wordpress
Often a design calls for styling that makes an article archive (or any list of custom post types) easier to visually navigate. This can be as simple as altering the background color of every other post or something more involved depending on the situation at hand, but...
by Justin Bennett | Sep 26, 2013 | PHP, Wordpress
WordPress gives us an easy built in way to hide certain posts or pages from non logged-in users, by simply marking the post status as private or password protected. When we do this, the title of the post or page will automatically be prefixed with...
by Justin Bennett | Aug 25, 2013 | PHP, Youtube
Embedding videos from Youtube into a website is a rather painless procedure. Each video is provided with sharing options that include a bit of html code that will get the job done, and with WordPress it’s even easier. All you need is the video URL and the oEmbed...
by Justin Bennett | Jul 19, 2013 | PHP, Wordpress
One of the important ways in which we protect websites from hackers, spammers, and other such baddies is by preventing them from injecting malicious code into our databases. WordPress provides us with some built in security functions that stop this type of thing by...
by Justin Bennett | Mar 10, 2013 | PHP, Wordpress
Sometimes we may want to present our data in an unordered fashion, avoiding alphabetical or date based sorting. For example, creating a “Featured” list of articles that changes upon each page load by choosing a handful at random from our database. Another...
by Justin Bennett | Aug 8, 2012 | PHP, Wordpress
A WordPress project I’m currently working on presented me with a situation that I soon realized was calling for a custom WordPress shortcode. In a future post I’ll cover the process of creating a custom shortcode, but for today I’ll share a quick tip...