Collapsing Links
This is a very simple plugin that uses Javascript to form a collapsable set of links in the sidebar for the links (blogroll). Every link corresponding to a given link category will be expanded.
Envisager une alternative
Collapsing Links shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites and was last updated 11 years ago, and scores 25/100 on our health check.
- Petite base d'utilisateurs (plus de 70 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 11 ans
- Uniquement testé jusqu'à WordPress 4,3 (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 Collapsing Links stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| links | >100 |
| barre latérale | >100 |
| widget | >100 |
Adoption de version
Part de sites actifs par version.
About Collapsing Links
From the official readme · v0.4Description
This is a very simple plugin that uses Javascript to form a collapsable set of
links in the sidebar for the links (blogroll). Every link corresponding to a
given link category will be expanded.
You can use multiple instances of the widget, each with its own set of options. In this way you could have one set of links for certain categories one place on your page, and another widget with a different set of links somewhere else.
It is based off of the Collapsing Categories and Collapsing Pages plugins.
What’s new?
-
0.4 (2015.08.12)
- Compatible with WP 4.3
-
0.3.5 (2010.06.23)
- Fixed javascript path error
-
0.3.4 (2010.06.18)
- Fixed html validation when target is blank (thanks http://dropdeaddick.com)
-
0.3.3 (2010.01.28)
- Switched from scriptaculous to jquery. No longer conflicts with plugins
which use mootools (e.g. featured content gallery) - Restricted settings page to authorized users
- Switched from scriptaculous to jquery. No longer conflicts with plugins
Options
Style options can be set via the settings panel. All other options can be set
from the widget panel. If you wish to insert the code into your theme manually
instead of using a widget, you can use the following options. These options
can be given to the collapsLink() function either as an array or in query
style, in the same manner as the wp_list_links function.
$defaults=array(
'showLinkCount'=> true ,
'catSort'=> 'linkName' ,
'catSortOrder'=> 'ASC' ,
'linkSort'=> 'linkName' ,
'linkSortOrder'=> 'ASC' ,
'inExclude'=> 'exclude' ,
'inExcludeCats'=> '' ,
'expand'=> 0 ,
'customExpand' => '',
'customCollapse' => '',
'defaultExpand'=> '',
'animate' => 0,
'nofollow' => true,
'debug' => false
);
- showLinkCount
- When true, the number of links in the category will be shown in
parentheses following the name of the link category
- When true, the number of links in the category will be shown in
- catSort
- The order in which link categories should be sorted. Possible values:
- ‘catName’ the name of the link category (default)
- ‘catId’ the id of the link category
- ‘catSlug’ the slug of the link category
- ‘catOrder’ custom order specified in the links options
- ‘catCount’ the number of links in each category
- The order in which link categories should be sorted. Possible values:
- linkSort
- The order in which link linkegories should be sorted. Possible values:
- ‘linkName’ the name of the link (default)
- ‘linkId’ the id of the link
- ‘linkUrl’ the url of the link
- ‘linkRating’ the rating assigned to the link
- The order in which link linkegories should be sorted. Possible values:
- catSortOrder
- Whether categories should be sorted in normal or reverse order. Possible
values:- ‘ASC’ normal order (a-z, 0-9) (default)
- ‘DESC’ reverse order (z-a, 9-0)
- Whether categories should be sorted in normal or reverse order. Possible
- linkSortOrder
- Whether link should be sorted in normal or reverse order. Possible values:
- ‘ASC’ normal order (a-z, 0-9) (default)
- ‘DESC’ reverse order (z-a, 9-0)
- Whether link should be sorted in normal or reverse order. Possible values:
- inExclude
- Whether to include or exclude certain categories
- ‘exclude’ (default)
- ‘include’
- Whether to include or exclude certain categories
- inExcludeCats
- The link categories which should be included or excluded
- expand
- The symbols to be used to mark expanding and collapsing. Possible values:
- ‘0’ Triangles (default)
- ‘1’ + –
- ‘2’ [+] [-]
- ‘3’ images (you can upload your own if you wish)
- ‘4’ custom symbols
- The symbols to be used to mark expanding and collapsing. Possible values:
- customExpand
- If you have selected ‘4’ for the expand option, this character will be
used to mark expandable link categories
- If you have selected ‘4’ for the expand option, this character will be
-
customCollapse
- If you have selected ‘4’ for the expand option, this character will be
used to mark collapsible link categories
- If you have selected ‘4’ for the expand option, this character will be
-
defaultExpand
- A comma separated list of link category IDs or Slugs which should be
expanded by default
- A comma separated list of link category IDs or Slugs which should be
- animate
- When set to true, collapsing and expanding will be animated
- nofollow
- When set to true (default), rel=’nofollow’ tags will be added to links
- debug
- When set to true, extra debugging information will be displayed in the
underlying code of your page (but not visible from the browser). Use
this option if you are having problems
- When set to true, extra debugging information will be displayed in the
Exemples
collapsLink('animate=true&nofollow=false&expand=3,inExcludeCats=blogroll,lousy-friends')
This will produce a list with:
* animation on
* no nofollow tags
* using images to mark collapsing and expanding
* exclude links in the categories blogroll and lousy-friends
Modèle de démonstration
You can see this on my test blog at http://robfelty.com/test
CAVEAT
Currently this plugin relies on Javascript to expand and collapse the links.
If a user’s browser doesn’t support javascript they won’t see the links to the
posts, but the links to the links will still work (which is the default
behavior in wordpress anyways)
The option to show the number of links currently uses the number stored in the
database, which includes both visible and invisible links. If you have
invisible links, this number will be wrong.
Installation
IMPORTANT!
Please deactivate before upgrading, then re-activate the plugin.
Unpackage contents to wp-content/plugins/ so that the files are in a
collapsing-links directory. Activate the plugin in your WordPress Admin
interface — Collapsing Links.
MANUAL INSTALLATION
To use the plugin manually,
change the following here appropriate (most likely sidebar.php):
Change From:
<ul>
<?php get_links_list(); ?>
</ul>
To something of the following:
<?php
if( function_exists('collapsLink') ) {
collapsLink();
} else {
echo "<ul>\n";
get_links_list();
echo "</ul>\n";
}
?>
You can add parameters to the collapsLink() function as described in the
options section.
WIDGET INSTALLATION
simply go the Presentation > Widgets section and drag over the Collapsing Links Widget.
Journal de modifications
0.4 (2015.08.12)
- Compatible with WP 4.3
0.3.5 (2010.06.23)
- Fixed javascript path error
0.3.4 (2010.06.18)
- Fixed html validation when target is blank (thanks http://dropdeaddick.com)
0.3.3 (2010.01.28)
- Switched from scriptaculous to jquery. No longer conflicts with plugins
which use mootools (e.g. featured content gallery) - Restricted settings page to authorized users
0.3.2 (2009.06.28)
- Fixed nofollow option
- Fixed problem when using images for symbols
0.3.1 (2009.06.22)
- Fixed problems with page load and cookies
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 Collapsing Links alternatives
All links plugins →FAQ
Collapsing Links: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Collapsing Links free?
Yes. Collapsing Links is free to download and use from the official WordPress.org plugin directory.
Is Collapsing Links safe to use in 2026?
Collapsing Links shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites and was last updated 11 years ago, and scores 25/100 on our health check.
How many websites use Collapsing Links?
Collapsing Links is active on 70+ WordPress websites and has been downloaded 17,753 times since it launched in August 2008. It was downloaded 220 times in the last 30 days.
Does Collapsing Links work with WordPress 7.1?
Collapsing Links is officially tested up to WordPress 4.3.34, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Collapsing Links last updated?
The latest version, 0.4, was released on August 12, 2015 (11 years ago).
Who makes Collapsing Links?
Collapsing Links is developed and maintained by robfelty.
What are the best alternatives to Collapsing Links?
The most popular alternatives to Collapsing Links are Broken Link Checker (500K+ installs), LuckyWP Table of Contents (90K+ installs) and Export All URLs (50K+ 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


