kevmatic33
Forum Replies Created
-
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Add Donation Input Field on the Shop PageI figured it out. If anybody needs to know I added the below snippet at the end of the product loop on the archive template. The file name was ‘content-product.php
<form class="form-inline cart" method="post" enctype="multipart/form-data"> <div class="form-group wc-donation-amount"> <label class="sr-only" for="exampleInputAmount">Amount (in dollars)</label> <div class="input-group"> <div class="input-group-addon">$</div> <input type="text" class="form-control" placeholder="Amount" name="donation_amount" value="0.00" id="donation_amount_field"> <input type="hidden" name="add-to-cart" value="<?php the_ID(); ?>"> </div> </div> <button type="submit" class="single_add_to_cart_button button alt">Donate Now</button> </form>
I have replicated this behavior in Chrome, Firefox, and IE. A small window pops-up & disappears
Yeah, it’s weird. Sometimes it throws an error and sometimes it doesn’t (on mine.) Not sure if maybe I’m trying to load too much before it can grab the value to init that scroll, or what. I’ll keep tinkering with it.
Either way, thanks for sending me that link & checking on your end. I appreciate it.
Forum: Plugins
In reply to: [DreamObjects Backups] PHP WarningI’m getting the same error as well on my site now
Forum: Fixing WordPress
In reply to: WordPress email helpYou can find that setting in the cPanel in the Email section under the MX Entry option. There is a radio button to set it to either Remote Mail Exchanger or Local Mail Exchanger
Forum: Fixing WordPress
In reply to: WP_query Pulling wrong post typeWithout seeing all of your code it’s hard to say for sure, but you might need to either reset the query using
wp_reset_query()
or by usingwp_reset_postdata()
Forum: Plugins
In reply to: [Easy Responsive Shortcodes] Close accordion when page loadsHere you go, complements of Brasco ///
Just call this bit of jQuery (after you’ve loaded jQuery, of course)$(window).load(function(){ // Hack the WP Accordion $('.accordion-item.active .accordion-item-content').css('display', 'none'); $('.accordion-item.active').removeClass('active'); });
Forum: Themes and Templates
In reply to: Way to Tell if Link is to single.php?In my taxonomy.php page, the list of terms are links. They either go to the single.php, or the next step down in the taxonomy. I need to hide a link to single.php if it’s not at the bottom most category. Any suggestions would be greatly appreciated.
Forum: Themes and Templates
In reply to: Way to Tell if Link is to single.php?No, I need a way to tell if an anchor/link is going to a single.php or if it’s going deeper in the taxonomy.php.