-
Recent Posts
Recent Comments
Archives
- August 2020
- March 2020
- December 2019
- July 2019
- June 2019
- May 2019
- March 2019
- August 2018
- July 2018
- May 2018
- March 2018
- September 2017
- August 2017
- May 2017
- April 2017
- January 2017
- November 2016
- October 2016
- September 2016
- August 2016
- June 2016
- May 2016
- April 2016
- November 2015
- October 2015
- September 2015
- August 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
Categories
Meta
Author Archives: admin
WordPress: Redirect after Login on WordPress
Source: http://stackoverflow.com/questions/8127453/redirect-after-login-on-wordpress Add the following to child theme’s functions.php function admin_default_page() { return ‘/new-dashboard-url’; } add_filter(‘login_redirect’, ‘admin_default_page’);
Posted in CMS
Tagged function filters, wordpress
Comments Off on WordPress: Redirect after Login on WordPress
Easy Fancybox: Solution for Iframe no-scroll issue in mobile
Source: https://alucard-blog.blogspot.sg/2016/06/how-to-fix-fancy-boxeasy-fancybox.html How to fix fancy box scroll not working in mobile. Using wordpress plugin https://wordpress.org/plugins/easy-fancybox/ In Easy Fancybox, you will see these 2 lines in the jquery.fancybox-1.3.7.js: (do a folder search for id=”fancybox-content” to get better idea of how … Continue reading
Posted in CMS, CSS, troubleshoot
Tagged easy fancybox, mobile, plugin, wordpress
Comments Off on Easy Fancybox: Solution for Iframe no-scroll issue in mobile
CSS: Media queries for mobile, tablet display devices
In practice, many designers convert pixels to ems, largely b/c ems better afford zooming. At standard zoom 1em === 16px. Multiply pixels by 1em/16px to get ems. For example, 320px === 20em. Suggested breakpoints Source: http://stackoverflow.com/questions/6370690/media-queries-how-to-target-desktop-tablet-and-mobile @media (min-width:320px) { /* … Continue reading
Posted in CSS, SEO, web design
Tagged media queries, mobile, tablet
Comments Off on CSS: Media queries for mobile, tablet display devices
Visual Composer: Remove Visual Composer Tab from Dashboard Menu
Add this following code to your themes functions.php function custom_menu_page_removing() { remove_menu_page(‘vc-general’); //vc } add_action( ‘admin_menu’, ‘custom_menu_page_removing’ ); This is how to find out for the next time: The link for Visual-Composer main page is admin.php?page=vc-general if you want to … Continue reading
Posted in CMS, Visual Composer
Comments Off on Visual Composer: Remove Visual Composer Tab from Dashboard Menu
Visual Composer: edit google font list
https://wpbakery.atlassian.net/wiki/display/VC/How+to+Manage+List+of+Google+Fonts Remove the list of fonts from wp-content/plugins/js_composer_theme/include/params/google_fonts google_fonts.php Or To change this list use add_filters(‘vc_google_fonts_get_fonts_filter’,’your_custom_function’); and change array vc_filter: vc_google_fonts_get_fonts_filter
Posted in CMS, Visual Composer
Comments Off on Visual Composer: edit google font list
WAMP: Troubleshooting tips
After fresh install wampserver, some configurations need to be changed, or you’ll get 403 Forbidden error for setting up virtual directories (url links for local machine) C:\wamp64\bin\apache\apache2.4.17\conf\httpd.conf <Directory /> AllowOverride none Require all denied </Directory> change to: <Directory /> # … Continue reading
Posted in servers, troubleshoot
Comments Off on WAMP: Troubleshooting tips
Prestashop: Editing orders from customers or after delivered status
Source: https://www.prestashop.com/forums/topic/276384-solvedunable-to-modify-customer-order-from-backoffice/?tab=comments#comment-1388383 Back Office—->Orders—>Statuses—>Preparation in Progress(Or any status which is set as default), I unchecked “Show Delivery PDF.” Status should not have “delivered” option. In table ps_order_history remove this order’s “Delivered” state https://www.prestashop.com/forums/topic/276384-solvedunable-to-modify-customer-order-from-backoffice/#entry1388383 (Not sure if necessary, should test) In … Continue reading
Posted in ecommerce, troubleshoot
Tagged prestashop
Comments Off on Prestashop: Editing orders from customers or after delivered status
phpmyadmin: mysql export Simplified Chinese utf csv gibberish text issue
The database collation is utf8_unicode_ci but can’t guarantee the Chinese text encoding was 100% correct during data entry (may have mixed with Traditional Chinese?) When we use the usual route in phpmyadmin to export the data to .csv, the generated … Continue reading
Posted in database, troubleshoot
Tagged Chinese, csv, encoding, mysql, phpmyadmin
Comments Off on phpmyadmin: mysql export Simplified Chinese utf csv gibberish text issue
CS6: Quick Fix Adobe Acrobat Pro X won’t start
Source: http://forums.adobe.com/message/4546952 Source: http://wpressurecooker.com/adobe-cs6-wont-start-how-to-fix/ Make sure you are connected to the internet. Launch a regular CS6 product other than Acrobat or Flash Builder (for example: Photoshop, After Effects, Premier Pro, InDesign, Flash Professional, Illustrator, Dreamweaver.) Click on Help->Deactivate . Deactivate … Continue reading
Posted in Adobe, troubleshoot
Tagged adobe acrobat, pdf
Comments Off on CS6: Quick Fix Adobe Acrobat Pro X won’t start
WordPress: Disable product arrow pop-out (woocommerce, custom posts, Jupiter theme)
Source: https://wordpress.org/support/topic/woocommerce-disable-product-arrow-pop-out Affects all custom posts Question: Hi, I’m using WooCommerce (latest) with my Jupiter theme plugin. I can’t find the option to disable WooCommerce recommending other items on the side of the page. See this screenshot for an example. … Continue reading