Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.320.920 Times

Better Related Posts 0.4.3.3

  Date Added: August 10, 2013  |  Visits: 492

Better Related Posts

Report Broken Link
Printer Friendly Version


Product Homepage
Download (52 downloads)



Custom post types are one the best features in WordPress. Since WordPress 3.0 they are much easier to use. Almost every theme I build for a client features at least one custom post type and usually a custom taxonomy as well.But there is a problem. There is no plugin that lists related posts that are from a custom post type. After looking through the sourcecode of a few plugins I decided to implement my own related content plugin.Plugin Features * Depends on PHP5 and MySQL5 * Option to add related posts to the RSS feed * Use fulltext indexes for good performance * Does caching through post meta or transients * Incremental scoring for sites with many posts * Find related posts, pages and custom post types * Score relationships by various MySQL relevance scores or term relationships o Use tags, categories or custom taxonomies * Internationalized, OO, hopefully well documented and readableOther plugins I wrote * Better Lorem Ipsum Generator * Better Related Posts * Custom Avatars For Comments * Better Tag Cloud * Theme Switch * MU fast backend switch * Visitor Movies for WordPress * Zero Conf Mail * Move WordPress Comments * Delete Pending Comments * Snow and moreInstall : If you have a big site keep in mind that installing this plugin will create a fulltext index for your posts, so the size of the wp_posts table can almost double. 1. Upload the plugin to your plugins directory 2. Enable the plugin 3. Enable automatic display of related postsHow to place a related content list manuallyIf you don't enable automatic display of related posts on the plugin options page (the very first setting) you'll have to use the template tag to insert a related content list into your theme. If you use this outside of the WordPress loop you have to pass the post ID as parameter.How to build a custom loop of related postsHere is a short example how to build your own loop of related posts. This way you can add excerpts, post thumbnails etc.Please notice that the posts won't be ordered by score if you build a loop like this. To accomplish this you'll have to sort the posts in $my_query manually. I have a relevant example on how to sort posts manually on my site. I'll build something like this into the plugin in the future.How to evaluate different scoring methodsLogged in admins can get the results of all scoring methods by using the template tag in the loop of their theme. Example:The scoring methodsContent to content, title to content and title do title are simple MySQL fulltext searches.Keywords to content and keywords to title do a fulltext search for a string that contains all terms a post has. If a post is in the category Fruits and tagged sweet a fulltext search for "Fruits sweet" will be performed.Terms against taxonomies searches for posts that have the same terms as the current one. By default only posts that use the same taxonomy are found. It is however as well possible to find posts that use a different taxonomy, by searching this other taxonomy for terms of the same name. See the examples below.How to use different configurations at the same timeIt is possible to use different configurations of the plugin at the same time. Let's say you use the normal related content feature for your posts. But you also have a custom post type 'venue'. To get a custom list of related venues use this:It is imporant to define a storage ID, or the plugin will overwrite the scores for the standard posts with the scores for your custom configuration. The default storage ID is 'better-related-', so you should avoid that unless you changed the default.To get a similar listing that includes related posts (from the built-in 'post' post type) use:Now an example that shows off all configuration options available:Notes: * Using the usetax parameter means that cross-taxonomy searches will be performed. It is not recommended to use this parameter at the moment, as it's usage will probably change in the future. However, if different taxonomies share terms you can play with this parameter. * You should not log on live sites. * The high querylimit in this example could slow down your site. * The transient storage should only be used temporarily and for testing purposes. * Enabling incremental scoring means that the relatedness scores for posts will be calculated in multiple steps. In the example above up to 30000 related posts will be found and the necessary queries will be spread across three page views, assuming there is no cache.Find posts related to a stringThe template tag returns related posts for a string. The tag prints a list of posts related to a string. Usage:I use this on 404 pages currently, see the paste for my dynamic WordPress 404 search form. In the future I will probably add a replacement for the built-in WordPress search to this plugin.mysqld configurationGenerally speaking, the plugin should work out of the box. However, there are two settings you might want to change, see the mysql full-text fine-tuning docs.ft_min_word_len controls the minumum length of words. This defaults to 4, which might be too small if you use acronyms like CSS, PHP etc. You can change or set that option to 3 in your mysqld config. You will have to re-build your fulltext indexes after doing this, use "REPAIR TABLE table_name QUICK;" where table_name is wp_posts on a default WordPress install.The second option could be interesting if your site is not in english and you want to improve search results. Use the ft_stopword_file option to create your own stopwords file. MySQL uses english stopwords by default.

Requirements: No special requirements
Platforms: PHP
Keyword: Comments Custom Documented Features Pages Plugins Posts Readableother Related Relationships Relevance Score Sites Taxonomies Types Wordpress
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


BETTER RELATED POSTS RELATED
Modules  -  Hide custom fields 1.0
Hide custom fields from post and pages if activating this plugin.Don't want to embarrass your customers with too much data in the admin panel? The most users don't need custom field, so why don't turn them off? Just activate this plugin and the...
10 KB  
Networking  -  WordPress Importer 0.2
Import posts, pages, comments, custom fields, categories, and tags from a WordPress export file.Installation : 1. Upload the wordpress-importer folder to the /wp-content/plugins/ directory 2. Activate the plugin through the 'Plugins' menu in...
10 KB  
Modules  -  Better Lorem Ipsum Generator 0.9.3.7
When you create WordPress plugins and themes it is often a good thing to test them on blogs with much data. Since 3.0 I use custom post types and custom taxonomies a lot and couldnd-deOaot find a plugin that autogenerates them. Hence I wrote a new...
10 KB  
Networking  -  Excerpt Editor 1.4
Excerpt Editor provides a convenient place for creating and editing all excerpts. It can also add custom excerpts for pages (not possible without a plugin). Features: auto-creating excerpts when publishing new Posts and Pages, displaying...
10 KB  
Networking  -  Simple add pages or posts 1.1
Plugin to simply add multiple posts or pages at once by entering their titles. Handy tool if you have a new blog and want to quickly add pages like Home, About, Contact ...
10 KB  
Modules  -  Posts List 0.4.0
Adds a posts (or pages) list of your blog pages (not posts) by entering the shortcode [posts-list].First example shows how to add the posts list in its simplest form.[posts-list]Example shortcode will add a pages list to a page.[posts-list...
10 KB  
Modules  -  GeneralStats 0.80
Things like the number of users, categories, posts, comments, pages, links, tags, link-categories, words in posts, words in comments and words in pages, are counted.InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate...
 
Networking  -  Mass Page Maker 2.6.6
From a simple admin panel, Mass Page Maker makes it easy to create multiple pages or posts. This is dramatically faster than doing it manually. In most cases, 100 posts/pages can be added in less than one second. Options are available to customize...
10 KB  
Networking  -  d13slideshow 2.2.0
D13Slideshow is a plugin that will create an animated promo slideshow as part of your WordPress blog. You can use it to promote any pages or posts in your site and it is fully customisable through the admin pages of your blog. Unlike some other...
10 KB  
Networking  -  Canonical URL's 2.0
Adds rel="canonical" URL's of your choice to the of your posts and pages, instead of the default canonical link that was introduced in WordPress 2.9.More info: * Canonical URL's for WordPress. * Read more about how to improve your WordPress SEO,...
10 KB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB