change widget output
-
Hi,
the widget on my “extra-sidebar” should only display Eventname, Start & Endtime(-date) and location. No event description, only a Link to the google calendar for details.
Which plugin file manage the output from the widget ?
I need some help what should be edited/changed.http://laber.planet-heisel.de/ (Look for Termine on the right)
Google Calendar Events Version 2.1.4
WordPress 4.0.1
Raindrops themeregards
Juergen
-
The output of your calendars is determined by your Event Builder code or the Simple Display options in your feed settings.
Hi,
thanks, but these options affect the output of the page and the widget.
What I mean is the output of the page:
Permalink: http://laber.planet-heisel.de/?gce_feed=termine
should show start,end,location and “long description”.The widget should display only: start, end, location and a link for more details.
regards
Juergen
Are you saying that you’re trying to pull from the same feed on both a page and a sidebar? (If not, please ignore the next remarks.)
It would be better to create two different feeds for these two different purposes. Because the formatting code in the feed will govern what will be pulled and displayed from the google calendar.
So for the sidebar, if I understood right, you’d like to display only:
Eventname
Start & End time
location(I’m guessing the date should appear above all of that.)
I think the following might work:
<div class="gce-list-event gce-tooltip-event">[link][event-title][/link]</div> <div>[if-not-all-day] [start-time] - [end-time] [/if-not-all-day] </div> [if-location] <div>Location: [location]</div> [/if-location]To avoid including the description, make sure your formatting code in your feed does not include anything like
[if-description] <div>Description: [description]</div> [/if-description]@aparente001 is correct. You will need to setup two different feeds if you want them to display differently.
Hi,
thanks to everybody for help.
The setup of 2 Feeds is exactly want i need.Thank you
The topic ‘change widget output’ is closed to new replies.