permanyer
Forum Replies Created
-
Understood, thank you!
I am also seeing this issue. Using @kerfred s workaround.
Forum: Plugins
In reply to: [Flexible Spacer Block] Cannot activate pluginOK Sorry I had php 7.2 which is too old.
After i updated php activation was ok.Forum: Plugins
In reply to: [footnotes] jquery tools errorI found a workaround. Put this in your functions.php file of your theme:
function my_theme_enqueues(){ wp_dequeue_script( 'mci-footnotes-js-jquery-tools' ); wp_register_script('jquery-ui', 'https://code.jquery.com/ui/1.12.1/jquery-ui.js', array('jquery'), null, false); wp_enqueue_script('jquery-ui'); } add_action('wp_enqueue_scripts', 'my_theme_enqueues', 100);
Forum: Plugins
In reply to: [Lazy Loader] The editor has encountered an unexpected error.Hi,
I deactivated all the plugins except Lazy loader and the problem persisted, so it is something with the theme.
The only way i found to avoid the problem is to comment the line ‘show_in_rest’ => true, when registering the custom post type (that is, deactivating gutenberg).
So, if the post is registered without gutenberg, there is no error when editing this post together with the option “Enable option to disable plugin per page/post” of the lazy loader plugin.
register_post_type('project', array( 'label' => __('Projecte', 'threeten_admin'), 'public' => true, 'capability_type' => 'post', 'map_meta_cap' => true, 'rewrite' => array('slug' => 'project'), 'query_var' => 'project', // 'show_in_rest' => true, 'supports' => array('title', 'page-attributes', 'editor', 'thumbnail'), 'labels' => get_custom_post_type_labels(__('Projecte', 'threeten_admin'),__('Projectes', 'threeten_admin')) ));
Forum: Plugins
In reply to: [SEUR Oficial] Tracking NumberSería genial!
Gracias Jose
Forum: Plugins
In reply to: [Variation Swatches for WooCommerce] Images on checkout pageI have the same problem. This is what i have come up to:
Show Image Swatch in Cart, overriding the cart product name:
function woocommerce_cart_item_name_filter( $link_text, $product_data ) { $product = $product_data['data']; $html = ''; if('variation' == $product->get_type()){ $html .= '<div class="title-width-variations">'; } $html .= '<div class="entry-text single-product-title in-cart-filter">'; $html .= '<span class="entry-name">'.$product->get_title().'</span>'; $html .= '<br>'; $html .= '<span class="entry-sku">'.$product->get_sku().'</span>'; $html .= '</div>'; if('variation' == $product->get_type()){ $variations = $product_data['variation']; foreach ($variations as $variation_key => $variation_value) { switch ($variation_key) { case 'attribute_pa_color': $term = get_term_by('slug', $variation_value, 'pa_color'); $image_id = get_term_meta( $term->term_id, 'image', true ); $image = wp_get_attachment_url( $image_id ); $html .= '<div class="variation '.$variation_key.'"><img src="'.$image.'"></div>'; break; case 'attribute_pa_talla': default: $html .= '<div class="variation uppercase'.$variation_key.'">'.$variation_value.'</div>'; break; } } $html .= '</div>'; } return $html; } /* Filter to override cart_item_name */ add_filter( 'woocommerce_cart_item_name', 'woocommerce_cart_item_name_filter', 10, 2 );
Forum: Plugins
In reply to: [Zedna WP Image Lazy Load] It breaks the adminIndeed you are right.
The problem is on my local MAMP install, don’t know where.
Sorry to have bothered you, it is the first time a see such an error.Your plugin works ok on other servers.
Forum: Plugins
In reply to: [Zedna WP Image Lazy Load] It breaks the adminYes, sure.
I did it in a fresh wp 4.9.1 installation, and still reporduce the issue:
This page isn’t working
localhost didn’t send any data.
ERR_EMPTY_RESPONSEMy MAMP install has php 7.0.12
Feel free to ask me further tests/data
Som more data:
Apache Version
Apache/2.2.31 (Unix) mod_wsgi/3.5 Python/2.7.12 PHP/7.0.12 mod_ssl/2.2.31 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0Same Here!
I am with mgrules. I would like to select Author, then expect Authors Editors and Admins to be able to access front/back end
Thank you!!
Forum: Plugins
In reply to: [Events Maker by dFactory] class-wpml.php on line 151Defining $has_translation = null first and then passing icl_t( arg1, arg2, arg3, $has_translation ) works (the notice does not appear).
Thank you!
Forum: Plugins
In reply to: [Events Maker by dFactory] class-wpml.php on line 151i am getting
Strict Standards: Only variables should be passed by reference in events-maker/includes/class-wpml.php on line 155
(same for lines 156, 157, 158)Event Maker 1.6.3
WPML Multilingual CMS 3.1.9.7
WPML String Translation 2.1.4Any ideas why?
Forum: Plugins
In reply to: [Event Rocket] Week View / Photo ViewOK Thanks!!
Forum: Plugins
In reply to: [Ambrosite Next/Previous Page Link Plus] multiple catergoriesSorry, my bad. WordPress defaults to what i was looking for…
Forum: Plugins
In reply to: [Ambrosite Next/Previous Page Link Plus] multiple catergoriesHi,
Simple question:
Is this plugin useful for pagination on pages listing posts (of custom post type) and filtered by custom taxonomies?
For instance: Paginating results of my photography projects (post type = projects, tax = photography)Thanks