Support » Plugin: Simple Calendar - Google Calendar Plugin » gce-add-text-to-widget question

  • Resolved matt6303


    I found your code for a ‘gce-add-text-to-widget’ plugin in another support case from last week, and applied it to my site. Works great!

    My question: I have two calendars that I am displaying on the site, but this code applies the text to all widgets regardless of which calendar. How might I make the text conditional, so that the widget displaying calendar 1 gets different text (which is a link to a page displaying the full calendar) than the widget displaying calendar 2?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ross Hanney



    I tried adjusting the functionality plugin I posted before to allow this, but it was a bit messy (it required knowing the ID of each widget, which isn’t simple to find).

    However, I have just updated the development version of the plugin, adding an option to the widget settings that allows you to specify some text / HTML to be displayed at the bottom of each widget.

    I did a little testing, but if you notice any bugs / problems with this, let me know.

    Ross – I just realized that I never replied to let you know that the development version is working fine on the site. Thank you for your quick response and good work!

    Plugin Contributor Ross Hanney


    Great! Thanks for reporting back.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘gce-add-text-to-widget question’ is closed to new replies.