Jump to content
DevFuse Forums

Recent entries for a specific Blog


How to lock the Recent Entries hook to one specific Blog only

Its quite easy to lock the 'Recent Entries' hook to a specific Blog if required, although it seems this feature is not well known about. :)

Simply view the Blog you wish to use, and get it's ID:


123 is the ID in this case. You need to view the Blog as it will not always match the members ID.

Edit conf_global.php and add the following, the best place is to make it the last line, but obviously before the closing ?> tag

[code]define( 'BLOG_RENTRIES_BLOG_ID', '123' );[/code]

Change the 123 to the correct ID you wish to use and save.

Recommended Comments

There are no comments to display.

  • Create New...