titodevera
Forum Replies Created
-
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Show all brand products with WP_QueryHi sotos.
Yes, you can do it. The code below retrieves all product names for the ‘Brand5’ brand:
$query_args = array( 'post_type' => 'product', 'posts_per_page' => -1, 'tax_query' => array( array( 'taxonomy' => 'pwb-brand', //brands are terms of 'pwb-brand' taxonomy 'field' => 'name', //search by term name 'terms' => array( 'Brand5' ) //brand names here ) ) ); $the_query = new WP_Query( $query_args ); if ( $the_query->have_posts() ) { while ( $the_query->have_posts() ) { $the_query->the_post(); echo '<p>'.get_the_title().'</p>'; } wp_reset_postdata(); }
Here is more info: WP_Query
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Disable inheriting blog base permalinkDe nada Miguel, un saludo y gracias
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Import from Excel (CSV)Perfect WooCommerce Brands 1.6.1 is under development and solves this issue.
https://github.com/titodevera/perfect-woocommerce-brands/tree/1.6.1-devThanks!
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] Conflict with PolylangForum: Plugins
In reply to: [Perfect Brands for WooCommerce] Import from Excel (CSV)Hi vurdalak.
PWB 1.6.0 adds support for the WooCommerce product importer/exporter
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] wp_query for brandsHi matstillo.
The “Order by” option is not implemented for PWB carousels.
I will consider include it for future releases.Here is more info about available shortcodes:
How can i use the available shortcodes without Visual Composer?Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] APIHi gremlindeg.
Update to 1.6.0 and check the api doc here
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Imagen banner y descripciónHola samawe.
En primer lugar te recomendaría actualizar a la nueva versión (1.6.0).
No he trabajado nunca con “Argenta” pero si no te muestra la descripción a pesar de que veo que tienes la opción activada y después de haber actualizado puede ser debido a que el propio tema (o alguno de los plugins que tienes activados) esté modificando el comportamiento del hook
woocommerce_before_shop_loop
.Sobre el tema del título te recomiendo que contactes con el soporte de “Argenta” pues la página de marcas no deja de ser una página de archivo de WordPress normal y corriente, el título supongo que lo está customizando el tema, ya sea por una opción que tiene o por un bug.
Un saludo
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Image size of brand logoHi peeyooshk.
I recommends you to use same image sizes for all brands logos.
Then you can adjust it with the
image_size
parameter, you also can create custom image sizes (if you need it)Thanks
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Apply Filter ButtonHi thnk4.
You can use the
gettext
filteradd_filter( 'gettext', function( $translated_text, $text, $domain ){ if( $domain == 'perfect-woocommerce-brands' && $translated_text == 'Apply filter' ) $translated_text = 'Apply'; return $translated_text; }, 20, 3 );
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Remove “brand” from archives permalink1) Add this code to your
functions.php
add_filter( 'register_taxonomy_args', function( $args, $taxonomy ){ if( 'pwb-brand' === $taxonomy && is_array( $args ) ){ $args['rewrite']['slug'] = '.'; $args['rewrite']['with_front'] = false; } return $args; }, 99, 2 );
2) Rebuild WordPress permalinks
Settings > Permalinks, and click save changes.
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Remove brand titleHi tusharattar.
PWB 1.6.0 adds the
title_position="none"
option ??Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] wordpress 4.9 not compatiblePWB 1.6.0 solves this issue ??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Error in logsHi peeyoohk
PWB 1.6.0 solves this issue :). Thanks you for reporting!
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Brand description messed up on WordPress 4.9PWB 1.6.0 solves this issue ??