Skip to content

scofennell/csst-nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSST Nav Shortcode

A shortcode for outputting a custom menu via a custom walker class.

Contributors

[email protected]

Tags

CSS-Tricks, Article, WordPress, Shortcode, Walker.

Requires at least

4.3.1

Tested up to

4.3.1

Stable tag

1.0

License

GPLv2 or later

License URI

http://www.gnu.org/licenses/gpl-2.0.html

Description

A shortcode for outputting a custom menu via a custom walker class.

Installation

  1. Upload the csst-nav folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Use the shortcode [csst_nav which_menu='5'] in any post, where 5 is the ID, name, or slug of a custom menu.

Screenshots

The finished product.

Using the shortcode in the post editor screen.

A demonstration of the $depth arg from the start_el() method.

Changelog

1.0

Initial release.

About

Demo Widget for CSS Tricks Article

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published