Forum Replies Created
-
AuthorPosts
-
May 18, 2017 at 12:45 pm in reply to: EC Pro license renewed in March, but then expired 1 month later #1285823
UNC Web Services
ParticipantHello?
December 8, 2016 at 7:06 pm in reply to: Use of WP_CONTENT_URL breaks plugin on admin SSL only sites #1203635UNC Web Services
ParticipantAfter a bit more research, this may have been caused by part of the patch I had to use to fix the previous version. I had it living in an mu-plugin, which was still active.
I did 2 things which resolved the issue, but I will need to test if only doing #2 would work (in which case, the plugin is functioning ok again).
1) Run the find/replace I mentioned above
2) Removed a filter I still had in place for the asset URLs to fix http/https when necessaryI’ll try to do some testing tomorrow to see if this is still an issue or not.
UNC Web Services
ParticipantHey Jonah, I was trying to do the same thing, but I am getting these php errors from the snippet you posted.
NOTICE: wp-content/themes/events/functions.php:137 – Undefined index: post_type
NOTICE: wp-content/themes/events/functions.php:137 – Undefined index: eventDisplayIn 137 is ln 3 in your query.
UNC Web Services
ParticipantStumbled across this simliar thread:
I didn’t need to exclude it from all views, but I was able to modify the solution to include a conditional statement for the month:
|| $query->query_vars[‘post_type’] == TribeEvents::POSTTYPE && $query->query_vars[‘eventDisplay’] == ‘month’
I think I’m good now… 🙂
UNC Web Services
ParticipantHa! I should have known y’all would have some easy way to do this. That was just what I needed.
Thanks a ton as always!
UNC Web Services
ParticipantLuke, I would love to see your query you used for this. I am creating a bunch of custom queries and that would be very helpful. I’m trying to figure out how to recreate the $first variable used in the list.php file. It is passed into the list.php page, but I don’t know from where.
UNC Web Services
ParticipantThanks Barry. I could do this, but I’m wondering if I could just use the custom fields feature in the events calendar pro already… I’ll look into both. Thanks.
UNC Web Services
ParticipantYeah, I should have done that. Sorry. This is great. Thanks man!
UNC Web Services
ParticipantWell, I think I’m half way there. It occurred to me I could use a standard query like this and then define the variables myself.
‘tribe_events’);
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>The var_dump shows I have everything… all categories for now, but I could narrow that down I guess. 🙂 Just need to get assign the variables now.
Unless there is an easier way… 🙂
UNC Web Services
ParticipantHow does one make a different sprite? I’ve never done that before. Can I just edit the one that is included to have the right background, sizes, etc? Maybe point me to some info on sprite images? Sorry for being such a newbie…
-
AuthorPosts
