Week view : custom hours (how to implement?)

Home Forums Calendar Products Events Calendar PRO Week view : custom hours (how to implement?)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #970986
    Etienne
    Participant

    Hi,

    I understand that a feature was added in 3.10 for filtering hours in the week view. However, I don’t understand how to implement this; do I have to create a php file or modify one the plugin’s files by copying it to my theme folder? Where will I find the bits of code that we can find there.

    Sorry if it’s an easy one, I’m trying but can’t seem to find the answer.

    Thanks,
    Etienne

    #971166
    George
    Participant

    Hey Etienne,

    Thanks for reaching out to us!

    The example code there should give a good basis for you to build on top of – basically, what you would do is take the example code in that article, copy it, and paste it into the functions.php file of your theme.

    This file should already exist, and you should be able to paste the code into somewhere near the bottom of the file without issue.

    I hope this helps – let us know if it does, and if not, elaborate on what information we can provide to be more helpful! 🙂

    Thank you,
    George

    #971190
    Etienne
    Participant

    Thanks a lot, I copied it in the functions.php using the WordPress editor and it worked right away. Just a question though, since I copied it directly in my functions.php file, does that mean that it will go away and I’ll have to start over when I’ll update my theme?

    #971640
    George
    Participant

    Just a question though, since I copied it directly in my functions.php file, does that mean that it will go away and I’ll have to start over when I’ll update my theme?

    Unfortunately, yes, this is the case. All the more reason to keep good, consistent backups of your entire site and database, and to backup manually before installing or updating anything on your site – plugins, themes, WordPress core itself, anything.

    Cheers!
    George

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Week view : custom hours (how to implement?)’ is closed to new replies.