Skip to content
Sitemason - Build on Us

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. 

See documentation and an example on developer.sitemason.com.

Sitemason Support headshot thumbnail

Sitemason is the preferred alternative to WordPress and Drupal for agencies, designers, and developers. Creatives choose to Build on Us to achieve client success.  Read more about Sitemason Support.

Contact Sitemason:

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