Add "Read More" in tooltip

Home Forums Calendar Products Events Calendar PRO Add "Read More" in tooltip

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1475601
    Jack Penland
    Participant

    I’m thinking this is an insanely easy question to answer, but I’m just missing it…

    I’m managing this site that uses “The Events Calendar Pro.”
    http://whidbeycamanoislands.com/calendar/

    Here is another local website also using the pro version (I thinkthey took my advice.)

    I need the site I manage to include the “Read More” text that theirs does.

    Theirs was not installed by a developer, so I know there’s no custom programming involved. I’m hoping I missed a checkbox somewhere.

    Thanks.

    #1476529
    Cliff
    Member

    Hi, Jack.

    If they don’t have any custom coding, it could be built-in from their theme.

    To add this yourself, please reference https://theeventscalendar.com/support/forums/topic/help-adding-category-to-tooltip-but-with/#post-1080199 for how to customize the tooltip.

    Please let me know how this goes for you.

    #1477090
    Jack Penland
    Participant

    I’m getting there. The discussion was out of my comfort zone, but your 2/25/16 answer and link to Github led me to a line of code that I could slightly modify to add a “Read More” link.

    <p><a href="[[=permalink]]" class="url">Read More</a></p>

    Following that Github example I added that line in 2 locations to the tooltip.php. Once for the regular listing and once for the featured listing. (See attached) It works fine for featured listings, but that same line is doing nothing for the regular listings.

    You can see it for yourself, here…
    https://whidbeycamanoislands.com/calendar/

    Thoughts?

    #1477209
    Cliff
    Member

    Good job 🙂

    Looks like it’s working to me. Do you need any more help with this?

    #1477441
    Jack Penland
    Participant

    How did I not see that?

    Will this survive an update or do I need to somehow get this into the child theme?

    #1478007
    Cliff
    Member

    If it’s in your main/parent theme, I’d recommend moving it to a child theme.

    Please read through https://theeventscalendar.com/knowledgebase/implementing-custom-code-snippets/ for more details.

    Please let me know if you have any follow-up questions on this topic.

    #1482135
    Jack Penland
    Participant

    Got it! Thanks!

    #1482153
    Cliff
    Member

    Glad to hear. You bet!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add "Read More" in tooltip’ is closed to new replies.