Remove links and screenreader-text in eo_fullcalendar

WordPress Event Management, Calendars & Registration Forums General Question Remove links and screenreader-text in eo_fullcalendar

This topic contains 3 replies, has 2 voices, and was last updated by  Stephen Harris 8 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24051

    Is it possible to remove links and the screenreader-text span in the eo_fullcalendar for all event (single and reocurring ones)?

    I’d like to have something like a halfway printable version of fullcalendar.

    I tried to remove the links with eventorganiser_calendar_event_link, but this only disables the links, it doesn’t remove the a href tags.

    Is the a filter I can apply before rendering the fullcalendar, so that I can do a preg_replace?

    B+eo
    #24083

    Which browser are you using? I’ve tested using chrome, firefox and IE and I do not see the screen reader text.

    If it’s appearing for you, you could add some print styles to hide it, but it’s not possible to remove it.

    Stephen Harris
    #24251

    No, I don’t see it, but if I copy the calendar and paste it into an text document (not int the browser), it takes the screen-reader text aswell.

    B+eo
    #24295

    I don’t think there’s anyway of preventing that – what is copied will be up to the browser and it’s not possible to remove the screen reader text (at least not without editing https://github.com/stephenharris/Event-Organiser/blob/develop/js/fullcalendar.js and the minifed version).

    Is there a reason it needs to be copied into a document, would a screenshot suffice? The calendar was never intended to be copied and pasted into a document.

    Stephen Harris
Viewing 4 posts - 1 through 4 (of 4 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.