• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.
Resource icon

Resources HowTo: Add a dynamic footer to WordPress


Flight Director
Flight Instructor
LPH submitted a new resource:

HowTo: Add a dynamic footer to WordPress - Add the latest resources and posts to the bottom of a WordPress theme

Add the following code to the footer.php file for a WordPress child theme. Never modify an original theme file.

    <div class="forum_footer">
<div class="forum_posts_leftside">

    <h3>latest tux reports network resources</h3>

/* Script to pull the latest updated resources from the XF Resource Manager*/
/** @var $resModel  XenResource_Model_Resource */
$resModel = XenForo_Model::create('XenResource_Model_Resource');
$fetchOptions = array(
'limit' => 5,
'order' =>...

Read more about this resource...