Remove Title from Read More


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. in the html folder in template files:
  2.  
  3. <?php if ($this->item->readmore_register) :
  4. echo JText::_('Register to read more...');
  5. elseif ($readmore = $this->item->params->get('readmore')) :
  6. echo $readmore;
  7. else :
  8. echo JText::sprintf('Read more', $this->escape($this->item->title));
  9.  
  10. endif; ?>
  11. Change this rule:
  12.  
  13. echo JText::sprintf('Read more', $this->escape($this->item->title));
  14. To:
  15.  
  16. echo 'Read More';

URL: http://stackoverflow.com/questions/5730435/remove-readmore-article-title-from-joomla

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.