Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Not show correct pc layout at product list page
- This topic has 3 replies, 2 voices, and was last updated 5 years, 10 months ago by WCFM Forum.
Viewing 3 reply threads
- AuthorPosts
- January 10, 2019 at 6:14 am #42887
- January 10, 2019 at 7:31 am #42899WCFM ForumMember
HI,
Well, I can only assume – this is because of long title.
Can you please add this code snippet and check once –
add_filter( 'wcfm_product_title_dashboard', function( $display_label, $product_id ) { $product_title = get_the_title( $product_id ); if( strlen( $product_title ) > 25 ) { $display_label = '<a href="' . get_wcfm_edit_product_url( $product_id ) . '" class="wcfm_product_title">' . substr( $product_title, 0, 25 ) . ' ..</a>'; } return $display_label; }, 50, 2 );
Thank You
- January 10, 2019 at 6:24 pm #42988
- January 11, 2019 at 6:57 am #43079WCFM ForumMember
Opps! Code is fine, please check at wp-admin -> WooCommerce -> Status -> Logs -> what exact error happening?
Thank You
- AuthorPosts
Viewing 3 reply threads
- The topic ‘Not show correct pc layout at product list page’ is closed to new replies.