Shwet
Forum Replies Created
-
Forum: Plugins
In reply to: [Invoices for WooCommerce] Plugin Not working completelyCan you please reply on this asap?
I am stuck in situation where my store is in production and I can’t create invoices.Forum: Plugins
In reply to: [Invoices for WooCommerce] Plugin Not working completelyI tried this in fresh wordpress and latest plugin version.
Let me list my scenarios.
Simple Site – It works.
Network Site – It works for the default site.
For other site it does not create directory of woocommerce-pdf-invoices in wp-content\uploads\sites\site_number .
If I copy that folder from default than it does work properly.
If not copied it shows me this type of error.Fatal error: Uncaught MpdfException: Can't open file D:\Projects\xampp\htdocs\pdf-test/wp-content/uploads/sites/2/woocommerce-pdf-invoices/mpdf/ttfontdata/dejavusanscondensedB.GSUBGPOStables.dat in D:\Projects\xampp\htdocs\pdf-test\wp-content\plugins\woocommerce-pdf-invoices\vendor\mpdf\mpdf\classes\otl.php:297 Stack trace: #0 D:\Projects\xampp\htdocs\pdf-test\wp-content\plugins\woocommerce-pdf-invoices\vendor\mpdf\mpdf\mpdf.php(16211): otl->applyOTL('Shwet', 255) #1 D:\Projects\xampp\htdocs\pdf-test\wp-content\plugins\woocommerce-pdf-invoices\vendor\mpdf\mpdf\mpdf.php(15104): mPDF->WriteHTML(' <table cellpad...', 4) #2 D:\Projects\xampp\htdocs\pdf-test\wp-content\plugins\woocommerce-pdf-invoices\vendor\mpdf\mpdf\mpdf.php(14970): mPDF->_getHtmlHeight('\r\n<table cellpa...') #3 D:\Projects\xampp\htdocs\pdf-test\wp-content\plugins\woocommerce-pdf-invoices\includes\abstracts\abstract-document.php(183): mPDF->SetHTMLHeader('\r\n<table cellpa...') #4 D:\Projects\xampp\htdocs\pdf-test\wp-content\plugins\woocommerce-pdf-invoices in D:\Projects\xampp\htdocs\pdf-test\wp-content\plugins\woocommerce-pdf-invoices\vendor\mpdf\mpdf\classes\otl.php on line 297
There is no permission issue as well. Otherwise it would have not created folder for default site.
- This reply was modified 7 years, 5 months ago by Shwet.
Forum: Plugins
In reply to: [Invoices for WooCommerce] Plugin Not working completelyOk. Let me try that .
Forum: Plugins
In reply to: [WooCommerce] Trying to remove sidebar from all Woo commerce Pagesthanks man..super cool answer.
helped a lotForum: Themes and Templates
In reply to: WordPress Ajax functionality not workingok…Jan thnx for quick rply
@barinagabriel..
unfortunately what you provided did not worked…what i used is..add_filter('extraRegistrationField', 'my_extra_function'); function my_extra_function(){ //if the following condition doesn't work to save data, you can move it outside of the function if ( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) && $_POST['action'] == 'adduser'){ //use this condition to save the sent data; in this case $_POST['extraInput'] } $myExtraContent = '<p class="extraInput"><label for="extraInput">County</label><input class="text-input" name="extraInput" type="text" id="extraInput"/></p>'; do_action('register_form'); return $myExtraContent; }
where i am doing wrong?????
That did not saved entry in the database…barinagabriel thank you so much….
super fast reply…@barinagabriel. no way your code was perfact. i used this because throughout my site i have used home_url().
only error in your code was some extra'
before</a>
.
Other than that you have delivered the perfact…barinagabriel thank you for your precious time for replying.
I have tried some.but failed to get the desired result.
So can you suggest me the hook to get this?
Any help would be appreciated.thanks @barinagabriel.
Your answer helped.but some changes in your code that made my code working
what i used isadd_filter ('wppb_login_url', 'myFunct', 10, 2); function myFunct($oldRedirect, $siteURL){ /* what you return here will be the new url, as filters have higher priority */ return '<a href ="'.home_url().'/forgot-password/">Recover Password</a>'; }
Forum: Plugins
In reply to: [WP-Polls] Poll keeps loadin without wp_head() and wp_footer()Any one having this kind of trouble there is solution for you.
Add this code snippet in your function.php
with both wp_head() and wp_footer() not commented.function hide_admin_bar_from_front_end(){ if (is_blog_admin()) { return true; } return false; } add_filter( 'show_admin_bar', 'hide_admin_bar_from_front_end' );
cheers!!!!!
Forum: Plugins
In reply to: [Constant Contact for WordPress] Where is this "form designer"I have the same problem as
jamesdonegan
.
And i have Form Designer plugin installed too. But in the form designing section i cant find any way to add checkbox to enable “”Join my mailing list” function. Please describe appropriately how to enable that. In the form what i find is all the textbox related fields. no field for checkbox.Forum: Plugins
In reply to: [Annual Archive] [Plugin: Annual Archive] Specific Category?can I display only those years that have post of specific category?????
If yes please provide me some guidance…