OpenAgenda / wordpress

Display customizable OpenAgenda calendars on your WordPress site
GNU General Public License v2.0
3 stars 2 forks source link

Questions related to OpenAgenda WP-Plugin #28

Closed danana closed 1 year ago

danana commented 1 year ago

Hi,

I have a few questions, if you can help me out please. I added the Open Agenda WP-plugin on our website: https://coolturalia2.mystagingwebsite.com/calendar/coolturalia/ (uid: 95186839)

Thank you!

vincedubroeucq commented 1 year ago

Hello, All templates are customizable. You need to copy them from the plugin folder to a openagenda/ folder in your child theme. From there you can customize the template however you like.

So you could for example check if an event is "A la une", then add a CSS class to it if it's the case, or use a different markup. You could also customize the event page and display only the information you want.

openagenda_language_switcher() is not a shortcode, it's a function. So you have to use in in your template code to display the language switcher.

Basically, since you have control over the templates, you can go as far as you want regarding customizations. Some specific cases will require you to add more or less logic to your site, but anything is possible.

Hope that helps !