Coding a User Friendly Carousel Slider in WordPress
This tutorial uses Slick and Advanced Custom Fields Pro to code a user friendly carousel slider in WordPress. It uses the gallery field from which a user can easily add or change order of slides without having to touch the code. The example slider in this tutorial will use the Multiple Items Layout in Slick. Getting Slick in…
Read MoreAdd Christmas Snow Effect to your WordPress Site
You can add a Christmas snow effect to your WordPress web site by using a snowstorm javascript which has been around for more than ten years. This used to be bundled with Jetpacks modules and I believe you can only access it now if your site is hosted on the main WordPress.com, but never fear…
Read MoreHow to Add a Footer or Tertiary Menu to a Genesis Child Theme
Genesis comes with 2 menus ready to go, the Primary and Secondary menus, by default these sit on top of one another in the framework and Genesis Sample theme: This tutorial takes you through how to make a third menu and place it in the footer; The Footer Menu. Although you can use this as…
Read MoreRemove Comments Based on Categories in Genesis
You can remove and control the Comments section based on what Category a post is set to in Genesis by conditionally removing an action based on the category. So in the code snippet above I want comments only on a certain category which has the id of 38, so the code says that is the…
Read MoreWarning: array_map(): Argument #2 should be an array … /wp-includes/category-template.php on line 1158
Since upgrading to WordPress 4.4 I had some sites’ post archives display with the following error – ‘Warning: array_map(): Argument #2 should be an array in /home/…/public_html/wp-includes/category-template.php on line 1158′ This seems to be an issue with WordPress’ function get_the terms and the argument $items referenced as an array, and will be addressed in the next update…
Read MoreAdd a CSS class to a menu or menu item in WordPress
CSS Classes can be added to a WordPress menu via a filter named – wp_nav_menu_args , a number of other parameters can also be added. Another filter nav_menu_css_class can also be used for actual list items. Adding a CSS Class to a menu function modify_nav_menu_args( $args ) { if( ‘primary’ == $args[‘theme_location’] ) { $args[‘menu_class’] = ‘menu…
Read MoreCreating a Genesis Child Theme from Scratch of the Genesis Framework in WordPress
How to create a Genesis child theme from scratch from the Genesis Framework that looks like the parent theme, including support for HTML5 , footer widgets, custom backgrounds and enable the viewport setting that allows for responsive design on tablet/mobile devices. Install Genesis Framework First grab the Genesis framework and upload the theme into WordPress via…
Read MoreAdd Multiple Site Background Images To Genesis Agency Pro Theme
You can add a multiple images as alternating site background images in the Genesis Agency Pro theme by tweaking the backstretch jQuery plugin that comes with the theme. Out of the box Agency Pro uses one master site background image as set in the Customizer, preferably at 1600 x 1000px. Prepare your images Get your images ready at 1600 x 1000px and…
Read MoreYoast WordPress SEO Tutorial, Set up SEO in an Optimal Way
Yoast WordPress SEO Tutorial v3 Getting the best WordPress SEO settings in WordPress can be handled by a number of different plugins, one of the more popular ones is WordPress SEO from Yoast (1 million active WordPress installs). Recently it has been upgraded to version 3 which is a major rewrite of the codebase on how the…
Read MoreCreate a Loop of Featured Images in a Slider from Posts in Genesis
You can create a slider of Featured Images from the posts in Genesis by creating a custom loop and using Slick Slider. Setting Up Slick Slider First download and set up the Slick files needed, you’ll need to file these in your theme’s js and css directories: slick.min.js ~> js slick-theme.css ~>css ajax-loader.gif ~>css fonts/ ~>css…
Read More