itsmir
Forum Replies Created
-
Forum: Plugins
In reply to: [Quick Donation For WooCommerce] Edit LanguageRegarding the redirect not working, you need to change the following in donation_form.php:
Before
<form method="post">
After
<form action="http://www.checkoutpageshortlink.com" method="post">Hope that helps!
Forum: Plugins
In reply to: [Quick Donation For WooCommerce] Shortode positionHi there,
I found a fix for this:-
In the file woocommerce-quick-donation.php:
Find the function wc_qd_form and add the following 2 lines (or feel free to just replace with the updated function below).1. Add ob_start(); at the beginning to enable output buffering and not echo the form contents to the screen, but instead to an output buffer.
2. Add return ob_get_clean(); at the end of the function to get and return the buffer contents.Full code below:
public function wc_qd_form(){ ob_start(); global $woocommerce; $donate = isset($woocommerce->session->jc_donation) ? floatval($woocommerce->session->jc_donation) : 0; if(!$this->donation_exsits()){ unset($woocommerce->session->jc_donation); unset($woocommerce->session->projects); } // $donate = jc_round_donation($woocommerce->cart->total ); $show_form_donatio_exist = get_option('wc_quick_donation_hide_form'); if($this->donation_exsits() && $show_form_donatio_exist){ $this->_load_donation_form(); }else if(! $this->donation_exsits()){ $this->_load_donation_form(); } return ob_get_clean(); }Forum: Plugins
In reply to: [Quick Donation For WooCommerce] Shortcode position and page contentI had the same issue and your fix works perfectly.
Thank you uristern!
Forum: Plugins
In reply to: [qTranslate X] Call php string on page lang – I'm struggling!Fixed it!!
I was trying too hard, all I needed to do was:-
[:nl]<?php echo yksemeProcessSnippet( "77685dc26e" , "Submit" ); ?> [:en]<?php echo yksemeProcessSnippet( "1cbe28adbd" , "Submit" ); ?>🙂
Yes!! Updated the csv, re-imported and all is good.
Using a closing tag ( [:] ) works as well (and was a lot quicker to add 🙂 ).
Thanks again
Hello,
Thank you for the quick response.
By creating a new test table for you and playing with the qtranslate-x shortcodes I appear to have solved one issue.
When using the shortcodes [:en] & [:nl] to define the language I get the ‘Cannot reinitalise …’ error. If I use the <!–:nl–> type shortcodes instead the error disappears 🙂
It also corrects the formatting.
I will change the short codes in the csv file and see if that does the job.
Keeping my fingers crossed 🙂
Forum: Plugins
In reply to: [Special Recent Posts] Fatal error upgrading to 2.0.2Just thought I’d leave a note to let you know I’ve solved this issue with a clean install of WP with no changes to plugins or theme. No idea what caused it but happy that it’s sorted.
Thanks for your help.
Forum: Plugins
In reply to: [Special Recent Posts] Fatal error upgrading to 2.0.2I’ve zipped the live theme and put it on another server – you can download it here: http://itsmir.nl/temp/wwnew2.zip
Domain for the theme is wereldwinkelkapelle.nl
Forum: Plugins
In reply to: [Special Recent Posts] Fatal error upgrading to 2.0.2Thanks for your quick reply, much appreciated.
I had suspected it was theme related, however as only the SRP plugin kills the site thought I’d ask here. The theme was generated using Artisteer and I have no clue what needs to change in the theme files so it looks like I’ll be staying on v1.9.9 – boooh!
Thanks for your time.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Performance-Problem with the calendarLooking forward to 2.0; but a little hesitant…
As my client is now happy with performance and the tweaks to prevent it using so much php memory are doing their job I’ve recommended that we not update the plug-in until they are ‘out-of-season’ and the calendar functionality is not so important. Hopefully by then any further bugs and/or issues will have been addressed either by the author or on the forums.
I’m using WP SuperCache and so far it’s playing nicely!
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] 1.10.11 makes my website very slowHow soon is soon? I have a VERY upset client right now. This performance hit is killing their site.
Jarendmcdowell – check out this post where this is a temporary solution from poster Endymion00.
http://wordpress.org/support/topic/performance-problem-with-the-calendar?replies=9
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Performance-Problem with the calendarThank you, thank you, thank you Endymion00 for the redirect rule, using it in conjunction with wp supercache the site I’m building is flying again. Load times down from 7-8 seconds to 480ms which makes me and my client very happy.
Forum: Plugins
In reply to: [qTranslate] qtranslate breaks category page links in my themeForum: Plugins
In reply to: [qTranslate] qtranslate breaks category page links in my themeFixed it!!
Replaced the posts_per_page query above with this function:-
function wpse8982_filter_pre_get_posts( $query ) { if ( $query->is_main_query() && is_category() ) { $query->set( 'posts_per_page', '30' ); } } add_action( 'pre_get_posts', 'wpse8982_filter_pre_get_posts' );Forum: Plugins
In reply to: [qTranslate] qtranslate breaks category page links in my themeHave found it’s actually this line which kills the page (only when using qtranslate)
<?php query_posts( array ( 'category_name' => single_cat_title( '', false ), 'posts_per_page' => -1 ) ); ?>I use this line to show all posts as I have restricted number of posts to 1 on normal blog pages. Removing it shows only one post per category and I’m trying to achieve a list of all posts in a category
If anyone could advise what I need to tweak to this line you’d make this frustrated girl very happy.