• Resolved drtyrell

    (@drtyrell)


    I’ve turned off all the calendar /RSS settings and they continue to show up. Am I doing something wrong?

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @drtyrell

    Could you be a bit more specific on what you would like to remove? The piece of code or a screenshot of it would be helpful.

    Thanks,
    Andras

    Thread Starter drtyrell

    (@drtyrell)

    I want to remove the links that say:

    Add
    Add to Google Calendar 
    Download iCal

    In the dashboard, go to Gigpress > Settings, and uncheck “Show RSS and iCal subscription links.”

    • This reply was modified 5 years, 3 months ago by cstokley.
    Thread Starter drtyrell

    (@drtyrell)

    That’s my point. I’ve UNCHECKED all RSS features and the links still show up. ??

    Whoops, sorry about that! Are you seeing the links on the related post listings, or the widget, or …?

    • This reply was modified 5 years, 3 months ago by cstokley.
    Thread Starter drtyrell

    (@drtyrell)

    The Actual Page

    ^^ Check there. It’s on the top level Tour page. I’m using the tag:

    [gigpress_shows scope=all]

    My clients needs to show his entire history to validate future venues.

    Plugin Contributor Andras Guseo

    (@aguseo)

    Hi @drtyrell

    At the moment there is no setting to hide those links. However you can do that in 2 different ways.

    Option 1 – Hide it with CSS:

    .gigpress-calendar-add {
    	display: none;
    }

    Option 2 – Remove from code:

    Take this file:
    wp-content/plugins/gigpress/templates/shows-list.php

    Make a copy of it here:
    wp-content/gigpress-templates/shows-list.php

    From this new file remove lines 41-51 which look like this:

    if($scope != 'past') : ?>
    <div class="gigpress-calendar-add">xxx
        <a class="gigpress-links-toggle" href="#calendar-links-<?php echo $showdata['id']; ?>">Add</a>
        <div class="gigpress-calendar-links" id="calendar-links-<?php echo $showdata['id']; ?>">
            <div class="gigpress-calendar-links-inner">
                <span><?php echo $showdata['gcal']; ?></span>
                <span><?php echo $showdata['ical']; ?></span>
            </div>
        </div>
    </div>
    <?php endif; ?>

    Let me know if this helps.

    Cheers,
    Andras

    Thread Starter drtyrell

    (@drtyrell)

    Thank you so much! I can’t believe I didn’t think of the CSS method. Super appreciate your help.

    Plugin Contributor Andras Guseo

    (@aguseo)

    Happy to hear it helped!

    I have submitted a code change request to include the option to hide those buttons individually with a setting. I hope it will go through soon.

    Cheers,
    Andras

    Hey there! We have released an update to include @aguseo’s work. https://theeventscalendar.com/release-notes/gigpress/gigpress-2-3-24/

    Please let us know how it goes!

    Thanks
    Courtney ???????

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can’t remove calendar links’ is closed to new replies.