Forum Replies Created
-
AuthorPosts
-
Brook
ParticipantHowdy Andrej,
That is easy enough to do. Just a little bit of PHP and HTML. That particular button appended to the filter ‘tribe_events_after_footer’. Although, it is set to not appear if (is_single() || !has_events()). ZThe CSS class to make it look like that is .tribe-events-button. Based on your screen shot, I am not certain if you are trying to move the prev event link there or not. If so, you might want to create a theme override to hide it from month/nav.php and use the function tribe_events_the_previous_month_link() to call it. But, keep in mind you would probably want do the same thing with the Next Month link as well.
This probably is a bit confusing if you have not taken a look at the code yet. Checkout views/month/nav.php inside of the-events-calendar plugin folder. Also lib/tribe-ical.class.php shows you the specifics for adding the export link, it is in the function maybe_add_link(). These sort of things tend to make more sense, at least to me, when I see it in action.
Does that answer your questions? Can I expound or clarify anything? Please let me know! Cheers.
– Brook
Brook
ParticipantHowdy barberillo,
This seems to be a duplicate of this: https://theeventscalendar.com/support/forums/topic/view-lis-not-working-until-last-event/ I will archive this one. Thanks!
– Brook
Brook
ParticipantHowdy barberillo,
Looking at your site it may have been fixed. I see a number of “Educación contemplativa” events in both list and Month views. Did you also have ones ending with “eventos”? Perhaps they are set to be hidden from views, either by changing the Post Visibility to Private, or checking the box “Hide from event views”. Both of those settings can be fount on the Edit Event page.
Were you able to fix it already? If there is still a problem, does the above information help? If not, do you have a link handy directly to one of the events that does not appear in list view? Thanks you for posting!
– Brook
October 31, 2014 at 3:23 pm in reply to: Event Cal Pro causing 404 when using paginate_links() on Posts page #852996Brook
ParticipantHowdy loopedyarnworks!
That function is likely a part of your theme. Your theme is likely using get_posts() for pagination, something it’s not intended to be used for. And that actually makes incompatible with our plugin. Fortunately we have a detailed guide on this topic, including instruction on how to build a function that is compatible! Does that guide answer your questions?
– Brook
October 30, 2014 at 10:49 am in reply to: User unable to access admin pages after upgrade to 3.8.1 #850106Brook
ParticipantHowdy graphicscoop,
I am glad you detailed your special upgrade use case. Very helpful as we make our activation page more robust. We do have some changes to it planned for 3.9. Mean while, this snippet can be pasted in a theme’s functions.php file to disable that page from every showing. Or, perhaps it could be turned into a simple plugin and activated network wide? Would that work for now?
– Brook
Brook
ParticipantWell that’s not a good option. I think I figured out a way to solve this in the interim. Try pasting this snippet in your theme’s functions.php file: http://pastebin.com/swhxx0FX That solved things on my end. Please let me know if it works! I have not had a chance to test it super thoroughly, but I see no reason it would have side-effects. Cheers!
– Brook
Brook
ParticipantHowdy sean,
That is correct. I get the feeling a difference in you PHP version or PHP configuration is the problem. That is causing an error, and the error is stopping the script from working properly. According to that error changing the 4 to a 3 might fix things.
My bad on your request, I did misunderstand slightly. I have not tested this but I bet wrapping the line of code which changes everything to blank ($varname = “”;) in the following conditional
if(is_single()) { // insert code here }will work. Of course changing the 4 to a 3 in Brians script might also work. If you have a chance to try that let me know! I do want to get you sorted if at all possible. Cheers!– Brook
Brook
ParticipantYou might also find our documentation helpful. We list the various function you can use to pull data on events:
– Brook
Brook
ParticipantHowdy jorrellang,
Ahh I follow you! That is also possible with a theme override. Specifically month/single-day.php.
– Brook
October 29, 2014 at 11:13 pm in reply to: How to Exclude Events from Blog Archives and Search Results #848805Brook
ParticipantHowdy rtwdave,
For sure. My above both was rife with spelling errors. Sometimes my fingers and I don’t agree on which key to hit 🙁 . But, hopefully I can expound on it a bit. To include pages and other post types as well as posts you need replace ‘post’ in that snippet with a PHP array of all the post_types you want, including pages.
Does that make more sense, especially now that it is in proper English?
– Brook
Brook
ParticipantHowdy capstone,
I have used Yoast quite extensively with The Events Calendar. I can not say I will recommend it, but personally I did not have problems. We have actually have some discussion with the developer, Joost, in an effort to make them as compatible as possible.
Would that work instead of WP SEO? BTW thanks for letting me know that plugin is a problem!
– Brook
Brook
ParticipantHowdy opus13,
That is exactly what is going on. Until an order is finalized the ticket is not marked as sold. This prevents a host of problems with events appearing as sold out when they really are not. For instance a malicious person could even purchase all available tickets with bad payment info and thus prevent you from selling any tickets to real customers until you manually come in and fix things. That’s no good!
Does that make sense? Now that you know that is there anything else I could help you with?
– Brook
Brook
ParticipantHowdy sadrobot,
Thanks for pointing this out. That does look to be a bit of a bu in the code on our end. Usually URLs are run through URL espcaing before being echoed, but in this case it looks like one is not. I will reports this to the devs so they can fix it.
In the interim, I bet if you switched to “pretty URLs” this error would disappear. Furthermore, many people state that a site looks more professional and gets better search engine performance. This can be accomplished by going to WP Admin > Settings > Permalinks and changing the option to anything but the default.
Does that answer your questions? Is there anything else I can help with? Please let me know!
– Brook
Brook
ParticipantHowdy jorrellang,
It sounds like the first item is totally doable via a theme override. Have you seen our themers guide yet? It walks you through creating one of those. Of course some PHP and CSS knowhow is involved when customizing pages and templates, but if you have that or employ someone hwo does htis sort of change is a breeze! Specifically you want to modify single-event.php.
Your second item is probably also possibly possible via a theme override, though I am not sure I grasp the specifics. Ming expounding a bit? What do you means by “focusing”? In HTML that traditionall refers to the DOM’s focus event, but I do not believe that is what you meant here.
Please let me know if you have questions. If not, mind answering mine so I can help you further? Cheers!
– Brook
Brook
ParticipantHowdy sean,
This snippet might work instead: http://pastebin.com/evUKFyHP It does have one caveat, namely that the default title for an upcoming events widget will now be blank. However, you can change it to something, including Upcoming Events, if you prefer.
Just worth mentioning that the sort of issue you are encountering falls a bit outside of our scope of support. Both Brian and I have provided you snippets we would not normally do. I mention this only because I want you to be aware that in the future we probably will not be able to provide you custom code like that. As outlined in our scope of support we offer guidance, not specific code. You might need a developer, if you are not one, to be able to take that guidance and actually write the code. I hope you understand this going forward. I just did not want you to be disappointed in the future if the level of support changed. At the moment we have gone way beyond what we normally would, because from time to time for nice customer we can. But, it is not something we can do all the time.
Please let me know if that worked. Cheers!
– Brook
-
AuthorPosts
