ascanatian
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] 200 parse errorPerfect, now it works!
<?php echo do_shortcode('[shortcode order_id="' . $this->order->get_order_number() . '"]'); ?>
And yes, I’m adding in custom invoice.php template -> woocommerce/pdf/theme/invoice.php
Thanks a lot!
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] 200 parse errorin wpo_wcpdf – Fatal error: Call to a member function get_items() on bool ..(/home/..leading to plugin file dir)
Problem is if I hardcoded it like so:
<?php echo do_shortcode('[shortcode order_id="23123"]'); ?>
its working, but if I try to put it dynamically like so:
<?php echo do_shortcode('[shortcode order_id="' . $this->order_number() . '"]'); ?>
It’s not working.
So what is the right way to put the order number dynamically in the invoice.php?
- This reply was modified 10 months, 2 weeks ago by ascanatian.
- This reply was modified 10 months, 2 weeks ago by ascanatian.
- This reply was modified 10 months, 2 weeks ago by ascanatian.
- This reply was modified 10 months, 2 weeks ago by ascanatian.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] 200 parse errorHi, I’m trying to add shortcode from another plugin to the invoice template in order to show the information I want on the invoice.
Forum: Plugins
In reply to: [Easy Photography Portfolio] Show text after images and Gallery Shortcodes?Hello there,
Firstly, Oh I really love this plugin and there is nothing similar and as good as this on the free market. Thank you a lot!!!
On the topic, the only thing I’m struggling is placing the one specific gallery on my home page. And yes, the reason is I want my best pictures (this one specific gallery I created) to be placed on my home page as a widget shortcode so people can just take a quick look at them and be able to open them and check them in large format. It will be really useful and faster for the visitors to view this pictures first and after that they can visit the other page with the portfolio pages and browse whatever they like. This is why I think adding this feature will make your plugin the perfect one there is!
Regards,
AndyForum: Fixing WordPress
In reply to: One content box went under anotherBrewhouse Theme. I was playing with the CSS to change some things and maybe I did something wrong. In fact when I opened my website on mobile some of the boxes weren’t fullwidth and I don’t remember changing something.
- This reply was modified 8 years, 1 month ago by ascanatian.
- This reply was modified 8 years, 1 month ago by bdbrown.
Forum: Themes and Templates
In reply to: [Theme: Zerif Lite] Modify Title UnderlinesI found it already:
.entry-title a:after { height: 2px; background: #673; width: 50px; } .listpost-content-wrap .entry-title a:after { background: #673; } ul.nav > li.current_page_item > a:before { height: 2px; background: #673; } .entry-title:before { height: 3px; background: #673; }
Forum: Themes and Templates
In reply to: [Zerif Lite] Can you use Cloudflare Flexible SSL with Zerif?Thank you! Good luck with your site! It’s cool!
Forum: Themes and Templates
In reply to: [Zerif Lite] Can you use Cloudflare Flexible SSL with Zerif?Sorry for the off-topic. I saw your site and your underlines of the navbar and blogs are different color. Would you please tell me how did you do it? ?? Thanks and sorry ??
Forum: Themes and Templates
In reply to: [Theme: Zerif Lite] Modify Title UnderlinesWhat about these lines on the navbar and page titles?