Sign in to follow this  
Followers 0

Recent entries for a specific Blog


Description

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:

example.com/forum/blog/123-testers-blog/

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.



0 Comments

There are no comments to display.