In This Article
Beskrivning
The In This Article plugin is designed to help you list all h2
and h3
headings in the content of a post. These headings are displayed in an ordered structure, allowing users to easily navigate within the post. You can place this list on your single blog post page using a simple shortcode.
Features:
- Fetches all
h2
andh3
headings from the post content. - Displays the headings in a hierarchical, clickable list.
- Easy-to-use shortcode for placing the list anywhere on the posts.
- Allows smooth scrolling to sections when clicking on a heading.
License
This plugin is licensed under the GPLv2 (or later) license. See the License URI for more information.
Installation
- Upload the plugin files to the
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ’Plugins’ screen in WordPress.
- Add the
[itah_in_this_article]
shortcode to any single blog post page where you want the list of headings to appear.
Vanliga frågor
-
How do I use the shortcode?
-
Simply insert
[itah_in_this_article]
into the content editor of any post or page. This will generate a list ofh2
andh3
headings from the content. -
Does this plugin support custom post types?
-
Yes, it works with any content type that uses
h2
andh3
headings in the post content.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”In This Article” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”In This Article” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.0
- Initial release of the plugin, providing shortcode support for fetching and displaying
h2
andh3
tags from post content.