Hard Code widget to home page

Home Forums Calendar Products Events Calendar PRO Hard Code widget to home page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #959698
    Katie
    Participant

    I am trying to figure out how to hard code the widget into the homepage of our site. I know I have to put it in the index.php file and I know where I need to add it, but I can’t figure out the right code to add.

    #959870
    Geoff
    Member

    Hi Katie!

    Good question. I think your best bet here is to create a new widget area that is tied specifically to your site’s homepage and include that widget area in the template. That way, you can drop the event widget into that area under Appearance > Widgets, while having it coded directly into the template.

    Will this work for you? Please let me know. 🙂

    Cheers!
    Geoff

    #959874
    Katie
    Participant

    Actually, yes that would work well. So, where do I find the widget information to create this?

    #959875
    Geoff
    Member

    Hi Katie,

    Great, I’m glad that will work!

    Check out the links in my last reply. Those will walk you through how to set up a new widget area in your theme, then include it in the template. You can then drop the event widget in that widget area in the Appearance > Widget area of WordPress. 🙂

    Cheers!
    Geoff

    #963342
    Geoff
    Member

    Hey there, Katie! This thread has been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to start a new thread if you still have questions here and we’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hard Code widget to home page’ is closed to new replies.