kdardis
Forum Replies Created
-
Forum: Plugins
In reply to: [m1.MiniWeather] Widget not using FahrenheitI’m having the same issue. Were you able to fix this?
- This reply was modified 9 years, 2 months ago by kdardis.
Forum: Plugins
In reply to: [The Events Calendar] How to insert calendar on Home Page??@bloohair the calendar itself can be viewed on the /events page of your site… just make sure you don’t already have a page called /events as it may cause conflict with the plugin.
But yes, you are correct. In order to use their calendar elsewhere on the site, they have a “Mini calendar” that you could use in a sidebar. That is in the PRO version.
Forum: Plugins
In reply to: [The Events Calendar] How to insert calendar on Home Page??@bloohair and anyone else who needs help with this: I was actually able to get a response elsewhere on this topic. Here is what I received from a support representative:
We are actually in the process of building a feature that would allow you to embed full calendar views on any page or post using a shortcode and that should come out in Events Calendar PRO version 4.3 if all goes according to plan.
In the meantime, I’m afraid there is no easy way to embed full calendar views so that the calendar is both on the homepage and the main calendar page. Events Calendar PRO does indeed include several shortcodes that allow you to embed the calendar widgets (i.e. the mini calendar) on any page or post, so that may very well get you what you need for now, but I at least wanted to throw that out there.
Forum: Plugins
In reply to: [The Events Calendar] How to insert calendar on Home Page??@alfateefje I’m not familiar with a visual composer grid… It sounds like your solution is a workaround to create our own calendar, rather than use the calendar that’s already built in the plugin. Is this correct?
Also, is the grid you suggest responsive?
Forum: Plugins
In reply to: [The Events Calendar] How to insert calendar on Home Page??I believe @bloohair has successfully stated the inadequacies of the previous post’s answer. I completely agree with what he/she said… HOW do we get a calendar to show up? The instuctions for this particular topic in the plugin are quite vague.
I apologize, but it seems silly to post a duplicate question, as that is also frowned upon in the forum. Feel free to follow-up with this @bloohair unless you are able to find answers elsewhere!
Forum: Plugins
In reply to: [The Events Calendar] Client wants calendar on home page… How do I do this?Downgrading was a great option to solve the issue, but we are hoping it’s a temporary fix. We would be much happier if the issue were looked into further, especially since it seems to be a plugin issue based on the number of people who have complained about it. If you know of anything on our end that could be causing these errors, we would happily try to attend to them. Otherwise, we are hoping that the next update will resolve these errors.
To whoever deleted the previous comments for this post:
This topic is technically NOT resolved. Many others had stated that they are having issues with these readygraph errors while using Subscribe2, even when readygraph is not activated.Please fix this! We had to downgrade because our client thought they were breaking the site every time they posted ANYTHING (not just blog posts).
Thanks.
Hmm, not sure where all the comments went on this post, but to answer your question from last night:
“Does ANYONE have a fix for this? Would downgrading to an older version fix this? Is that possible or have there been database changes?”We did end up downgrading to get it to work. We downgraded to version 10.19.0 and the error is now gone.
You can go here to download older versions
Actually, I’ve figured this out on my own! I didn’t think to simply change the name of the function in my own functions.php file. I also changed the pagination function name in loop-espresso_events.php to match my new custom function. This does the job well enough, so I’m going to say this is resolved.
Thanks for the help getting me started in the right direction!
Any help as to how to get around this new error would be greatly appreciated. I’m so close to getting this to work, but the new pagination error is really stumping me…
Forum: Fixing WordPress
In reply to: Author List Page – Slow Load TimeOkay, I got this to work!
The code I was using was sifting through all users before displaying the correct users. The only advantage of using my original code was that I could have multiple roles displayed (i.e. authors and editors would show).However, when using the code below, my page would load WAY faster because it was only querying one user role, instead of looking through all of the users.
// Get all users order by first name $users = array('role' => 'author', 'orderby' => 'name', 'order' => 'ASC' ); $authors = get_users( $users );This means I must set all of my Attorneys to the role of Author. I basically sacrificed multiple role types for page speed. But, if anyone knows a way to add multiple user roles to this code, let me know!
Forum: Fixing WordPress
In reply to: Author List Page – Slow Load TimeOkay I see what you are saying. I’m not amazing with PHP, so I’m not entirely sure how to incorporate the information from the codex link you sent into my code. Here’s what I have right now. I’m not sure if this code is simply not showing subscribers, or if it’s actually excluding them from the query (if there’s a difference)…
// Get all users order by first name $allUsers = get_users('exclude_admin=1&orderby=name&order=ASC'); $users = array(); // Remove subscribers from the list as they won't write any articles foreach($allUsers as $currentUser) { if(!in_array( 'subscriber', $currentUser->roles )) { $users[] = $currentUser; } }Is there a better way to list the users so we can reduce the time taken for database queries?
Awesome, that’s super helpful! It looks like I was going the right direction, after all, just didn’t think to add the espresso pagination to my own functions.php
BUT there is a new problem now that I’ve done that…
I used this code on my main “Education” page, which shows all of the classes. This was working before, using the pagination function from the plugin:
<?php echo do_shortcode(‘[ESPRESSO_EVENTS show_expired=”false” css_class=”custom-course” order_by=”start_date,id” title=”Upcoming Courses”]’); ?>
But since I’ve now added this same function to my theme’s functions.php file, it’s returning this fatal error:
Fatal error: Cannot redeclare espresso_pagination() (previously declared in […] /wp-content/themes/HindmanSanchez/functions.php:529) in […] /wp-content/plugins/event-espresso-decaf/public/Espresso_Arabica_2014/functions.php
Is using a shortcode causing problems? I attempted to add espresso_get_template_part( ‘loop’, ‘espresso_events’ ); in my template, but it didn’t show any classes at all.