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.

Tested up to WP 3.4.2 (Current: 6.8.2)
v1.7.1 Current Version v1.7.1
Updated 13 years ago Last Update on 12 Sep, 2012
Synced 4 days ago Last Synced on
Rank
#11,484
No change
Active Installs
300+
No change
KW Avg Position
N/A
No change
Downloads
19K
Total downloads
Support Resolved
0%
No change
Rating
86%
Review 4.3 out of 5
4.3 (6 reviews)

Next Milestone 400

Total Progress 12%
300+ 400+
1,102
Ranks to Climb
-
Growth Needed
8,000,000
Current 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 88 more installs to reach 400+

Rank Changes

10,910 11,197 11,484 11,771 12,058 17-12-2025 18-12-2025 19-12-2025 20-12-2025 21-12-2025 22-12-2025 23-12-2025 24-12-2025
10,910 11,197 11,484 11,771 12,058 09-12-2025 10-12-2025 11-12-2025 12-12-2025 13-12-2025 14-12-2025 15-12-2025 16-12-2025 17-12-2025 18-12-2025 19-12-2025 20-12-2025 21-12-2025 22-12-2025 23-12-2025 24-12-2025
10,910 11,197 11,484 11,771 12,058 24-11-2025 25-11-2025 26-11-2025 27-11-2025 28-11-2025 29-11-2025 30-11-2025 01-12-2025 02-12-2025 03-12-2025 04-12-2025 05-12-2025 06-12-2025 07-12-2025 08-12-2025 09-12-2025 10-12-2025 11-12-2025 12-12-2025 13-12-2025 14-12-2025 15-12-2025 16-12-2025 17-12-2025 18-12-2025 19-12-2025 20-12-2025 21-12-2025 22-12-2025 23-12-2025 24-12-2025
10,910 11,197 11,484 11,771 12,058 25-09-2025 26-09-2025 27-09-2025 28-09-2025 29-09-2025 30-09-2025 01-10-2025 02-10-2025 03-10-2025 04-10-2025 05-10-2025 06-10-2025 07-10-2025 08-10-2025 09-10-2025 10-10-2025 11-10-2025 12-10-2025 13-10-2025 14-10-2025 15-10-2025 16-10-2025 17-10-2025 18-10-2025 19-10-2025 20-10-2025 21-10-2025 22-10-2025 23-10-2025 24-10-2025 25-10-2025 26-10-2025 27-10-2025 28-10-2025 29-10-2025 30-10-2025 31-10-2025 01-11-2025 02-11-2025 03-11-2025 04-11-2025 05-11-2025 06-11-2025 07-11-2025 08-11-2025 09-11-2025 10-11-2025 11-11-2025 12-11-2025 13-11-2025 14-11-2025 15-11-2025 16-11-2025 17-11-2025 18-11-2025 19-11-2025 20-11-2025 21-11-2025 22-11-2025 23-11-2025 24-11-2025 25-11-2025 26-11-2025 27-11-2025 28-11-2025 29-11-2025 30-11-2025 01-12-2025 02-12-2025 03-12-2025 04-12-2025 05-12-2025 06-12-2025 07-12-2025 08-12-2025 09-12-2025 10-12-2025 11-12-2025 12-12-2025 13-12-2025 14-12-2025 15-12-2025 16-12-2025 17-12-2025 18-12-2025 19-12-2025 20-12-2025 21-12-2025 22-12-2025 23-12-2025 24-12-2025
Current #11,484
Change
Best #

Upgrade to Pro

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

Upgrade Now

Active Installs Growth

Downloads Growth

0 50 100 17-12-2025 18-12-2025 19-12-2025 20-12-2025 21-12-2025 22-12-2025 23-12-2025 24-12-2025
0 50 100 09-12-2025 10-12-2025 11-12-2025 12-12-2025 13-12-2025 14-12-2025 15-12-2025 16-12-2025 17-12-2025 18-12-2025 19-12-2025 20-12-2025 21-12-2025 22-12-2025 23-12-2025 24-12-2025
0 50 100 24-11-2025 25-11-2025 26-11-2025 27-11-2025 28-11-2025 29-11-2025 30-11-2025 01-12-2025 02-12-2025 03-12-2025 04-12-2025 05-12-2025 06-12-2025 07-12-2025 08-12-2025 09-12-2025 10-12-2025 11-12-2025 12-12-2025 13-12-2025 14-12-2025 15-12-2025 16-12-2025 17-12-2025 18-12-2025 19-12-2025 20-12-2025 21-12-2025 22-12-2025 23-12-2025 24-12-2025
0 50 100 25-09-2025 28-09-2025 01-10-2025 04-10-2025 07-10-2025 10-10-2025 13-10-2025 16-10-2025 19-10-2025 22-10-2025 25-10-2025 28-10-2025 31-10-2025 03-11-2025 06-11-2025 09-11-2025 12-11-2025 15-11-2025 18-11-2025 21-11-2025 24-11-2025 27-11-2025 30-11-2025 03-12-2025 06-12-2025 09-12-2025 12-12-2025 15-12-2025 18-12-2025 21-12-2025 24-12-2025
0 50 100 24-12-2024 05-01-2025 17-01-2025 29-01-2025 10-02-2025 22-02-2025 06-03-2025 18-03-2025 30-03-2025 11-04-2025 23-04-2025 05-05-2025 17-05-2025 29-05-2025 10-06-2025 22-06-2025 04-07-2025 16-07-2025 28-07-2025 09-08-2025 21-08-2025 02-09-2025 14-09-2025 26-09-2025 08-10-2025 20-10-2025 01-11-2025 13-11-2025 25-11-2025 07-12-2025 19-12-2025 24-12-2025
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%)

Tracked Keywords

Showing 0 of 0
Keyword Position Change Type Updated
No keyword data available yet.

Unlock Keyword Analytics

Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.

  • Full keyword position tracking
  • Historical ranking data
  • Competitor keyword analysis
Upgrade to Pro

Track This Plugin

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

Start Tracking Free

Plugin Details

Version
1.7.1
Last Updated
Sep 12, 2012
Requires WP
3.0+
Tested Up To
3.4.2
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

Frequently Asked Questions

Common questions about Related Links

<?php related_links(); ?>

How can I modify the output of the link list?
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>

What are the properties returned by the `get_related_links()` function?
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

How do I only show the links for a certain post_type in my theme?
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>

How do I show the related links of another post (not the current one)?
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>
<?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>
<?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>

How to prevent a PHP error when the plugin is not activated?
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.