我想让joomla文章介绍图像表现得像阅读更多,标题链接.因此,用户单击图像,然后加载文章.
我不是PHP专家,但也许这是readmore链接代码:
<a href="<?php echo $this->item->readmore_link; ?>" class="button<?php echo $this->item->params->get('pageclass_sfx'); ?>">
<?php if ($this->item->readmore_register) :
echo JText::_('Register to read more...');
elseif ($readmore = $this->item->params->get('readmore')) :
echo $readmore;
else :
echo JText::_("Read Article");
endif; ?></a>
Run Code Online (Sandbox Code Playgroud)
这就是我想要对我的joomla网站上的每个介绍图像做的事情.谢谢 !