amandathewebdev
Forum Replies Created
-
Forum: Hacks
In reply to: JavaScript/jQuery toggle not workingAndrew, that was it! Thank you.
Forum: Hacks
In reply to: JavaScript/jQuery toggle not workingThanks for the reply. I see that error is occurring in the jquery that’s included in WordPress core, which I can’t touch. So how could I fix it?
Or maybe it’s happening in this bit of code here, but when I update with double quotations, it doesn’t work:
$('a[href=#'+fancybox_id+']').fancybox().trigger('click'); alert($('a[href=#'+fancybox_id+']').length)
Forum: Themes and Templates
In reply to: PHP/HTML for email sharing button help?If anyone is looking for the solution to this:
<a class="email social-icon" href="mailto:[email protected]?body=<?php echo $share_url;?>" title="Email"><i class=”fa fa-envelope-o"></i></a>
Forum: Themes and Templates
In reply to: Help! When user signs up to my site, nothing is on the screen!If anyone is having the same issue, I added
define( 'WP_DEBUG', true );
to my wp-config file and saw this:Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /wp-includes/functions.php
but that is a WP core file, so I’m not sure why it would be deprecated. I found this plugin as a temporary solution: https://www.ads-software.com/plugins/peters-login-redirect/ but if there’s a problem I’d like to solve it instead of cover it up.
Hi beamkiller,
I added the debug and saw this:
Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /wp-includes/functions.php
but that is a WP core file, so I’m not sure why it would be deprecated. I found this plugin as a temporary solution: https://www.ads-software.com/plugins/peters-login-redirect/ but if there’s a problem I’d like to solve it instead of cover it up.
I’m also interested in an answer to this, before I download the plugin. Can you redirect to the homepage?
Forum: Plugins
In reply to: [BCC Everything] Does it work with WooCommerce emails?I’d like to know this as well, I was considering adding this for my WooCommerce emails.
Forum: Plugins
In reply to: [WooCommerce] Remove pricing from email customer invoiceThanks for your help!
Forum: Plugins
In reply to: [WooCommerce] Remove pricing from email customer invoiceHi Mike,
Thanks for the quick response! I commented out this line of code, and added it to my child theme. There is still a table header “Price”, and still a price on “Subtotal” and “Total”. This just got rid of the price that was next to the product description.
<!-- <td class="td" style="text-align:left; vertical-align:middle; border: 1px solid #eee; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;"><?php echo $order->get_formatted_line_subtotal( $item ); ?></td> -->
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide price on free version?yoga1103 and Ewout, thank you! That did it ?? I combined the CSS you provided with a function from another thread, so I didn’t have to modify anything but my functions.php file:
add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles' ); function wpo_wcpdf_custom_styles () { ?> th.price, td.price, table.totals, .order-details tfoot tr:last-child { display: none; } <?php }
you = the best. Thank you.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Hide price on free version?Hi yoga, thanks for the suggestions. I can’t add CSS to a PDF. Your second suggestion, I did think of, but there’s a lot of PHP that talks about price. It’s commented pretty well but I felt like it was a lot to try and remove.
Nevermind, I found the setting in WooCommerce and it automatically attached what looks like your PDF! Woo hoo!
Forum: Plugins
In reply to: [WooCommerce] "View All" products optionNevermind, found this plugin and it works great:
https://www.ads-software.com/support/plugin/woocommerce-products-per-pageThanks Mark, I figured out they did that but I didn’t understand why. I appreciate you taking the extra step to explain.