guezs
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Extended Coupon Features FREE] Coupon not appliedTry this:
You need to click a second time to see the coupon applied.
Forum: Plugins
In reply to: [Pay For Post with WooCommerce] Page product for variationsI’m not sure that this has to do with your plugin. This is the code I used:
function variation_page_shortcode( $params ) { if ( ! isset( $params[ 'id' ] ) ) return ''; $ids = str_replace( " ", '', $params[ 'id' ] ); $ids = explode( ",", $ids ); foreach ( $ids as $id ) { $variation = wc_get_product( (int) $id ); if ( ! $variation ) { return ''; } elseif ( 'variation' != $variation->product_type ) { return ''; } else { $product = wc_get_product( $variation->id ); $html = do_shortcode( '[product_page id="' . $product->id . '"]'); } } return $html; } add_shortcode( 'variation_page', 'variation_page_shortcode' );
Then, in your plugin configuration I use:
[product_page id=”{{product_id}}”]
[variation_page id=”{{product_id}}”]Forum: Plugins
In reply to: [Pay For Post with WooCommerce] Page product for variationsI realized that the code just replace {{product_id}} with the product ID, so what I really need is a variation shortcode. I made a custom one.
Thanks anyway ??
Forum: Fixing WordPress
In reply to: WP4.5 jQuery update and table styles issueThank you! The workaround worked for me too.
Forum: Themes and Templates
In reply to: [Customizr] Home page – static page dissapearok, got it… I copied it from an example code with just one line and added two more without the {} and guess it was causing a null pointer… I don’t know why that causes to not show static pages, but now seems to be working.
Thank you
Forum: Themes and Templates
In reply to: [Customizr] Home page – static page dissapearok, this is the function making the misfunctionality:
function add_events_to_rss_feed( $args ) {
if ( isset( $args[‘feed’] ) && !isset( $args[‘post_type’] ) )
$args[‘post_type’] = array(‘post’, ‘tribe_events’);
$args[‘orderby’] = ‘date’;
$args[‘post__not_in’] = array(737);
return $args;
}add_filter( ‘request’, ‘add_events_to_rss_feed’ );
I’m using The Events Calendar and adding the events to the feed. If I comment the 2 first lines inside the if, the home page appears.
// $args[‘post_type’] = array(‘post’, ‘tribe_events’);
// $args[‘orderby’] = ‘date’;If I un-comment them, so they can work, the home page dissapears. What could it has to do with the home static page?
Forum: Themes and Templates
In reply to: [Customizr] Home page – static page dissapearYes, I tried all that. Even I tried a debug plugin and suddenly I have an email infinite loop which I’m trying to fix right now…
In the midtime, I saw the page appear. Maybe it has to be with a code in functions.php, as I also disabled all the functions. Maybe that will fix it.
Do you know how to stop wordpress sending debug emails?
Thank you
Forum: Plugins
In reply to: [MooWoodle - WordPress & Moodle LMS Integration Bridge] User/PassThaks qurbi, I just saw that. Confusing for them if they already created a client account…
Forum: Plugins
In reply to: [MooWoodle - WordPress & Moodle LMS Integration Bridge] User/PassWhere is the place to add add_filter( ‘woodle_moodle_users_data’, $user_data );? Having the same problem here…
One of the ideas of joining Moodle and WordPress is not having to create an account twice, so how do the clients log in Moodle when they purchase the course in Woocommerce?
I find there’s more documentation needed for this plugin.
Thanks
Forum: Plugins
In reply to: [Pay For Post with WooCommerce] Product variations and uncheckThanks for the option ??
Please, consider including variations in a next version.
Forum: Plugins
In reply to: [Pay For Post with WooCommerce] Restricted access for everybodyIt’s working again, after. WooCommerce new update ??