Home › Forums › Calendar Products › Events Calendar PRO › Calendar kills all HTML in calendar page
- This topic has 7 replies, 2 voices, and was last updated 11 years, 7 months ago by
Brian.
-
AuthorPosts
-
August 27, 2014 at 4:49 am #703784
corre
ParticipantGuys your plugin is awesome but I you just have to shortcode it because it strips off some elements I need on page.
Is there any way around that?
August 27, 2014 at 9:01 am #704240Brian
MemberHello,
Sorry for the troubles, but I can help you out here.
Unfortunately, we do not have a shortcode.
We do have a way to customize all the templates so you can get them to work with your theme.
Our themer’s guide can get you started there:https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
Do you have a link to your site so that I can take a quick look and make some suggestions on what you can do?Please let me know.
Thanks
August 29, 2014 at 12:07 am #708165corre
ParticipantHi,
Please take a look here:
http://www2.dancekeeper.com/events-2There are two issues:
1. The page title is in a simple <h1> tag but for some reason it appears smaller than other pages
2. There should have been a Facebook like and share button below the title. It is a shortcode that located below the <h1>Upcoming Events</h1> element but it’s gone here.August 29, 2014 at 7:39 am #709000Brian
MemberHello,
I took a look at your site and see this title “Upcoming Events” Is that what you are talking about as being smaller? I looked at the source code and it shows as an H2 tag for me. Maybe that is the reason why.
As for the Facebook buttons, if it is using a hook to appear under an h1 title, maybe because it is an h2 tag it is not showing. Have you tried directly putting the shortcode in the template with the WordPress do_shortcode function.
http://codex.wordpress.org/Function_Reference/do_shortcode
Let me know if that helps or you would like some other help related to this issue.
Thanks
September 7, 2014 at 3:49 am #728252corre
ParticipantThe title is indeed <h1> but I saw what you meant – the debug shown it is rendered as <h2> and I don’t know why. It also gets the class “tribe-events-page-title” which I did not assign. I am sure the <h1> is being manipulated by the plugin somewhere but I don’t know where.. therefore I contacted you 😉
Regarding FB, I call it by a shortcode I created which then returns the FB official code. I rather not alter the template files. Plus, using shortcodes should not be intervened by the plugin, right? 🙂
September 8, 2014 at 6:59 am #730553Brian
MemberHello,
I can help you out some more on this.
The events pages do not use your theme’s content templates that is why it is no an h1 tag there and why the shortcode is not there.
But, if you move:
views\pro\photo\content.php
To the directory outlined in the themer’s guide to your theme you will be able to modify this line:
<h2 class="tribe-events-page-title"><?php echo tribe_get_events_title(); ?></h2>You can then change that to an H1 tag and add the shortcode below using WordPress’s do_shortcode.
That is about the only option I have for you to make the title an h1 tag on an Event View. That about coding will work on the Photo View, you would have to do the same for the List, Month, etc views as well.
Another option for the shortcode is to use this hook ‘tribe_events_after_the_title’ to add the shortcode below the title’s on all the views.
That is about as much help I can give on customizations, but if you get stuck after moving the files over to your theme let me know and I can help out on the next step and then again you can take it from there.
Also, I moved this to the Pro Section as this was related to that Plugin and not our Facebook Events Plugin.
Thanks
September 9, 2014 at 10:22 pm #734460corre
Participant1. Sorry for opening the thread in the wrong section
2. It is so sad that I have to go through all this just to be able to design a wordpress page
3. Regardless of the absurd of not having the calender placed by a shortcode, your support is professional and amazing. I value that a lot and thank you for that.September 10, 2014 at 7:50 am #735364Brian
MemberThank you for the complement about our support.
I understand the frustration of not having a shortcode as it could make customizations easier. We are planning on adding one in a future release, but there is no concrete timetable for it yet.
There is a UserVoice Feature Suggest that you could upvote to get it more to our attention if you would like.
Since this topic is resolved I am going to close this ticket.
If you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Thanks
-
AuthorPosts
- The topic ‘Calendar kills all HTML in calendar page’ is closed to new replies.
