Support » Plugin: The Events Calendar Shortcode & Block » More on adding a read more link

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Brian Hogg

    (@brianhogg)

    Hi Steve!

    The option for things like a button (ie. in the default or the compact designs) was added to the pro version, with the ability to change the text/background colors along with the text content of the button (adding button="Read More" to the shortcode).

    The ability to create custom templates without modifying the core plugin was also added to the pro version, for those that don’t want to keep changes up to date or create some kind of filter code for it. For example adding a custom ‘read more’ link (not button) would be copying whichever template, then adding:

    <a href="<?php echo tribe_get_event_link() ?>">Read more</a>

    near the end where you’d like it.

    Cheers!

    • This reply was modified 1 year, 1 month ago by  Brian Hogg.
    Steve

    (@stevielovegun)

    Thanks for the quick response Brian, got that. I’ll check out the pro version.

    efishinsea

    (@efishinsea)

    HI. It seems like there is a “read More” link added (free version) but it isn’t actually a link. Any ideas on this?

    Plugin Author Brian Hogg

    (@brianhogg)

    Hi @efishinsea!

    There is no “read more” link in the free version of this plugin, so might be your theme or another plugin adding it.

    If you have the URL of the page where you added the shortcode, and could mention exactly what [ecs-list-events] shortcode you are using, would be curious to see what is being generated at least.

    Cheers!

    efishinsea

    (@efishinsea)

    This is the shorcode used:

    [ecs-list-events limit=’3′ order=’DESC’ viewall=’false’ thumb=’true’ venue=’true’ eventdetails=’true’ thumbwidth=’300′ thumbheight=’167′ excerpt=’400′ contentorder=’thumbnail, title, date, venue, excerpt’]

    On this page:
    http://urlgone.com/446b1d/

    Plugin Author Brian Hogg

    (@brianhogg)

    Hi @efishinsea!

    I’m not able to see the page (the URL doesn’t work) but it must be your theme or another plugin adding a “read more” since this plugin doesn’t add one.

    You can determine which plugin or theme is adding it with the following steps:

    1. Ensure you have a backup of your site in case there are any issues when disabling/enabling plugins or your theme
    2. Disable all plugins (except the calendar plugin and this plugin), and switch to a default theme like Twenty Sixteen then verify the issue is resolved
    3. Re-enable your plugins and switch back to your previous theme one by one verifying if the issue is still occurring, and note which one causes it to appear

    You can then find out from the theme or plugin author how that ‘read more’ might be removed. And the pro version does give you the button="Read More" option on most designs, which would be an actual link 🙂

    Cheers!

    genepine

    (@genepine)

    Hi
    I’m try to edit “list-widget.php” and add “Read more” link.
    So I add suggestion of @brianhogg.
    https://wordpress.org/support/topic/more-on-adding-a-read-more-link/#post-10549692
    “>Read more

    But I cannot get FULL LENGTH of the posts link.

    Please tell me any suggestions.

    Plugin Author Brian Hogg

    (@brianhogg)

    Hi @genepine!

    The suggestions were for the pro version to add the link/button for each event, either using button="true" or editing the template.

    There’s also an option in the pro for raw_description and description to show the full length of posts:

    https://eventcalendarnewsletter.com/events-calendar-shortcode-pro-options/#description

    Otherwise you’d need to create some custom code to do that.

    Cheers!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘More on adding a read more link’ is closed to new replies.