matheny00
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Square] Woocommerce Square ErrorHow do you downgrade and stop being auto upgraded? I know how to do the down grade do it everyday to come home and find it upgraded again. I have easy update manager loaded and under up woocommerce square I show it red blocked. but no it still upgrades.
Forum: Plugins
In reply to: [WooCommerce Square] Can’t Type in Credit Card FieldSame issue 2.0.3 did not work and 2.0.4 still does not work and if yo have a second c/c option like paypal the box never shows.
Forum: Fixing WordPress
In reply to: Truncating textIt seems I have got all my questions figured out got lucky and found an article on the moving of the social media.
Do you have a paypal account I would like to send you some cash as a thank you,Forum: Fixing WordPress
In reply to: Truncating textI figured it out thank you the code said $limit = 25; //number of characters but it was words so I got it fixed.
Forum: Fixing WordPress
In reply to: Truncating textYes just found it buried in the customizer.
so how do I adjust to less text on the description? I would like to limit it to 2 lines of text if that is possibleForum: Fixing WordPress
In reply to: Truncating textthere is no snippet it is loaded via the powerpack from woo so I might have to change the way I do my home page. Thank you very much I will keep working on this till I can get it the way I like it.
If you have any opinion or suggestions on the site always open for direction. And again thank you
Forum: Fixing WordPress
In reply to: Truncating textThis is all I have added after the basic function.php file
* Rename product data tabs
*/
add_filter( ‘woocommerce_product_tabs’, ‘woo_rename_tabs’, 98 );
function woo_rename_tabs( $tabs ) {$tabs[‘additional_information’][‘title’] = __( ‘Specification / More Info.’ ); // Rename the additional information tab
return $tabs;
}
/**** truncate home page text */
add_action( ‘woocommerce_after_shop_loop_item_title’, ‘description_in_shop_loop_item’, 3 );
function description_in_shop_loop_item()
{
global $post;$limit = 24; //number of characters
$excerpt = $post->post_excerpt;
if (str_word_count($excerpt, 0) > $limit) {
$arr = str_word_count($excerpt, 2);
$pos = array_keys($arr);
$excerpt = substr($excerpt, 0, $pos[$limit]) . ”;
}
echo ‘<span class=”description”><p>’ . $excerpt . ‘</p></span>’;
}Forum: Fixing WordPress
In reply to: Truncating textok that works part way it truncates but it duplicates the text if you look at the page you will see.
Forum: Fixing WordPress
In reply to: Truncating textill be gone for a few hours will check back soon
again thank youForum: Fixing WordPress
In reply to: Truncating textI think I know where the issue might be on your webpage click on the first item album. then look to the right of the picture that is the product short description
Album
$15.00“This is a simple, virtual product.”
what is truncating is the first description and that one is not the one being feed to the home page.
Forum: Fixing WordPress
In reply to: Truncating textok ill go to the file direct and type your text into it and ftp it. the test comes from the short description page for the product direct.
thank youForum: Fixing WordPress
In reply to: Truncating textno it is feed in from woocommece storefront automatically it is an option to select
Forum: Fixing WordPress
In reply to: Truncating textyes if you look at the first picture I sent it also confirms the child theme is active and I just viewed the ftp file and it is correct
Forum: Fixing WordPress
In reply to: Truncating textI did clear cache and tested in firefox and chrome plus incognito window still shows full text
Forum: Fixing WordPress
In reply to: Truncating textoh ok new to all this… so it is in place but the text is not being shortened/truncated on the home page