R
by piffpaffpuff 4.3 (6 reviews)

Related Links

Manually link to existing content or a custom url through a meta box on the writing page.

Related Links ranks #11,948 among WordPress.org plugins with 200+ active installations, a 4.3/5 rating from 6 reviews, and was last updated Sep 12, 2012. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 3.4 (Current: 7.1)
vtrunk Current Version vtrunk
Updated 14 years ago Last Update on 12 Sep, 2012
Refreshed 7 hours ago Last Refreshed on
Top 25% by installs No update in over a year
View on WordPress.org
Rank
#11,948
+16 this week
Active Installs
200+
-23.7%
KW Avg Position
N/A
No change
Downloads
19.4K
+2 today
Support Resolved
0%
No change
Rating
86%
Review 4.3 out of 5
4.3 (6 reviews)

Next Milestone 300

Total Progress 61%
200+ 300+
816
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 39 more installs to reach 300+

Rank Changes

11,943 11,953 11,963 11,972 11,982 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
11,936 11,962 11,987 12,012 12,038 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Current #11,948
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 20 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
0 10 20 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.3
6 reviews
Overall 86%
5
3 (50%)
4
2 (33%)
3
1 (17%)
2
0 (0%)
1
0 (0%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Related Links. Checked 1 month ago.

Track This Plugin

Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.

Start Tracking Free

Plugin Details

Version
trunk
Last Updated
Sep 12, 2012
Requires WP
3.0+
Tested Up To
3.4
PHP Version
N/A
Author
piffpaffpuff

Support & Rating

Rating
★ ★ ★ ★ ☆ 4.3
Reviews
6
Support Threads
0
Resolved
0%

Keywords

Upgrade to Pro

Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.

Upgrade Now

TL;DR

AI summary of the plugin's readme

Related Links is for WordPress site owners and editors who want to connect related content across their site. It solves the problem of manually linking posts, pages, media, or custom post types together, plus external URLs, through a metabox on the post editing screen.

  • Metabox on writing page
  • Multiple link selection
  • Drag and drop reordering
  • Custom URL support
  • Search field for links
  • Widget and template tag integration
  • Custom post-type support
  • Post-type visibility settings

Frequently Asked Questions

Common questions about Related Links

Use the Related Links widget to show a list of the related links.
Use the related_links() function directly in your template files. This will return an unordered list with an <ul> wrapper. Use this code for example in your `content.php' template: <?php related_links(); ?>
You need to use the get_related_links() function. A simple example that shows a list with all link names and the type of link: <?php $related_links = get_related_links(); ?> <ul> <?php foreach ($related_links as $link): ?> <li><a href="<?php echo $link['url']; ?>"><?php echo $link['type']; ?>: <?php echo $link['title']; ?></a></li> <?php endforeach; ?> </ul>
The get_related_links() returns an array containing every related link. when you loop through this array every link consists of another array with the following keys: key id: equals to $post->ID or null for custom links key url: equals to get_permalink() or the manually entered url of a custom link key title: equals to $post->post_title or the manually entered title of a custom link key type: the $post->post_type or null for custom links
Set the $post_type in get_related_links($post_type) to 'post', 'page' or any custom post-type. A simple example that show a list of links: <?php $related_links = get_related_links('page'); ?> <ul> <?php foreach ($related_links as $link): ?> <li><a href="<?php echo $link['url']; ?>"><?php echo $link['type']; ?>: <?php echo $link['title']; ?></a></li> <?php endforeach; ?> </ul>
Set the $post_id in get_related_links(null, $post_id) to the id of the post. A simple example that show a list of links: <?php $related_links = get_related_links(null, 1); ?> <ul> <?php foreach ($related_links as $link): ?> <li><a href="<?php echo $link['url']; ?>"><?php echo $link['type']; ?>: <?php echo $link['title']; ?></a></li> <?php endforeach; ?> </ul>
You need to check the 'type' and then get with wp_get_attachment_url() the attachment url from the 'id'. <?php $related_links = get_related_links(null, 1); ?> <ul> <?php foreach ($related_links as $link): ?> <?php if ($link['type'] == 'attachment') : $url = wp_get_attachment_url($link['id']); else : $url = $link['url']; endif; ?> <li><a href="<?php echo $url; ?>"><?php echo $link['title']; ?></a></li> <?php endforeach; ?> </ul>
You need to check the 'type' and then get with wp_get_attachment_url() the attachment url from the 'id'. <?php $related_links = get_related_links(null, 1); ?> <ul> <?php foreach ($related_links as $link): ?> <?php if ($link['type'] == 'attachment') : $url = wp_get_attachment_url($link['id']); $mime = explode('/', get_post_mime_type($link['id'])); $mime = $mime[sizeof($mime) - 1]; else : $url = $link['url']; $mime = null; endif; ?> <li><a href="<?php echo $url; ?>"><?php echo $link['title']; ?><?php echo isset($mime) ? ' (' . $mime . ')' : ''; ?></a></li> <?php endforeach; ?> </ul>
Put the get_related_links() function or your whole code into an if clause. Like this your theme will still work even if the plugin is deactivated. <?php if(function_exists('get_related_links')) : ?> <?php $related_links = get_related_links(); ?> <ul> <?php foreach ($related_links as $link): ?> <li><a href="<?php echo $link['url']; ?>"><?php echo $link['type']; ?>: <?php echo $link['title']; ?></a></li> <?php endforeach; ?> </ul> <?php endif; ?>

Sign In / Register

You need to sign in or register to use this feature.