Skip to content
Sitemason - Build on Us

Sitemason Blog

PHP Templates get printRelatedArticles();

 

Today we added a new PHP method to our ever-growing framework. This is a simple way to add related articles for your blog or news feed. The tag-based call by default grabs the 5 most recent articles using tags it detects in the currently viewed article. 

Recent Forum Posts

Warning: file_get_contents(https://sitemason.zendesk.com/forums/279545/entries.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /mnt/files/s/sitemason.com/www/smTemplate/inc/support/zendesk-pull.php on line 11 Warning: usort() expects parameter 1 to be array, null given in /mnt/files/s/sitemason.com/www/smTemplate/inc/support/zendesk-pull.php on line 14 Warning: Invalid argument supplied for foreach() in /mnt/files/s/sitemason.com/www/smTemplate/inc/support/zendesk-pull.php on line 17