Guest User

Untitled

a guest
Apr 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. function theme_custom_feeder($variables) {
  2. $node = custom_load_context('current-node');
  3. $output = '';
  4. $output = '<h2 class="feeder-title">' . $variables['title'] . '</h2>';
  5. $variables['block_name'] = 'feeder';
  6. $output .= theme('custom_engagement_block', $variables);
  7. if ($node->type == 'issue') {
  8. $output .= l('View All', 'issues', array('attributes'=>array('class'=>'view-all')));
  9. $output .= l('Type Feed (RSS)', 'issues/feed', array('attributes'=>array('class'=>'type-feed')));
  10. }
  11. return $output;
  12. }
Add Comment
Please, Sign In to add comment