Feature request
-
Hi,
Nice plugin! I like the simplicity.
I would like to suggest a new feature: a shortcode. So it’s easier to use it for other elements than headings. In that case add the shortcode where you want, such as:
[anchor id="my-ID"]
.You only have to create the shortcode with a few lines of code:
function anchor_shortcode($atts) { $atts = shortcode_atts(array( 'id' => '' ), $atts);} $anchor_id = esc_attr( $atts['id'] ); $html = '<span id="'.$anchor_id.'"></span>'; return $html; } add_shortcode('anchor', 'anchor_shortcode');
Oh, the intro text says “healings” instead of “headings” and the installation info comes from one of your others plugins ??
Guido
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Feature request’ is closed to new replies.