Sectionize
Parses HTML for sections demarcated by heading elements, wraps them in HTML5 section elements, and generates table of contents with links to each.
Envisager une alternative
Sectionize shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 17 years ago, and scores 23/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 16 ans
- Uniquement testé jusqu'à WordPress2,9 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Sectionize stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| HTML5 | >100 |
| sections | >100 |
| référencement | >100 |
| table des matières | >100 |
| toc | >100 |
Adoption de version
Part de sites actifs par version.
About Sectionize
À partir du Lisez-moi officiel · v1.1Description
This plugin is developed at
Shepherd Interactive
for the benefit of the community. No support is available. Please post any questions to the support forum.
Takes HTML content which contains flat heading elements inline with paragraphs
and automatically nests them withing HTML5 <section> elements. It also
conditionally prepends an <ol> Table of Contents (TOC) with links to the
sections in the content, for example:
<nav class='toc'><ol>
<li><a href="#section-first-top">First Top</a></li>
<li><a href="#section-second-top">Second Top</a>
<ol>
<li><a href="#section-first-sub">First Sub</a></li>
<li><a href="#section-second-sub">Second Sub</a></li>
</ol>
</li>
<li><a href="#section-third-top">Third Top</a></li>
</ol></nav>
This would reflect original post content such as:
<h2>First Top</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<h2>Second Top</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<h3>First Sub</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<h3>Second Sub</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<h2>Third Top</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Original post content such as this would be sectionized as follows:
<section id="section-first-top">
<h2>First Top</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</section>
<section id="section-second-top">
<h2>Second Top</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<section id="section-first-sub">
<h3>First Sub</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</section>
<section id="section-second-sub">
<h3>Second Sub</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</section>
</section>
<section id="section-third-top">
<h2>Third Top</h2>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</section>
Adding a table of contents as such not only aids navigation for visitors once
on the page, but Google also now provides direct links to such sections in relevant search result
snippets (see announcement).
So people browsing search results may be able to see your section links
right from the results page and then be able to jump directly to the relevant
section.
The start/end tags for both the sections and the TOC, as well as the prefixes
used when generating the section IDs, may all be configured via the following
WordPress options (with their defaults):
sectionize_id_prefix:'section-'sectionize_start_section:'<section id="%id">'sectionize_end_section:</section>sectionize_include_toc_threshold:2sectionize_before_toc:'<nav class="toc">'sectionize_after_toc:'</nav>'sectionize_disabled:false(no corresponding function argument)
These global WordPress options may be overridden by individual posts/pages by
creating custom fields (postmeta) with the same names.
These options are retreived if their corresponding arguments are not supplied
to the sectionize() function (that is, if they are null):
function sectionize($original_content,
$id_prefix = null,
$start_section = null,
$end_section = null,
$include_toc_threshold = null,
$before_toc = null,
$after_toc = null)
This sectionize() function is added as a filter for the_content (this is
disabled if the option or postmeta sectionize_disabled evaluates to true):
add_filter('the_content', 'sectionize');
Noted above, the TOC is conditionally included. It is not included if:
- there are no headings in the content (thus there is nothing to sectionize),
- the headings are not nested properly (see below), or
- the heading count does not meet the threshold (or the threshold is -1)
If the number of headings in the content is less than the
include_toc_threshold option/argument then the TOC is not displayed;
likewise, if include_toc_threshold is -1 then the TOC is not displayed.
Important! Regarding headings being “nested properly”, you must ensure that
you properly arrange your headings in a hierarchical manner in which no heading
is immediately preceeded by another heading that is more than one level greater
(e.g. an h3 must be preceeded by an h2 or another h3). For example, this
works:
h2
h3
h3
h4
h3
h2
But this does not:
h2
h4 -- fail
h6 -- fail
h2
If you make such a mistake, this plugin will abort and have no effect. An error
notice will be included in the HTML output in the form of an HTML comment.
Please see source code for additional documentation: numerous filters are provided
to further customize the behavior. Be one with the code!
To help serve HTML5 content, see the XHTML5 Support</a<> plugin.
Journal de modifications
2009-11-03: 1.0
- Communiqué initial
2009-12-17: 1.1
- Moved
add_option('sectionize_...)calls to activation hook. - Adding
sectionize_toc_textfilter so that the link text in the TOC can be customized,
along with a default filter which strips off tags and a trailing ‘:’
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Sectionize alternatives
All HTML5 plugins →FAQ
Sectionize: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Sectionize free?
Yes. Sectionize is free to download and use from the official WordPress.org plugin directory.
Is Sectionize safe to use in 2026?
Sectionize shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 17 years ago, and scores 23/100 on our health check.
How many websites use Sectionize?
Sectionize is active on 10+ WordPress websites and has been downloaded 2,793 times since it launched in November 2009. It was downloaded 42 times in the last 30 days.
Does Sectionize work with WordPress 7.1?
Sectionize is officially tested up to WordPress 2.9.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Sectionize last updated?
The latest version, 1.1, was released on December 18, 2009 (17 years ago).
Who makes Sectionize?
Sectionize is developed and maintained by Weston Ruter.
What are the best alternatives to Sectionize?
The most popular alternatives to Sectionize are Easy Video Player (20K+ installs), Videojs HTML5 Player (7K+ installs) and Gravity Forms (2K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
