jplus2
Forum Replies Created
-
I’m having the same issue too, $network_wide variable always empty string.
Anyone knows what we are missing here?
Thanks! hope we could find a fix for this
Yeah I tried the woocommerce settings related to caching and didn’t work,
I have no caching plugin installed.Also tried this on fresh wordpress and woocommerce install so I can confirm that the issue is not only present on my existing site.
God Speed
Thanks,
That link helped.
God Bless!
Just for update I even tried hooking on wpo_wcpdf_email_attachment action still gets a blank pdf, it does generate a pdf but its blank
function foobar(){ global $order; $pdfgen = new WooCommerce_PDF_Invoices_Export(); $packing_slip = $pdfgen->get_pdf("packing-slip",(array)$order->id); file_put_contents(plugin_dir_path( __FILE__ )."packing_slip.pdf",$packing_slip); } add_action('wpo_wcpdf_email_attachment','foobar');
Note: this codes are inside my functions.php of my theme
Forum: Themes and Templates
In reply to: Custom Post Type Pagination (Not Working)Darn!!!
I figured it out, it turns out that all my codes are good, no problem.
The problem is the setting on the wordpress admin conflicts with the post per page I set on my codeon my archive-news.php, I set post_per_page on my WP_Query arg as 5, now on my admin settings/reading it is set to 10, when I set it to 5, it worked now!
IMHO, since it is set to 10, then page 2 basically doesn’t exist, coz I only have 7 pages, so wordpress taught he already displayed all items, so page 2 doesn’t exist, since I do not have a 404.php yet, it fallsback to index.php
this is not an obvious issue since on my listing, it only shows 5 items, not 7, so it is very difficult to detect, Darn!!! talk me half a day to debug it
Hope this helps to anybody who also had this issue
I also experienced this issue, right after I upgraded to wp 3.5 and backwp up 2.1.16, it says
BackWPup:
– WP-Cron isn’t working, please check it!manual and auto back up don’t work
Yup, The Scan Doesn’t Work. It says
Scan terminated with error: WordFence API error: Your blog is using an unsupported WordPress version. The version we received was: 3.5
More Power