Integrating MantisBT with WordPress

Due to updates, over time, that have been made to the site and the age of this article, this post may not display correctly. In particular images may be missing or product reviews display incorrectly.

If this is the case and you'd particularly like me to fix it, then please reach out to me on Twitter.

Recently I mentioned how I was integrating MantisBT with my blog. Well, I thought I’d release the code for anybody else to use and tinker with.


This would need adding to your functions.php file and introduced a new shortcode. Simply use [mantis]Name[/mantis]Β in a post or page, where Name is the project name in MantisBT.

In my code I’m displaying, separately, bugs and maintenance & enhancements (the latter two being grouped together), each with their own heading. Under each heading I also include a link to the relevant roadmap for the project.

Not surprisingly I only fetch open issues πŸ˜‰

If you need any help modifying this for your own use, let me know.

One Comments

  • Raghu

    29th September 2016

    Hi David,
    I have already integrated mantis bug tracker in my website,But i need single login.
    if user logins he should not login to bug tracker again.
    Can you please help me on this.


Talk to me!