Manual Related Posts

CodeCanyon Manual Related Posts 1667827
Plugin
Related \ Manual \ Custom \ FcnGetManualRelatedPosts \ Plugin \ Foreach

Plugin - Manual Related Posts 1667827 by seandelaney @ CodeCanyon

Plugin

What is Manual Related Posts?
Manual Related Posts is a plugin that allows you to manually specify related posts, rather than use a algorithm.

Pages and any Custom Post Type that you’ve defined will also work. You can also relate Posts to Pages and visa versa.

Once activated, this plugin adds a meta box to the Add/Edit Post screen where related posts can be chosen.

There is no limitation to the number of related posts you can have for any one post, and un-relating a post again is simple – un-select the related entry and update the Post.

- Shortcode support

- Filtering is supported if you have a large list to pick from.

- Multi language support including US, GB, FR, DE, NL, IT, ES and RU.

- Pages and Custom Post Types work in the same way.

Displaying related posts with Manual Related Posts
Displaying related posts, pages or custom post types is easy. There are two options.

- Call Manual Related Posts within The Loop . This will display all related posts for each Post (if any).

- Call Manual Related Posts outside The Loop, in sidebars, footer areas or anywhere you want by passing a Posts ID. This will display all related posts for a specific Post (if any).

Pages and Custom Post Types work in the same way.

Manual Related Posts will not output any headings above your related posts, pages or custom post types. This is up to you, so you have full control over the look and feel.

Please view the screenshots for examples. Alternatively post a comment with any questions you have. Feature requests also accepted.

Code Examples
In your templates, use these examples to list the related posts for the current post or a specific post.

<?php
/* Specific Post (pass the Posts ID) */
foreach(fcnGetManualRelatedPosts($post_id) as $pid) .
echo '<li><a href="http://codecanyon.net/'.get_permalink($pid).'">'.get_the_title($pid).'</a></li>';
endforeach;
- >
<?php
/* Current Post */
foreach(fcnGetManualRelatedPosts() as $pid) .
echo '<li><a href="http://codecanyon.net/'.get_permalink($pid).'">'.get_the_title($pid).'</a></li>';
endforeach;
- >
<?php /* Get Excerpt */ ?>
<h2>Related Posts</h2>
<ul>
<?php foreach(fcnGetManualRelatedPosts() as $id) : ?>
<li>
<a href="http://codecanyon.net/item/manual-related-posts/<?php echo get_permalink($id); ?>"><?php echo get_the_title($id); ?></a>
<p><?php echo fcnGetManualRelatedPostExcerpt($id); ?></p>
</li>
<?php endforeach; ?>
</ul>
<?php
/* The default excerpt length is 55 words. You can now take control of this by passing a second parameter. Example: 30 words. */
echo fcnGetManualRelatedPostExcerpt($id,30);
- >
<?php
/* Display a related posts thumbnail */
foreach(fcnGetManualRelatedPosts($post_id) as $pid) .
echo get_the_post_thumbnail($pid,array(100,100));
endforeach;
- >
[manual_related_posts post_id="4" title="Some Title"]

Installation

- Upload the Manual Related Posts plugin folder to the plugins directory (/wp-content/plugins/) by the Wordpress plugin Uploader or by FTP

- Activate

- Add or Edit a post and relate posts.

Latest Version
Latest version is 2.2.

Last Update: 30 July 14; Files Included: PHP.

WP-Restrict.

Keywords: manual, posts, related custom post types, related page, related posts.


Create CodeCanyon Manual Related Posts 1667827 style with After Effect, Cinema 4D, 3DS Max, Apple Motion or PhotoShop. CodeCanyon Manual Related Posts 1667827 from creative professional designers. Full details of CodeCanyon Manual Related Posts 1667827 for digital design and education. CodeCanyon Manual Related Posts 1667827 desigen style information or anything related.

Comments:

Name:*
E-Mail:*
Add Comments:
Enter Code: *