FutureX5
Forum Replies Created
-
Yes, it was a long shot! I’ve contacted the authors, they are not very forthcoming with help.
Can you recommend people or companies that specialize in this?
Thanks for the reply and the great plugin!
Thank you for the response. Yes I see that disabling the ‘transform: inherit !important’ setting make sit work however I don’t know where it is being set so I don’t know how to disable it.
<style id=’fancybox-inline-css’>
.wpgs-nav .slick-track {
transform: inherit !important;
}<link rel='stylesheet' id='slick-css' media='all'/>
<link rel='stylesheet' id='slick-theme-css' media='all'/>
<link rel='stylesheet' id='fancybox-css' media='all'/>
<style id='fancybox-inline-css'>
.wpgs-nav .slick-track {
transform: inherit !important;
}
.wpgs-dots {
display: none;
}
.wpgs-for .slick-slide {
cursor: pointer;
}Forum: Plugins
In reply to: [Ultimate Client Dash] Each client access only their filesYes! Thank you for clarifying that!
Forum: Plugins
In reply to: [Speed Kit] Professional Developer RequiredWhy is there no support on this? I love the plugin and it really works well but I don’t understand the message in my last post?
Why so cryptic?? Dynamic Fetcher?
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Add MC Tag Based On Post CategoryBut if a global variable that is set before MC4MP even runs won’t work how would this work? Outside of the MC4MP function it works perfectly, I can test for category and do whatever I want.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Add MC Tag Based On Post CategoryThat second field is not Post ID but List ID so it’s of no use. I’ve tried everything I can think of to get his work but nothing works. It seems like it should be very simple but once the MC4MP functions are called all the data is gone. I tried global variables to read the category before the comment is sent, no luck. I tried reading the $_POST data but not luck even in global variable, and many many other iterations. ?? Would be a nice feature.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Add MC Tag Based On Post CategoryWhere is:
mc4wp_integration_wp-comment-form_subscriber_data
located?
Forum: Developing with WordPress
In reply to: Test for Category in functions.php (MC4WP)I tried that but for some reason it doesn’t know what category it’s in since it might be outside the Loop.
Here’s what I’ve tried as well that still did not work:
add_filter('mc4wp_integration_wp-comment-form_subscriber_data', function( MC4WP_MailChimp_Subscriber $subscriber, $postid ) { $category_ids = wp_get_post_categories($post_id); foreach($category_ids as $cat_id) { $category = get_category($cat_id); if($category->name === 'caption-contest') { $subscriber->tags[] = 'Caption Contest'; } } return $subscriber; },10,2);
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Add MC Tag Based On Post CategoryThanks for helping! Here’s what I tried which still does not work. It does register the user with MailChimp fine but does not set the tag.
add_filter('mc4wp_integration_wp-comment-form_subscriber_data', function( MC4WP_MailChimp_Subscriber $subscriber, $postid ) { $category_ids = wp_get_post_categories($post_id); foreach($category_ids as $cat_id) { $category = get_category($cat_id); if($category->name === 'caption-contest') { $subscriber->tags[] = 'Caption Contest'; } } return $subscriber; },10,2);
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Add MC Tag Based On Post CategoryThanks for the reply!
How do I pull out the $related_object_id from mc4wp_integration_wp-comment-form_subscriber_data?
Then I can use:
$category_ids = wp_get_post_categories($post_id); foreach($category_ids as $cat_id) { $category = get_category($cat_id); if ( $category->name == ‘caption-contest’ ) { $subscriber->tags[] = ‘Caption Contest’; } } return $subscriber;
Forum: Developing with WordPress
In reply to: Test for Category in functions.php (MC4WP)The form is a standard comment form at the bottom of a regular post. I have MC4WP plugin installed to grab the name and email and send it to MailChimp when the user posts a comment. They don’t have to be logged in. I’m using a child theme, updating the functions.php there. It is the Avada theme.
This code works to move the name/email fields above the comment field:
add_filter( 'comment_form_fields', 'wpb_move_comment_field_to_bottom'); function wpb_move_comment_field_to_bottom( $fields ) { if ( in_category( 'caption-contest' ) ) { $comment_field = $fields['comment']; unset( $fields['comment'] ); $fields['comment'] = $comment_field; } return $fields; }
Forum: Developing with WordPress
In reply to: Test for Category in functions.php (MC4WP)Thank you for the reply!
No joy. ?? If I strip out the ‘foreach’ and the ‘if’ it works. It doesn’t crash or do anything weird, it just doesn’t set the tag in MailChimp.
Forum: Developing with WordPress
In reply to: Allow all users to access WP-CLI in chrooted shellOK cool, I thought I would be able to make it work in a shared hosting environment and keep it safe but it looks like it isn’t possible yet.
Thanks for the help!
Forum: Developing with WordPress
In reply to: Allow all users to access WP-CLI in chrooted shellThanks for the info and detailed instructions! Very awesome.
How do the hosting providers that advertise WP-CLI access for all users set it up so there is no security problem? with allowing any user to run WP-CLI as the root user.
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Podcast page returns “No input file specified.”Any help with this?