- Posts: 5
- Thank you received: 0
Change 'Link Text' on cards
-
admin8
Inactive member - Topic Author
- New Member
Less
More
1 year 11 months ago #49832
by admin8
Change 'Link Text' on cards was created by admin8
Hi, is it possible to change the text for the 'Link Text' item on cards?
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
1 year 11 months ago #49834
by milos
Replied by milos on topic Change 'Link Text' on cards
Hello,
You should edit the files:
/templates/polygons/html/com_content/featured/default.php (around line 107)
/templates/polygons/html/com_content/category/blog.php (around line 132)
and in both files change this line:
with this (change "Your Link Text" with the text you want):
Regards,
Milos
You should edit the files:
/templates/polygons/html/com_content/featured/default.php (around line 107)
/templates/polygons/html/com_content/category/blog.php (around line 132)
and in both files change this line:
Code:
<p><a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url"><?php echo JText::_('COM_CONTENT_FIELD_URL_LINK_TEXT_LABEL'); ?></a></p>
with this (change "Your Link Text" with the text you want):
Code:
<p><a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url">Your Link Text</a></p>
Regards,
Milos
The following user(s) said Thank You: admin8
Please Log in to join the conversation.
Time to create page: 0.259 seconds