titodevera
Forum Replies Created
-
Hi golfball-uhu.
Of course, in combination with the plugin.
functions.php should looks like:
include 'inc/class-custom-pwb-secondary-description.php';
??
Hi golfball-uhu.
Brands are terms of
pwb-brand
taxonomy, so you can add your own customs fields.Download and include this file from your
functions.php
.??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] internal nofollowHi brucemacg.
Woocommerce “Add to cart” buttons are “rel=”nofollow” by default, i think is all ok.
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Widget filter doesn’t workHi jbijman.
Your site is not accessible, please activate it.
Enable WP_DEBUG and chech the server error log
Thanks
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Product page showing only one brandHi JEdam.
Yes, there is a brand archive page for each brand by default.
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Error in the code? sizeof()Hi botilada.
It is a known issue, it will be fixed in the next update (very soon).
Thanks ??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Brand Name in archive-product.phpHi Marvin.
You can try something like this:
if( is_tax( 'pwb-brand' ) ){ //current page is a brand archive page $queried_object = get_queried_object(); echo '<h1> Brand name: ' . $queried_object->name . '</h1>'; }
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Brand Logo ALT NameHi jpfrancois.
I can’t reproduce your issue. I think that your theme or some plugin is causing it. Try disabling plugins and changing to a default WordPress theme.
Thanks
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] PHP 7 warningsHola Pedro.
En primer lugar agradecerte el reporte.
En estos momentos estoy trabajando en una actualización del plugin (que verá la luz en los próximos días), este problema será corregido en dicha actualización.
El problema viene dado por una utilización incorrecta de
sizeof()
.
Lo correcto seríaif( sizeof( $brands ) > 0 )
Un saludo
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Filter | First LetterHi vita17021990.
This feature is not currently available, but is planned for future versions.
Thanks ??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Coupons Brands restrictionHi Soft79.
Your code is working as expected, so this fix will be integrated into the next version.
Great job! Thanks!
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Brands Per Page??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Show only tab contentHi peter.bohus.
1) You can emulate the behavor of the tab:
add_action( 'woocommerce_after_single_product_summary', function(){ global $product; $brands = wp_get_object_terms( $product->get_id(), 'pwb-brand' ); ob_start(); ?> <h2><?php echo __('Brand', 'perfect-woocommerce-brands'); ?></h2> <?php foreach( $brands as $brand ): ?> <?php $brand_logo = get_term_meta( $brand->term_id, 'pwb_brand_image', true ); $brand_logo = wp_get_attachment_image( $brand_logo, 'thumbnail' ); ?> <div id="tab-pwb_tab-content"> <h3><?php echo $brand->name;?></h3> <?php if( !empty($brand->description) ) echo '<div>'.$brand->description.'</div>';?> <?php if( !empty($brand_logo) ) echo '<span>'.$brand_logo.'</span>';?> </div> <?php endforeach; ?> <?php echo ob_get_clean(); } );
2) You can disable it from the settings page
WooCommerce > Settings > Brands
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] 6 brands per row instead of 4Hi vangelder.
Yes, you can use some CSS to customize the layout to your needs:
@media (min-width: 1000px){ .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3{ width: 16.66%; box-sizing: border-box; } }
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Duplicate Brand Admin MenuHi jpfrancois.
Maybe there is another brand plugin active on the site… check it please
??