wrcmc

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Using swpm partial protection #1484943
    wrcmc
    Participant

    The updates suggested in Mathew’s link worked.

    Thanks for your help.

    Regards

    Dan

    in reply to: Using swpm partial protection #1484459
    wrcmc
    Participant

    Hi Andras,

    Thanks for information. It has been very informative.

    Using the Themer’s Guide as a basis I actually found a more straight forward method of getting swpm partial protection to work. In the file ‘the-events-calendar/src/functions/template-tags/general.php’ in the tribe_events_get_the_excerpt function there is the following piece of code

    /**
    * Allow shortcodes to be Applied on the Excerpt or not
    *
    * @var bool
    */
    $allow_shortcodes = apply_filters( ‘tribe_events_excerpt_allow_shortcode’, false );

    I found that by changing the setting to true the swpm shortcodes work.

    My only remaining question is where should I create the custom general.php file that I need ?

    Regards

    Dan

Viewing 2 posts - 1 through 2 (of 2 total)