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
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 6 years, 4 months ago by
cstokley.
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 6 years, 4 months ago by
cstokley.
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.
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
Thank you so much! I can’t believe I didn’t think of the CSS method. Super appreciate your help.
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