开发者 | quasarito |
---|---|
更新时间 | 2017年3月23日 08:55 |
PHP版本: | 3.1.0 及以上 |
WordPress版本: | 4.7.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/hhd-pcrumbs
directory, or install the plugin through the WordPress plugins screen directly.[pcrumb]
anywhere in your post. A good place would
be at the very end of your post. This will insert the crumb at the location of the shortcode.
If you want to surround the crumb in an html tag (like <p>
or <span>
),
you can specify the optional tag
attribute with the html element name. There is also
an optional class
attribute for CSS formatting, if you want to format the crumb differently from
the post content.
Eg: [pcrumb tag="p" class="smaller"]
Enabling Auto-append
Alternatively, you can have all posts (new and existing) contain a crumb by enabling auto-append.
Turning on this option will insert the crumb at the end of every post. There is no need to include a
shortcode in your post if you enable auto-append. Optionally, you can have the crumb surrounded with
an html tag by specifying a crumb tag. Use the crumb class to include a class
attribute with
the html tag.Sure. You can find the code repository here: https://github.com/quasarito/post-crumbs