• Resolved Alain Lankers

    (@alain-lankers)


    I have just purchased the PRO plugin and have following issues:
    – some read more links are missing with some announcements, please check link https://bit.ly/2EEMmje (read more link is not disabled)
    – where can I translate the Read More text?

    > with the free version I did not have these issues

    • This topic was modified 6 years, 9 months ago by Alain Lankers.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Code Parrots

    (@codeparrots)

    Hey Alain,

    The read more links are generated when the content of the announcement exceeds the length of the excerpts. This was a complaint that we frequently received since users were clicking into announcements to view more of it, only to find it was just as long as the excerpt.

    What you can do to enable the read more links for all announcements is to use the filter that we’ve built into the plugin to re-enable this.

    Feel free to add the following to your themes functions.php

    add_filter( 'timeline_express_conditional_readmore', '__return_false );

    As for the read more links, the translation files in the free version are served through www.ads-software.com. It’s possible that the Pro version isn’t fully translated into the language you are using it in, yet.

    To update the Read More link text you can also use a filter to do so:

    function timeline_express_custom_read_more( $post_id ) {
    
       return 'Custom Read More';
    
    }
    add_filter( 'timeline_express_read_more_text', 'timeline_express_custom_read_more' );

    That should alter the read more links to be ‘Custom Read More’ on all of the announcements. You can also conditionally filter them based on the $post_id, however you need for your project.

    Thread Starter Alain Lankers

    (@alain-lankers)

    Thanks for your reply! I fixed thanks to your page here: https://www.wp-timelineexpress.com/documentation/not-announcements-read-link/

    Plugin Contributor Code Parrots

    (@codeparrots)

    Great! Glad to hear it.

    We’re working hard on the bc/ad dates add-on and should have that ready in the next couple of days.

    We will certainly post back on the other thread and keep you updated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘read more issues’ is closed to new replies.