When i am click Read more button its open in same tab but sir i want to open all post read more link in new tab sir we tried many method but it not working plz help me sir
To make read more button to open posts in new tab you have to:
-
Edit file called
content-extensions.php
. This file can be found intavelivy folder - library - structure
. -
On
content-extensions.php
file find all lines saying this:
echo '<a class="readmore" href="' . get_permalink() . '" title="'.the_title( '', '', false ).'">'.__( 'Read more', 'travelify' ).'</a>';
- Now replace above mentioned lines with this one instead:
echo '<a class="readmore" href="' . get_permalink() . '" title="'.the_title( '', '', false ).'" target="_blank">'.__( 'Read more', 'travelify' ).'</a>';
It appears numerous times, so make sure to change all of them.