WordPress.org

Ready to get started?Download WordPress

Forums

Google Calendar Events
[resolved] Need additional functionality help (5 posts)

  1. gdisalvo
    Member
    Posted 1 year ago #

    Hi Ross,

    First problem:
    After reading the event builder I found a method to link ICAL to the event using this : Add to your calendar!

    Except I had issues making it work.

    Can I get an ICON instead of text?

    Second Problem:
    Need to remove "Event on" text from grid area. I can't find it, you must of hidden it.

    Third Problem:
    CSS to alternate feed colors. Using a new CSS (CUSTOM) in my theme ofcourse. Here is what I am using.

    .gce-feed-1 {
    background:#CCFF99 !important;
    }
    .gce-feed-2 {
    background:#FFFFCC !important;
    }
    But the .gce-list-title is giving me plain white. I tried several things and no luck. Especially if the first one is a class today.

    I tried ODD and EVEN too. No luck.
    .gce-list-title li :nth-child(even) {
    background: #FFFFCC !important;
    }

    WEB address:

    Any help appreciated.
    Thanks

    http://wordpress.org/extend/plugins/google-calendar-events/

  2. gdisalvo
    Member
    Posted 1 year ago #

    Ross,

    One more nice to have - ability to change next / prev >> to text so I may try to convert to buttons for nav.

  3. gdisalvo
    Member
    Posted 1 year ago #

    The area in calendar shows:

    list( $p, $pl ) = each( $pn );
    list( $n, $nl ) = each( $pn ); #previous and next links, if applicable

    Any way to change this to words "Next" and "Prev"

  4. Ross Hanney
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    The link to add events to a calendar doesn't seem to work any more. Google appear to have dropped support for it. I'm not aware of an alternative way of doing this, I'm afraid.

    To remove the "Events on" text, remove or alter the title parameter of the [google-calendar-events] shortcode on your page.

    The gce-list-title element isn't part of the event markup. It's a title that may appear above more than one event (in the case of grouped lists). If you want the event date to also inherit the feed specific styling, the best way is probably to remove the title parameter from the [google-calendar-events] shortcode (as above), and then use the [start-date] shortcode in the event display builder field.

    It isn't possible to change the previous / next link text, I'm afraid (at least not without editing the plugin code). However, the links have gce-prev and gce-next classes applied to them, so you could style them however you like; perhaps with background images. You could hide the current navigation arrows with the following CSS:

    .gce-prev,
    .gce-next {
    	text-indent: 100%;
    	white-space: nowrap;
    	overflow: hidden;
    }
  5. gdisalvo
    Member
    Posted 1 year ago #

    Cool thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.