box
Forum Replies Created
-
Forum: Plugins
In reply to: [mqTranslate] Changing in main menu(or other place) the languageI’m not quite sure about your meaning. If you want to add a language switcher, you may put the code snippet to header.php.
<!-- mqTranslate http://www.qianqin.de/qtranslate/faq/ 'text' (default), 'image', 'both', 'dropdown' --> <div class="alignright"> <?php echo qtrans_generateLanguageSelectCode( 'dropdown' ); ?> </div>I just updated the plugin and noticed that the bug is still there.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] {link_title} doesn't workHi Joe,
I see. I just noticed the “Event Link (Optional)” custom field on the “Edit Event” page. The events in the sidebar have links after I setting this custom field. 🙂
Thanks for your help. 🙂
Best regards,
BoxForum: Plugins
In reply to: [My Calendar - Accessible Event Manager] {link_title} doesn't workHi Joe,
Thanks for your reply. I added a page at http://198.23.131.153/gchf/event-details/ whose content is “[my_calendar]”. The events may be found at http://198.23.131.153/gchf/event-details/?mc_id=6 and http://198.23.131.153/gchf/event-details/?mc_id=2. But the events in the sidebar still have no links. Any ideas?
Thanks,
BoxHi,
Thanks for your reply. I really appreciate it. 🙂
Best regards,
BoxForum: Themes and Templates
In reply to: wp_script_is & wp_enqueue_scriptsHi basku,
It seems that you call the wp_script_js() function too early. According to the source code of this function at http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/functions.wp-scripts.php#L161, you’ll see the error message if you call this function before either of the following 3 hooks:
- wp_enqueue_scripts
- admin_enqueue_scripts
- init
You may want to check the “TypeKit Code Snippet” written by Devin Price, a famous WordPress developer at http://wptheming.com/2013/02/typekit-code-snippet/. This function is called in a “wp_head” hook function. And the “wp_head” hook is behind the “init” hook and the “wp_enqueue_scripts” hook according to http://codex.wordpress.org/Plugin_API/Action_Reference.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce plugin v2.0.4 – very SLOW?Hi, you may want to test the performance of your VPS using http://serverbear.com/ and https://code.google.com/p/byte-unixbench/ (https://my.vps6.net/knowledgebase/1/Install-and-Run-UnixBench-on-CentOS-or-Debian-VPS.html).
Forum: Plugins
In reply to: [WooCommerce] The emails allways comes as spam in the "gmail" accountThe tutorial “Outgoing Email – Beating The SPAM Filters” might be helpful. https://forum.ramhost.us/bbs/viewtopic.php?id=177
Forum: Plugins
In reply to: [WooCommerce] installation issueIf you have the permission to modify php.ini, please modify
max_execution_time = 30
to
max_execution_time = 300The following snippet is copied from my php.ini.
; Maximum execution time of each script, in seconds ; http://php.net/max-execution-time ; Note: This directive is hardcoded to 0 for the CLI SAPI max_execution_time = 300Forum: Fixing WordPress
In reply to: No Back Up and want to revert back to previous version of Word PressI compared the database of WordPress 3.4.2, 3.5, and 3.5.1. The default data are a little different. The database schema is exactly the same.
Forum: Fixing WordPress
In reply to: No Back Up and want to revert back to previous version of Word PressLast week, one of my clients notified me that the post format “gallery” feature in the theme I built didn’t work. I looked into the issue and found that it worked in WordPress 3.4.2, but didn’t work in WordPress 3.5 or 3.5.1 since WordPress 3.5 modified the media uploader/manager. So I downgraded the WordPress 3.5.1 to WordPress 3.4.2 and it worked again.
Thanks @esmi, I’ll look into the database schema of WordPress 3.4.2 and WordPress 3.5.1 today.
Forum: Fixing WordPress
In reply to: No Back Up and want to revert back to previous version of Word Press1. Please back up your current files and database on your site.
zip -rq yoursite.zip yoursitefolder/2. Remove the wp-admin folder and the wp-includes folder on your site.
3. Download the previous WordPress zip (or tar.gz) file, then extract it, then upload all the files to your site.
4. Visit your site and upgrade your database if there is some message asking you to do so.
5. Done.
Forum: Plugins
In reply to: [WooCommerce] Comment isn't correctI posted the bug at https://github.com/woothemes/woocommerce/issues/2319 after reading the post “Please read before posting :)”. 😉