I'm new to joomla development. I use joomla v3.6.2, and in home page, I have some article. Unfortunately when I click on article title or read more link, it will show me the full article but still in home page. I read some solution, and what I try to do now is using hidden menu technique. It works like what I want, but my problem now is how can I override the href of title and read more, so I can assign to the url to hidden menu. I read some code in readmore.php in layout folder and it seems that I have to change value in this line:
<p class="readmore"> <a class="btn" href="<?php echo $displayData['link']; ?>" itemprop="url">
can anyone help me how to achieve this?