geoffcalver
Member
Posted 1 year ago #
Trying to use the "Event Page Plugin" to create an event page in which posts labeled as a events are used in an event format on the page.
Instructions are:
You'll need to create a new template file entitled "events.php" ** To do this copy your file entitled page.php and name it events.php. ** Place this code <?php /* Template Name: Events */ ?> on the first line of the file. ** Remove the code that prints the post to the page and replace it with this code: <?php tern_wp_events(); ?> ** Upload the new file to the server.
I obviously get placing the first line of code, but I can't figure out which code is associated with the second line.
Here's my page.php:
[Code moderated as per the Forum Rules. Please use the pastebin]
Can anyone help me figure out where to place that second line?
Thanks!
Geoff
Can you paste and submit the full code into a pastebin.com and post the link to it here? see the Forum Rules for posting code and using the pastebin.
geoffcalver
Member
Posted 1 year ago #
Sorry about that! Haven't been on in at least a year and last time I was around posting code was cool.
Here's the pastebin link:
http://pastebin.com/dTwUuxgf
Thanks for the help!
can you also put sidebar-secondary.php in a pastebin
geoffcalver
Member
Posted 1 year ago #
Try it with this: http://pastebin.com/FGS6TaXm
And put the code here where it says: <!-- put the your code here -->
Sorry try it with this one: http://pastebin.com/hNd5Cmjq
And put the code here where it says: <!-- put the your code here -->
You don't have to do this with the second pastebin.
geoffcalver
Member
Posted 1 year ago #
Thank you! That looks like it worked. HUGE PROPS!
You're welcome. Glad you got it resolved