Forum Replies Created
-
AuthorPosts
-
November 5, 2013 at 11:25 am in reply to: Premium Theme Options not available in default events template #74784enolloParticipant
Hi Charlene,
There was a high likelihood it wasnโt going to work as I could not test it. Thatโs what I like to call blind coding ๐
If you are still having trouble with this I am glad to help.If your theme is GPL then you can email it to me and I can test it myself and let you know the best way to get what you are looking for.
email: tamara @ enollo.com
I like helping people, especially non-profits ๐
Cheers,
Tamara
November 4, 2013 at 4:44 pm in reply to: Premium Theme Options not available in default events template #74690enolloParticipantAssuming the theme has a global option to hide the page title and judging by the latest snippet, I think this theme is using CSS to hide the title based on options selected rather than some PHP logic that simply does not output a title and associated markup (which is what I would have done). It does check if a single post or page has disabled the page title, and if it has it does not output any markup but that doesn’t give us much flexibility.
I’ve created two options for you if you are not able to get the theme author to add some filters that give you more control over the markup.
https://gist.github.com/tamarazuk/ab3e098fd06ab772f3aa
The PHP can be used in your child theme’s functions.php file and will allow you to change the title as you please. If you want to change the title in general for all events pages to something like “Events” then you do not need any of the “more specific” conditional checks and you should remove them. However, you can instead chose to use that block and change the title based on the type of content being displayed.
However, if you fish to completely remove the title I did not find an easy way to do it with PHP and have added a CSS snippet to add to your child theme’s style.css file.
Btw, I keep mentioning the child theme ๐ You really should be using one if you aren’t already. It is best practice whenever you’re using a theme you did not build yourself. This way you’ll be free to apply any theme updates without losing customizations such as this one.
If you’re looking for more help getting your website off the ground, my team and I specialize in building WordPress websites for small businesses so feel free to get in touch with us at [email protected] if you are interested.
November 3, 2013 at 11:17 pm in reply to: Premium Theme Options not available in default events template #74472enolloParticipantLooks like the title logic is not placed in the file and is probably hooked into the ‘presscore_before_main_container’ action (based on the header.php and the demo source) . The function could be anywhere in the theme so there is not much I can do to help without the actual theme. If you feel like hunting then use a tool to search through all the files and find all instances of ‘presscore_before_main_container’ and take a look at functions relating to the page title. If you find the function then paste in into pastebin for me to take a look so I can let you know the best way to go about modifying it.
November 2, 2013 at 11:37 am in reply to: Premium Theme Options not available in default events template #74381enolloParticipantHi csheldon,
You probably have to take a look at your header.php file and how it includes the page title. If you are unsure of how to take it from there maybe you can copy your header.php file into or https://gist.github.com or http://pastebin.com and reply with the link.
Without the actual theme there is very little I can do but point you in the right direction, but I can try to see if I understand it just from that file alone.enolloParticipantHi evertpensado,
For some people learning coding is not hard, but it is also not an overnight process. I would say it would take at least a couple of months before you feel comfortable enough to dive into your code.
Here are some sites I have used in the past or that I suggest to my interns:
http://www.codecademy.com
https://www.udacity.com
http://teamtreehouse.com
http://learnable.com (they also give you access to some great SitePoint books if you join)If you are comfortable with CSS, then I would suggest instead using a starter theme and just adjusting the styles to match your PSD mockups. Some great starter themes are:
You can find more by searching “WordPress Starter Themes” but note that a lot of them are aimed at developers.
I hope that helps,
Tamara
enolloParticipantHi apapenfuss,
This article seems to be referencing an old version of the plugin. However, the file it references is still in the same location in the new version, but the overwrite file you should create is now in a different location.
If you are successful in finding the file then create a new file named /themes/your-theme/tribe-events/pro/widgets/mini-calendar-widget.php and copy the contents from /plugins/events-calendar-pro/views/widgets/mini-calendar-widget.php
I can’t stress enough how important it is to avoid the Plugins Editor in the WP Dashboard and instead use a text-editor and FTP client. One tiny error can bring the whole site down so at the very least I would make sure you have FTP access before making changes.
enolloParticipantHi awsjulio,
This is a z-index issue. Paste the following in your theme’s style.css and you should be fine:
enolloParticipantSorry, looks like my html tags were removed so I will try again:
I suspect your theme calls wp_footer() after the closing “html” tag. Take a look at your footer.php file and move the wp_footer() call (together with the php opening and closing tags) right above the closing “body” tag.
enolloParticipantHi evertpensado,
What exactly are you having issues with?
Looks like your theme is outputting some invalid HTML markup. I am not sure if fixing that would solve your issues, but it would be a start. I suspect your theme calls wp_footer() after the closing tag. Take a look at your footer.php file and move the wp_footer() call (together with the php opening and closing tags) right above the closing tag.
enolloParticipantEither the notifications aren’t working or I forgot to check the ‘Notify’ box. I wish there was a way to make sure I am subscribed to a topic without actually adding a new comment.
enolloParticipantPS. This issue can be reproduced in http://wpshindig.com/events/
enolloParticipantI’ve been trying to solve this myself. And I think it technically “works” exactly the same way the map view does as the map view will only order events by closest to furthest without filtering out any events. If you search in list view you will see your events reorder without the distance tags but in the same order as they would appear in Map view.
So when you are in Month view it appears as if nothing has changed as there is no way to visually see that the order of the items in the query has changed. I think the upcoming filtering feature could help out with this by letting the user set a distance.That being said, I expected a setting for default distance and I was not able to find it. It would be great if this is added even if it only applies to Month view.
enolloParticipantSorry to barge in, I was able to solve this on my install by hacking the plugin code a little bit and using the snippets I posted to another thread
Added to function ajax_tribe_geosearch() in events-calendar-pro/lib/tribe-geoloc.class.php below the $defaults = array(…) declaration:
if ( isset( $_POST[‘tribe_event_category’] ) ) {
$defaults[TribeEvents::TAXONOMY] = $_POST[‘tribe_event_category’];
}
// This is probably a permanent fixThe two snippets are found at https://gist.github.com/tamarazuk/7004172 and can be added to your functions.php file or a custom plugin.
They are also related to another bug which is fully explained at the following thread:
https://tri.be/support/forums/topic/category-feed-lost-after-viewing-single-event-going-back-to-category/#post-71211Note that these snippets are a temporary work around until the lovely Tribe developers find the issue and resolve it within the plugin. Once that is done you can safely remove these snippets, but I doubt they will cause issues if you forget to take them out.
October 16, 2013 at 6:34 pm in reply to: Category Feed Lost After Viewing Single Event & Going Back To Category #71418enolloParticipantHi all,
I was reviewing my code and noticed something else I added that you might need. I’ve updated the gist to include this extra snippet.
https://gist.github.com/tamarazuk/7004172
Basically it just makes sure that the data attribute the plugin’s js files are looking for is not cleared which I think is a source of the bug.
October 16, 2013 at 12:57 am in reply to: Category Feed Lost After Viewing Single Event & Going Back To Category #71211enolloParticipantHi all,
I am trying to integrate a custom taxonomy with TEC and had noticed this issue. Thought it was just another hoop to jump through and fixed it before I even realized there was a bug. I’ve put together a quick snippet for you to paste into your functions.php file or a custom plugin.
https://gist.github.com/tamarazuk/7004172
Do let me know if it works ๐
-
AuthorPosts