Product support

Get help in the plugin support forum.


Blog Tags Extension

This plugin is an extension to the RainLab.Blog plugin. This extension enables tagging blog posts and displaying related articles.

Websites using Blog Tags Extension

Keios Solutions, All of the Lights

Want to show how your website is using this plugin? Feel free to get in touch with a review.

Related Posts

The blogRelated component can be used to display a post's related articles.

  • Slug - The target post's slug parameter.
  • Results - The number of related posts to display.
  • Sort by - How to sort the related articles (by relevance, title, published date, or updated date).
  • Order - Direction to sort the results (ascending or descending).

Tag List

The blogTags component is can be used to display a list of all tags.

  • Hide orphaned tags - Hides tags with no associated posts.
  • Results - The number of tags to display.
  • Sort by - How to sort the tags (by number of posts, title, or created date).
  • Order - Direction to sort the results (ascending or descending).

Tag Search

The blogTagSearch component returns all posts with a particular tag.

  • Tag - The URL parameter used to search for posts.
  • Paginate results - Determines if the results are paginated or not.
  • Page - The URL parameter defining the page number.
  • Results - Number of posts to display per page.

This component also provides several pagination variables. They are totalPosts, postsOnPage, currentPage, resultsPerPage, previousPage, nextPage, and lastPage. For an example of how to paginate your results, please review the pagination partial. The posts may be loaded through the Page URL parameter, or through the AJAX framework via the onLoadPage() method.

  • Found the plugin useful on 15 Nov, 2018

    The page is working very slowly, as it tries to pull all the records on the tag editing page when table has lots of records.

  • Found the plugin useful on 22 Jan, 2017

    Hi! tags produced only in English... It is impossible to expand the Russian language?

  • Found the plugin useful on 16 Dec, 2016

    Works as expected. Great work, thanks for doing this! :)

  • Found the plugin not useful on 19 Oct, 2016

    I get the following error while installing the plugin

    SQLSTATE[HY000]: General error: 1005 Can't create table `u847981389_tux`.`#sql-88f_d5eb590` (errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table `bedard_blogtags_post_tag` add constraint bedard_blogtags_post_tag_post_id_foreign foreign key (`post_id`) references `rainlab_blog_posts` (`id`) on delete cascade)

  • Found the plugin useful on 17 Oct, 2016

    Works well. A muss have for a blog

  • Found the plugin useful on 6 May, 2016

    you have a some unresolved bug. if you come to ...blog/tags/<nonexistent tag> you will get an exception "Division by zero". You have to check existing of tag before.

    I used fast hack in controller; if (!Tag::where('name', $this->property('tag'))->first()) {

            // for displaying tagname on search page
            $this->tag = new Tag(); 
            $this->postsOnPage = 0;

  • Found the plugin not useful on 20 Dec, 2015

    there is no minimum amount to get started

  • Found the plugin not useful on 21 Nov, 2015

    What's the purpose of this plugin if I can't click in the related post or in the tabs?

  • author

    Replied on 27 Nov, 2015

    There is nothing preventing you from linking to related posts. If you need help, feel free to open a support thread.

  • Found the plugin useful on 5 Nov, 2015

    some useful thanks!

  • Found the plugin useful on 24 Mar, 2015

    Thanks! I found this really quire useful. Especially the related posts feature.

  • Found the plugin useful on 4 Jan, 2015

    works good.


Turkish translation added (kutups)

Mar 31, 2018


!!! A slug is now created for each tag.

Apr 18, 2017


Add slug field to tags (Fl0Cri)

Apr 18, 2017


Add German translation (justb81)

Feb 24, 2017


Add Hungarian translation (gergo85)

Feb 08, 2017


Add MIT license (gergo85)

Feb 06, 2017


Use native taglist and add translation file.

Feb 05, 2017


Add slugify configuration option (vojtasvoboda)

Dec 04, 2016


Database maintenance. Updated all timestamp columns to be nullable.

Dec 04, 2016


PostgreSQL support and various bug fixes

Oct 02, 2016


Removed getters to make plugin more accessable.

Feb 25, 2015


Upgrades for RC, and adds several new features.

Feb 25, 2015


Replace deprecated method

Jan 18, 2015


Bug fix

Jan 12, 2015


Added optional pagination to the blogTagSearch component.

Jan 12, 2015


Minor fix

Dec 24, 2014


First version of Blog Tags Extension

Dec 23, 2014