WordPress Custom Slider Tutorial

  • I'm from beautiful, sunny Penticton, BC

If you’ve been following my blog, you’ve seen that I’ve been rebuilding JoshRichet.com as a tool for teaching my class about WordPress. Sometimes creating a great plugin for your WordPress site takes a little rough groundwork laid out by someone with a little more experience. This plugin was intended to be a rough framework for building image-based plugins that insert into WordPress themes or pages easily.

This plugin provides one admin-controlled Zurb Foundation Orbit Slider for your template and assumes that your theme already includes Zurb Foundation like the parent theme used as an example in my classroom.

This plugin provides the WordPress shortcode , and  the PHP function, bg_header_slider() so that it can be inserted into a template or a page with one line.

in a post or page simply insert the following:

In a theme to get the same output as the shortcode, insert the following:

Here is the plugin code:

Date
Categories
Tags
Permalink
Status

Published:February 21, 2016

Uncategorized

Bookmark the permalink

Post a comment or leave a trackback: Trackback URL


Leave a Reply

Please wait...

Subscribe

Want to be notified when a new article is published? Enter your email address and name below to be the first to know.