Home › Forums › Calendar Products › Events Calendar PRO › Calendar view on homepage?
- This topic has 8 replies, 4 voices, and was last updated 12 years, 8 months ago by
Barry.
-
AuthorPosts
-
July 23, 2013 at 2:47 pm #56682
Stephanie
ParticipantHello
I’m using the Graphene theme and would like to show the calendar view on the homepage like this site http://events.stcwdc.org/.I followed the instructions from this thread, entered the code into the end of my functions.php file and it now says there is a parse error.
https://tri.be/support/forums/topic/lost-display-of-calendar-on-home-page-after-update-to-3-0-1/#post-54031July 23, 2013 at 5:05 pm #56724Cynthia Lockley
ParticipantHi Sherwin,
In addition to the code at https://gist.github.com/neillmcshea/e02186aa700db743aa41 that you need to add to the functions.php file, you also need to add the following code to your index.php or home.php file of your theme (without the backticks). I put mine just above the start of the loop:
“July 23, 2013 at 5:07 pm #56725Cynthia Lockley
ParticipantBack ticks didn’t work this time. Here is the snippit:
http://snippi.com/s/dufba85July 24, 2013 at 3:55 pm #56983Barry
MemberThanks for helping out here Cynthia 🙂
@Sherwin: does that get you close to a solution?
August 2, 2013 at 1:59 pm #58569Stephanie
ParticipantThanks for your help! Just a few more questions as I’m quite new at this code stuff.
1) Do I need to add the snippet code to the index.php file before I enter the code to the functions.php file? or vice versa?
2) Is there a specific place within the indez.php and functions.php files that I place the code?This is my site so far. http://newsaitsa.demowatt.com/
Thanks!August 3, 2013 at 1:27 am #58647Sean Mulkerrin
ParticipantI would like to use this solution too, but not for the home page, but on a separate page, which has a slug /month-view – just want folks to be able to see the calendar on full width, because when it’s seen with my theme’s sidebar enabled it’s just too wide and breaks the layout.
Any tips would be helpful! Thanks!August 6, 2013 at 4:37 pm #59191Barry
MemberSorry for the delay everyone, it’s been a busy time and we’ve been snowed under with support requests.
@Noel: if you need help removing the sidebar from certain event related pages please just create a new thread and one of the team will be happy to help if they can 🙂
@Sherwin: I believe the first snippet Cynthia shared would go in your functions.php file – the second would go in your index.php or home.php template in place of wherever your other content would go.
I’m afraid I can’t be much more specific than that simply because every theme is different. It definitely does require a little WordPress/PHP development know-how to make changes like this.
August 7, 2013 at 2:47 am #59237Sean Mulkerrin
ParticipantHi Barry, I did, and I’m still waiting for a response 🙂
August 7, 2013 at 6:53 am #59259Barry
MemberApologies for the delay – the team’s been overwhelmed with support requests over the last couple of weeks, but we will get there and creating a new thread as you have done is the right way to go 🙂
-
AuthorPosts
- The topic ‘Calendar view on homepage?’ is closed to new replies.
