badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: The service "Read More" link not correct

#45092
Mark L
Participant

I was digging on my own to fix this, I was in the same part of the code and have fixed the issue.

On line 317 add this line:
$page_permalink = get_permalink();

Changed line 341 to:
<a class="more-link" title="<?php echo esc_attr($page_title);?>" href="<?php echo esc_attr($page_permalink); ?>">

The $page_title is already defined. This resolves the issue but I do not have a child theme for this fix. Leaving “the_permalink()” in line 341 does not work.

Please advise on how this will be resolved in the current code release and how I will need to update my theme.