- This topic has 2 replies, 2 voices, and was last updated 6 years, 10 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Biography Pro › Delete "more" tag
Dear Support team,
I would like to get rid of the more link, that is displayed when separating excerpts from pages with the <!–more–> tag.
For example: In the “services” section I want site visitor to not see the rather unelegant (more…) link but only access the page via clicking on the headline.
I’d be happy to hear any advice from you.
Best regards
Hey again,
I think I fixed it myself by simply adding
function modify_read_more_link() {
return '<a class="more-link" href="' . get_permalink() . '"> </a>';
}
add_filter( 'the_content_more_link', 'modify_read_more_link' );
into my child themes functions.php and just filling in a -space- where the modified text is supposed to go.
I’ll leave it here in case it is of use for someone else.
Hello @mengeler,
Glad that you figured out the issue by yourself.
If you have any issues further please feel free to post.
Best Regards!!
Have a good day 🙂 .
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |