• Resolved Samuel Aguilera

    (@samuelaguilera)


    After updating to 1.25 noticed that post titles in read more link are hidden (the text is there but hidden).

    Reverting back to 1.24 solves the issue. The problem is caused by changes done in functions related to read more link customization in functions.php file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hi Samuel,

    Thanks for getting in touch.

    Author doesn’t normally display the post title in the read more links besides the “screen reader text” which isn’t visible. However, the way the links are added has changed in v1.25 as you mentioned. Do you have a plugin or child theme that may be affecting the content of the more links? The way Author has been updated, it’s possible that it’s filtering the link after another function and overriding it.

    Thread Starter Samuel Aguilera

    (@samuelaguilera)

    Do you have a plugin or child theme that may be affecting the content of the more links?

    Yes I have a plugin for that.

    The way Author has been updated, it’s possible that it’s filtering the link after another function and overriding it.

    Maybe you should consider not doing that ??

    Anyway you can mark this topic as resolved, I have fixed the issue myself overriding ct_author_filter_read_more_link() function.

    Thanks.

    Theme Author Ben Sibley

    (@bensibley)

    No, this is a better way for the theme to handle the read more links. A plugin should assume the theme is editing the more link and use at least a priority of 11 on filters like “the_content_more_link”, “excerpt_more”, and “get_the_excerpt”. Author uses a default priority of 10 on each of these filter hooks which makes it easy to override ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘1.25 hides the title of the post in the read more link’ is closed to new replies.