create account

How to Add Related Posts to WordPress Pages: Adding Related Content to All Pages of a WordPress Website by cues

View this thread on: hive.blogpeakd.comecency.com
· @cues · (edited)
$0.28
How to Add Related Posts to WordPress Pages: Adding Related Content to All Pages of a WordPress Website
**Having a list of related information on each page on a website will help decrease the bounce rate and increase the stickiness of the website.**

Building a website is a rewarding task that can share information with others as well as bring in a substantial income. One problem that many website managers face is the reality of a high bounce rate and a low level of stickiness. Understanding this as well as one way to improve this fact can not only improve a reader's experience on the website but improve income potential as well.

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1514807451/vemec2banllg7ejvrspe.png)


### Understanding Bounce Rate and Website Stickiness

The bounce rate, as some analytic trackers will display, is the number or percentage of visitors who leave the website without visiting any additional pages other than the first one they entered the web page through. So for example, someone searching for information on how to improve bounce rate might click a link, read the information and leave the website. This is a bounce visitor.

Website stickiness refers to how likely any given reader is to continue to read additional pages on a website. The more sticky the website, the more pages a single visitor will view, and the lower the bounce rate will be for that site. One way to improve the website bounce rate and make the site more sticky, is to make the site easy to navigate and include a list of related information at the bottom of each page.

### Related Content Widgets and Plugins

There are many different plugins and widgets, often that are free, that will index the blog posts on a site and add a list of related posts at the end of each individual post. This is great for bloggers who can not only add related content to their posts easily, but have the option of choosing which look they like the best. Unfortunately there are not many options for those who have content websites hosted through Wordpress with many pages that are not blog posts.

One way to add related content to each page is to install Searchles Related Content Widget. This is an easy widget to install and customize to any website that will add a list of related content to the bottom of every page, not just blog posts. The downside to Searchles Related Content Widget is that while the widget is free, they place their own advertisements on the widget and while they do share the revenue 50/50, this has the potential to draw visitors away from the advertisements that would make the website owner more income.

While it will take a little bit more work, adding the Yet Another Related Posts Plugin to every page on a website is relatively simple and can improve the bounce rate for the entire website. These directions assume that the website owner is using Wordpress.

1- Install and activate the Yet Another Related Posts Plugin
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1514807571/zqgo2kcfuf58cwczcqso.png)

2- Follow the directions on the Setting page to complete the installation
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1514807610/euw8cjobg0nu2u8r1jox.png)

3- Ensure that the cross-relate posts and pages button is checked - this will ensure that both pages and blog posts are included in the related content listed.
4- Find the page template for wordpress theme
5- Scroll to find the code: 
```
<?php the_content
```
6- Insert the following code directly beneath: 
```
<div class="post"><?php related_posts(); ?></div>
```

