Support » Theme: Tracks » double display of 'read this post'

  • Resolved LilianLeahy

    (@lilianleahy)


    Hi,

    I see a double display of ‘read this post’ on the home page of my blog http://www.lilianleahy.com .

    I think it might be a result of a social media share buttons plugin (Really simple Facebook Twitter share buttons version 3.2.2 by WhileTrue) I installed, because I did not see this before.

    What can I do to fix this?

    Thanks for anyone’s help in advance,

    Lilian

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

    (@bensibley)

    Hi Lilian,

    Thanks for using Tracks!

    Someone else recently had the same issue, and I can confirm that the plugin is indeed causing the “read the post” link to display twice.

    The other user with this issue decided to use the Jetpack plugin instead for adding social media share buttons, and that’s what I would recommend doing as well.

    I may be able to create a patch in a future update, but it will be a while until that’s available for download.

    I, too, am getting the double-display of the “Read The Post” after upgrading from 1.29.00 to 1.30.3. I get the general one from the theme, and then one from the child-theme that we created with this post: https://wordpress.org/support/topic/changing-read-the-post?replies=5

    I’m not using the above mentioned plugin, and to verify that it wasn’t actually plug-in related, I disabled EVERY plugin and still am getting this issue. I know I could simply edit the parent-theme but shouldn’t have to as the point of child-themes is to avoid having to edit on each upgrade.

    Thread Starter LilianLeahy

    (@lilianleahy)

    Hi Ben,

    Thanks for your quick response. It helped in my case to deactivate the plugin. I haven’t had time to replace it with the jetpack plugin yet, but will do soon and hopefully that solves my issue completely.

    Cheers,
    Lilian

    Theme Author Ben Sibley

    (@bensibley)

    @LillianLeahy no problem, thanks for your understanding.

    @malone76 the custom function used to replace the read more text, but is now concatenated to the default read more text. This makes more sense though I’m not sure what caused the sudden change.

    To fix it, you can remove the default read more text function like this:

    remove_filter('the_excerpt', 'ct_tracks_excerpt_read_more_link');

    Add that anywhere in your child theme’s functions.php file and it will remove the default read more link.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘double display of 'read this post'’ is closed to new replies.