BN Guess Blog Name


Chris Newton -

3rd Party (Free)

EE Version Support

  • ExpressionEngine 1.x


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



BN Guess Blog Name does one simple thing. It strips the following words out of a provided variable: _detail, _archive, _landing, etc.

Example use:

{exp:bn_guess_blog_name segment="{segment_2}"}

You have template code that is almost identical for the Articles and News section of your site, except the weblog name is different in each template. You can turn that common code into an embed, and pass in the weblog name as a variable (weblog_name=“news”) Unfortunately, if you have multiple levels of embeds it can be difficult to keep all of the embed variables straight several layers down. If your template name is based on the short name of your weblog, you can use this plugin “guess” the name of the weblog from the template name in the page’s url_title.

If, for example, you have a weblog named “news”, and a template called “news_detail”, this plugin can shorten the word “news_detail” and output the word “news” in the exp:weblog:entries tag. As i mentioned, this is probably really only useful if you have multiple weblogs using the same custom fields, and you have lots of nested embeds.

BN Guess Blog Name Links

This entry was created October 29, 2009, 3:59 pm.
This entry was last updated October 31, 2009, 7:41 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!