Home › Forums › Calendar Products › Community Events › post heading and Introductory text formatting gone
- This topic has 7 replies, 2 voices, and was last updated 10 years, 3 months ago by Casey.
-
AuthorPosts
-
January 10, 2014 at 4:08 pm #90292Suzanne HuebschParticipant
This regards:
http://westcoastknitters.org/events/community/addWe had some preamble text before the Community Events form as per
https://theeventscalendar.com/add-html-above-community-events-submission-form/All was working great with the above functions.php added to our child theme of the 2012 Theme.
We recently updated to
The Events Calendar 3.3.1
The Events Calendar: Community Events 3.3
The Events Calendar PRO 3.3
The Events Calendar Category Colors 3.2.1
WordPress 3.8-The problem: The Community Events form heading ‘Submit an Event’ is now gone.
The list tags in the functions.php file are now being ignored. Any ideas?January 13, 2014 at 12:43 pm #91364CaseyParticipantwckg,
Thanks for reaching out! So sorry to hear you’re having these issues, but hopefully I can help you out here.When I view the page source, I’m noticing that the correct HTML is being outputted, but it looks like the styling is being removed by your theme’s stylesheet. Could you share the code you’re using to output this HTML with me? You’ll probably want to use a site like Pastebin or Gist, so that everything comes across correctly.
Could you paste your code into one of those sites and then share the link with me, so I can take a closer look?
Thanks!
January 14, 2014 at 12:48 am #91962Suzanne HuebschParticipantThanks for responding Casey.
If you meant the php creating the preamble, I got it from
https://theeventscalendar.com/add-html-above-community-events-submission-form/
and made a functions.php for it in the child theme, it is not in the 2012 functions.php
See it here http://pastebin.com/cZ9M44NuIf you meant the style sheet, I uploaded the child theme’s (of 2012) CSS to
http://pastebin.com/t2WLCJfx for you to see.
To create the child theme CSS I just copied the 2012 style sheet to the child and modified it as needed.
JohnJanuary 14, 2014 at 6:43 am #92101CaseyParticipantJohn,
Can you try switching your Events page template over to the ‘Default Page Template’ (screnshot) to see if that fixes the issue? Just go to Events->Settings->Display to change this and let me know if that resolves the problem.Thanks!
January 14, 2014 at 6:31 pm #92722Suzanne HuebschParticipantHi Casey
Went to Events->Settings->Display.
It was at ‘Default Events Template.’
Changed it to ‘Default Page Template.’
Saved.
This corrected all the issues I reported above (Hooray!)
However the knitters want their calendar to be full page width, as it was with the ‘Default Events Template.’
With the ‘Default Page Template’ the calendar displays with the side bar, which makes the calendar smaller and causes text wrapping.
Screen shot here: http://westcoastknitters.org/wp-content/uploads/2014/01/small-calendar.png
So I reverted back to ‘Default Events Template’ for now.
I want to stress for anyone reading, the Calendar seems to be functioning perfectly either way, this is just an annoying display issue on some inserted preamble text, by using some extra php, while using the ‘Default Events Template.’
JohnJanuary 15, 2014 at 8:50 am #93035CaseyParticipantJohn,
You should be able to only switch your page template for Community by pasting the following code into your theme’s functions.php file: https://gist.github.com/jazbek/6189599Make sure to change ‘new-template.php’ to ‘page.php’ or another template you’d like to use.
Give that a try and let me know if it resolves the issue. Thanks!
-Casey-
January 15, 2014 at 9:55 pm #93372Suzanne HuebschParticipantFIXED!
Excellent, Casey
I added the code you posted at gist to my child theme’s functions.php file. I changed ‘new-template.php’ to ‘page.php’ as suggested. Worked first try. If interested, my updated functions.php file is here: http://pastebin.com/fewycAfc
JohnJanuary 16, 2014 at 7:18 am #93493CaseyParticipantJohn,
Great! Thanks for confirming that this got you sorted. Since you’re all set here, I’m going to mark this thread “Answered” and close it out.By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5
Thanks in advance. 🙂
Cheers,
Casey -
AuthorPosts
- The topic ‘post heading and Introductory text formatting gone’ is closed to new replies.