This code tells Wordpress that it should center the related content as it would the normal body of the page, making everything line up and look nice. It will then place the related posts on every page of the website including pages and blog posts.

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@cues/how-to-add-related-posts-to-wordpress-pages-adding-related-content-to-all-pages-of-a-wordpress-website">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 6 others
properties (23)
authorcues
permlinkhow-to-add-related-posts-to-wordpress-pages-adding-related-content-to-all-pages-of-a-wordpress-website
categoryutopian-io
json_metadata"{"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":2889328,"name":"WordPress","full_name":"WordPress/WordPress","owner":{"login":"WordPress","id":276006,"avatar_url":"https://avatars0.githubusercontent.com/u/276006?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WordPress/WordPress","description":"WordPress, Git-ified. Synced via SVN every 15 minutes, including branches and tags! This repository is just a mirror of the WordPress subversion repository. Please do not send pull requests. Submit patches to https://core.trac.wordpress.org/ instead.","fork":false,"url":"https://api.github.com/repos/WordPress/WordPress","forks_url":"https://api.github.com/repos/WordPress/WordPress/forks","keys_url":"https://api.github.com/repos/WordPress/WordPress/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress/WordPress/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress/WordPress/teams","hooks_url":"https://api.github.com/repos/WordPress/WordPress/hooks","issue_events_url":"https://api.github.com/repos/WordPress/WordPress/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress/WordPress/events","assignees_url":"https://api.github.com/repos/WordPress/WordPress/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress/WordPress/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress/WordPress/tags","blobs_url":"https://api.github.com/repos/WordPress/WordPress/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress/WordPress/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress/WordPress/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress/WordPress/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress/WordPress/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress/WordPress/languages","stargazers_url":"https://api.github.com/repos/WordPress/WordPress/stargazers","contributors_url":"https://api.github.com/repos/WordPress/WordPress/contributors","subscribers_url":"https://api.github.com/repos/WordPress/WordPress/subscribers","subscription_url":"https://api.github.com/repos/WordPress/WordPress/subscription","commits_url":"https://api.github.com/repos/WordPress/WordPress/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress/WordPress/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress/WordPress/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress/WordPress/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress/WordPress/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress/WordPress/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress/WordPress/merges","archive_url":"https://api.github.com/repos/WordPress/WordPress/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress/WordPress/downloads","issues_url":"https://api.github.com/repos/WordPress/WordPress/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress/WordPress/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress/WordPress/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress/WordPress/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress/WordPress/labels{/name}","releases_url":"https://api.github.com/repos/WordPress/WordPress/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress/WordPress/deployments","created_at":"2011-12-01T07:05:17Z","updated_at":"2018-01-01T08:44:33Z","pushed_at":"2018-01-01T03:18:09Z","git_url":"git://github.com/WordPress/WordPress.git","ssh_url":"git@github.com:WordPress/WordPress.git","clone_url":"https://github.com/WordPress/WordPress.git","svn_url":"https://github.com/WordPress/WordPress","homepage":"https://wordpress.org/","size":180081,"stargazers_count":10309,"watchers_count":10309,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5958,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":5958,"open_issues":3,"watchers":10309,"default_branch":"master","score":132.43274},"pullRequests":[],"platform":"github","type":"tutorials","tags":["utopian-io","php","programming","code","wordpress"],"links":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1514807451/vemec2banllg7ejvrspe.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1514807571/zqgo2kcfuf58cwczcqso.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1514807610/euw8cjobg0nu2u8r1jox.png"],"image":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1514807451/vemec2banllg7ejvrspe.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1514807571/zqgo2kcfuf58cwczcqso.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1514807610/euw8cjobg0nu2u8r1jox.png"],"moderator":{"account":"mcfarhat","reviewed":false,"pending":false,"flagged":true}}"
created2018-01-01 11:54:33
last_update2018-01-07 00:50:18
depth0
children1
last_payout2018-01-08 11:54:33
cashout_time1969-12-31 23:59:59
total_payout_value0.278 HBD
curator_payout_value0.006 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,998
author_reputation5,233,644,911,416
root_title"How to Add Related Posts to WordPress Pages: Adding Related Content to All Pages of a WordPress Website"
beneficiaries
0.
accountutopian.pay
weight2,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id26,356,952
net_rshares30,149,910,580
author_curate_reward""
vote details (70)
@mcfarhat ·
$0.45
Your contribution cannot be approved because it does not follow the [Utopian Rules](https://utopian.io/rules).
Basically your content references the YARP plugin and talks about installing it, yet you talk about a different widget called "Searchles Related Posts Widget" which is a plugin that hasn't been updated in the last 2 years.
This is at risk of being a copy paste content.
Your contribution is also too short, you do not explain what the_content is and you are also missing brackets at its end.
Please avoid such content in your future submission, and create useful and authentic posts.

You can contact us on [Discord](https://discord.gg/UCvqCsx).
**[[utopian-moderator]](https://utopian.io/moderators)**
👍  
properties (23)
authormcfarhat
permlinkre-cues-how-to-add-related-posts-to-wordpress-pages-adding-related-content-to-all-pages-of-a-wordpress-website-20180103t163603458z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-01-03 16:36:12
last_update2018-01-03 16:36:12
depth1
children0
last_payout2018-01-10 16:36:12
cashout_time1969-12-31 23:59:59
total_payout_value0.440 HBD
curator_payout_value0.006 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length713
author_reputation150,651,671,367,256
root_title"How to Add Related Posts to WordPress Pages: Adding Related Content to All Pages of a WordPress Website"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id26,818,374
net_rshares39,264,763,894
author_curate_reward""
vote details (1)