• Resolved tlasuk

    (@tlasuk)


    This code is causing my Pro-sitemap indexing service to go crazy –
    Every events page shows a broken link to itself with [[=permalink]] appended on the end of the link.

    How do I fix this?

    <script type=”text/html” id=”tribe_tmpl_month_mobile”>
    <div class=”tribe-events-mobile tribe-clearfix tribe-events-mobile-event-[[=eventId]][[ if(categoryClasses.length) { ]] [[= categoryClasses]][[ } ]]”>
    <h4 class=”summary”>
    [[=title]]
    </h4>

    <div class=”tribe-events-event-body”>
    <div class=”tribe-events-event-schedule-details”>
    <span class=”tribe-event-date-start”>[[=dateDisplay]] </span>
    </div>
    [[ if(imageSrc.length) { ]]
    <div class=”tribe-events-event-image”>

    [[=title]]

    </div>
    [[ } ]]
    [[ if(excerpt.length) { ]]
    <div class=”tribe-event-description”> [[=raw excerpt]] </div>
    [[ } ]]
    [[=i18n.find_out_more]]
    </div>
    </div>
    </script>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘[[=permalink]] in script making me crazy’ is closed to new replies.