So I believe the issue is that we bought your framework with another email but I registered it under my email. I need to get this issue resolved ASAP!


What if you have 3 subdomains that is all part of the main website?
This does not work anymore! The new changes and updates for the newspaper theme is making this code no longer valid! It does not work!
???
What the?
Why should we have to pay for it when we originally had it working BUT YOUR UPGRADES MESSED IT UP! NOT COOL AND NOT FAIR. Please check out this link to confirm with what we are saying!
So we are having an issue.
When adding this filter to the functions.php its not working. Is there another functions file that is created in another nested directory for the newspaper template? We want to add this filter to limit the short product description for the woo product block.
Thank you!
add_filter( ‘woocommerce_short_description’, ‘prefix_filter_woocommerce_short_description’ );
/**
* Limit WooCommerce Short Description Field
*/
function prefix_filter_woocommerce_short_description( $post_post_excerpt ) {
// make filter magic happen here…
if(! is_product() ) { // add in conditionals
$text = $post_post_excerpt;
$words = 10; // change word length
$more = ‘ […]’; // add a more cta
$post_post_excerpt = wp_trim_words( $text, $words, $more );
}
return $post_post_excerpt;
};
Is there not a way to add to the function.php a add_filter like this:
add_filter(‘woocommerce_short_description’, ‘limit_product_short_description’, 10, 1);
function limit_product_short_description($post_excerpt)
{
if (!is_product())
{
$pieces = explode(” “, $post_excerpt);
$post_excerpt = implode(” “, array_splice($pieces, 0, 14));
}
return $post_excerpt;
}
We really want to limit the characters on the product short description
Thanks!
-
This reply was modified 4 years by
what-the.
We know this! Can you please let the developers know for future updates? Can we get a work around for this for the meantime? Like the css?
???
This doesn’t limit the characters on the short description. It only modifies the padding on the product divs.
It works. Wow. Thank you Bettina! We’re loving the TD composer! 😉
We totally agree! Except the custom css that we wrote no longer works because your developers did some backend changes.
The custom code we had was:
.td_woo_product_module a.button {
float: right !important;
margin-top: -50px !important;
clear: right;
}
When we open up the page in google chrome and use the developer tools we can make changes right then and there to make modifications to the css. Nothing is working for us. We just need to at least to know what you guys did this time with the new updates that’s not making these custom css changes not work.
Thank you!
We just want the buy button to float to the right. Not to the left. Thank you
Per your request VLAD
Ok I’m thinking because its the div: block. Can’t we not change this to a inline-block?

the new newspaper updated deleted everything uggggghhhh!
Well neverminded. We figured it out. From the WordPress top navigational bar when viewing the page. We assigned the cloud template to the shop page.
Thank you!
Anamaria you rock!!!
It works perfect!
Thank you!
Hello????
so in other words I’m assuming we can adding the limit characters in the code you provided below in the image you gave us.
The code from this image wasn’t even enabled and the code you gave us automatically showed up in the woo product block. So I figured that we can limit the characters in the php tag within the actual woo product block code.

Do you have a quick solution in limiting the characters of the short description?
php echo $this-> product->get_short_description()
, 0,200 ); echo ‘…’
???
Thank you
???
Oh ok. Will check it out ???
A lists of suggestions for future updates. Thank you!
Maybe in the TD composer future updates we can use it on the actual woocommerce product pages instead of creating cloud templates then applying it. Like how we are able to use it in the WordPress pages. We will make a lists so you can pass it to the developers. You guys are awesome!
The short code is applied to the woocommerce short description on the actual woocommerce product page. On the cloud template I used the TD composer woo description component for the layout. Whatever is in the woocommerce short description from the actual woocommerce product page should show automatically including short codes. One would think at least. I know this is a new feature in the TD composer and know it’ll just keep getting better in future updates. Please let the developers know. Thank you!