Corbett Enders
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] Finding source of a redirectionDisregard. As it turns out, WordPress globally won’t let you use the year (or any year) as a page URL.
I think you might be the problem. I had no issues using the free plug-in to create a full restaurant menu.
Ok. Was it actual malware, and if yes, what was is and should I be concerned?
Forum: Plugins
In reply to: [Send PDF for Contact Form 7] No PDF AttachementWhich file are you editing? NVM, found it. /classes/send-pdf.php
- This reply was modified 2 years, 8 months ago by Corbett Enders.
I noticed this as well, and would desire the user to be taken straight to the cart when there are no attributes to choose from.
Forum: Plugins
In reply to: [WooCommerce PayPal Pro Payment Gateway] Error: duplicate invoice ID suppliedAdd me to the list of people experiencing this problem.
Forum: Plugins
In reply to: [Five Star Restaurant Menu and Food Ordering] Sidebar blank / empty?Ok, disregard… I found the problem. I had customized the template menu-sidebar-section.php.
I had:
<?php echo $this->current_section->name; ?></div>
where the original file from the latest version of the plugin is using:
<?php echo $this->current_section->title; ?></div>
Updated my template, all is good.
Forum: Plugins
In reply to: [Five Star Restaurant Menu and Food Ordering] Sidebar blank / empty?Well, I’ve noticed that my sidebar is blank again… and I no longer have the litespeed cache plugin… so no idea why.
Forum: Plugins
In reply to: [Five Star Restaurant Menu and Food Ordering] Sidebar blank / empty?I have solved the issue, it was my litespeed cache plugin. After disabling the plugin, the sidebar started populating correctly. Very weird.
- This reply was modified 3 years, 9 months ago by Corbett Enders.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Query shipping methodThank you! That works.
Actual code I used is:
add_action('wpo_wcpdf_after_order_data', 'wpo_wcpdf_show_shipping_method', 10, 2); function wpo_wcpdf_show_shipping_method ( $template_type, $order ) { // if order is empty, bail! if ( empty($order) ) {return;} $document = wcpdf_get_document( $template_type, $order ); foreach ( $order->get_shipping_methods() as $shipping_method ) { $shipping_method_name = $shipping_method->get_name(); if ( strtolower($shipping_method_name) === 'delivery' ) { ?><tr><td colspan="2"><br><b><?php $document->custom_field('Delivery Location'); ?></b></td></tr> <?php } } }
- This reply was modified 3 years, 10 months ago by Corbett Enders.
Forum: Plugins
In reply to: [Send PDF for Contact Form 7] plugin causes a fatal error on my siteI too am having a problem, though I can’t get my detailed logging to work on my site. At any rate, rolling back the plugin got my site back online.
I checked the wpcf7pdf_path_temp option and the path exists correctly (my site has not moved).
I have also had it happen with 2.1. I wondered if after changing the price I pressed enter on my keyboard instead of clicking update and that caused the duplicate. I didn’t test that theory.
Forum: Plugins
In reply to: [Five Star Restaurant Menu and Food Ordering] Light Box QuestionI edited the template to create my own link to photos, even put a small camera icon to indicate that a photo exists.
Refer to: https://www.ads-software.com/support/topic/different-approach-to-images/
Forum: Plugins
In reply to: [Five Star Restaurant Menu and Food Ordering] Different approach to imagesDIVI theme and their page builder. I guess it’s something with the theme interfering with me picking a feature image. They don’t know why this is happening either.
For lack of a better solution, I’ve used a str_replace function in my code to get rid of the -600×600 if it exists in the image file name. Dirty but works.
<div class="fdm-item-title"> <?php echo $this->title; ?> <?php if ( $this->image ) : ?> <a href="<?php echo str_replace("-600x600","",$this->image); ?>" class="et_pb_lightbox_image"> <img src="https://madrose.pub/wp-content/uploads/2019/10/camera-icon.png" alt="" width="20" height="15" /> </a> <?php endif; ?> </div>
I have had this happen as well.