JJ Montalban
Forum Replies Created
-
Forum: Plugins
In reply to: [Properties Feed for Idealista] Plugin adjustments for Houzez WordPress themeTe sale más a cuenta crearte tu propio sistema de bienes inmuebles que adaptar el de otro. Yo lo intenté y acabé creandome un CRM propio
https://github.com/jjmontalban/inmuebles
Pero eso conlleva a crear tu propio tema
Forum: Plugins
In reply to: [View Admin As] Display admin bar in visitor modeOn the registration page I get many warnings that I can see on the server. but now I can’t since the administrator has disabled them since the registry was filling up by leaps and bounds. To check these warnings I have the query monitor plugin, which shows them in the administrator bar. But I cannot access the registration page if I am not a user without registering/logging in.
I also don’t want to show the admin bar to visitors. What I want is to see the admin bar but as if it were a visitor.
Do you know any solution about this?
Forum: Plugins
In reply to: [View Admin As] Display admin bar in visitor modeHi, thanks for your reply.
I can see your admin bar. But not WP admin bar. In admin mode:
But if I change to visitor view:
I need to see wp admin bar in front but in visitor view. Its possible?
- This reply was modified 10 months ago by JJ Montalban.
- This reply was modified 10 months ago by JJ Montalban.
- This reply was modified 10 months ago by JJ Montalban.
Forum: Plugins
In reply to: [WooCommerce Redsys Gateway Light] Se queda en pendiente de pago (error 403)Genial explicación @jconti. Ni idea de que tuvieses la solución en tu propio sitio web.
Gracias!
Forum: Plugins
In reply to: [Adminimize] Media Library ConflictSolved here:
Forum: Plugins
In reply to: [WooCommerce Redsys Gateway Light] Se queda en pendiente de pago (error 403)Buenas. Al parecer tengo el mismo problema con Cloudflare. Lo he solucionado con estos pasos:
https://codection.com/pedidos-pendiente-de-pago-con-redsys-y-cloudflare/
Saludos
- This reply was modified 2 years ago by JJ Montalban.
I know. Bookly just work with WordPress and my question is about 2 wordpress sharing.
I have investigated and I ask you if this solution could be feasible:
- Create a page on a WordPress installation where Bookly is installed.
- Add a bookly shortcode on this page and get the URL of this page.
- Create a new page in WordPress installation where I want to display the booking form (but bookly is not installed).
- Add an “iframe” element on this page and use the URL of the page created above as the source of the iframe.
Its possible display booking form with this method?
Best regards.
Solved. Options are a list of a elements inside p element with wc-pao-addon-wrap class. Option “nothing” is always the first option. Then:
.wc-pao-addon-wrap > a:first-of-type { display:none; }
Forum: Fixing WordPress
In reply to: Warning class ‘orddd_active_license_notice’But warning come from WordPress core. May be cause is from some Plugin?
- This reply was modified 2 years, 11 months ago by JJ Montalban.
- This reply was modified 2 years, 11 months ago by JJ Montalban.
Forum: Plugins
In reply to: [WooCommerce] Different product category taxes based on role usermay be now is the moment of publish my first plugin…
Forum: Plugins
In reply to: [WooCommerce] Different product category taxes based on role userHi
Thanks for the info. But no exists any free plugin about this. Although my last code works correctly.
Best regards.
add_filter( 'woocommerce_before_cart_contents', 'wc_diff_rate_for_user', 1, 2 ); add_filter( 'woocommerce_before_shipping_calculator', 'wc_diff_rate_for_user', 1, 2); add_filter( 'woocommerce_before_checkout_billing_form', 'wc_diff_rate_for_user', 1, 2 ); add_filter( 'woocommerce_product_get_tax_class', 'wc_diff_rate_for_user', 1, 2 ); add_filter( 'woocommerce_product_variation_get_tax_class', 'wc_diff_rate_for_user', 1, 2 ); function wc_diff_rate_for_user( $tax_class, $product ) { if ( current_user_can( 'user role 1' ) ) { if ( has_term( array('category A', 79), 'product_cat', $product->get_id() ) ) { $tax_class = 'Tax 1'; } } if ( current_user_can( 'user role 2' ) ) { if ( has_term( array('category B', 79), 'product_cat', $product->get_id() ) ) { $tax_class = 'Tax 2'; } } return $tax_class; }
Forum: Plugins
In reply to: [WooCommerce] Different product category taxes based on role userIf somebody need:
add_filter( 'woocommerce_before_cart_contents', 'wc_diff_rate_for_user', 1, 2 ); add_filter( 'woocommerce_before_shipping_calculator', 'wc_diff_rate_for_user', 1, 2); add_filter( 'woocommerce_before_checkout_billing_form', 'wc_diff_rate_for_user', 1, 2 ); add_filter( 'woocommerce_product_get_tax_class', 'wc_diff_rate_for_user', 1, 2 ); add_filter( 'woocommerce_product_variation_get_tax_class', 'wc_diff_rate_for_user', 1, 2 ); function wc_diff_rate_for_user( $tax_class, $product ) { if ( current_user_can( 'user role 1' ) ) { if ( has_term( array('category A', 79), 'product_cat', $product->get_id() ) ) { $tax_class = 'Tax 1'; } } if ( current_user_can( 'user role 2' ) ) { if ( has_term( array('category B', 79), 'product_cat', $product->get_id() ) ) { $tax_class = 'Tax 2'; } } return $tax_class; }
Caution:
woocommerce_product_tax_class
is deprecatedForum: Themes and Templates
In reply to: [Total] Disable LightBox in portfolio entriesI have this theme:
https://themeforest.net/item/total-responsive-multipurpose-wordpress-theme/6339019
Is not yours?
Kind regards