Category Archives: CMS

WordPress: Responsive video (mp4 video inserted from media library)

Changed the wordpress wp-includes/media.php file. Probably not the best way to do this. Ref: https://codex.wordpress.org/Video_Shortcode At around line 2504, comment out the following: $html_atts = array( ‘class’ => $atts[‘class’], ‘id’ => sprintf( ‘video-%d-%d’, $post_id, $instance ), ‘width’ => $atts[‘width’], //’width’ … Continue reading

Posted in CMS | Tagged , | Comments Off on WordPress: Responsive video (mp4 video inserted from media library)

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 , | 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 , , , | Comments Off on Easy Fancybox: Solution for Iframe no-scroll issue in mobile

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

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

Posted in CMS | Tagged , | Comments Off on WordPress: Disable product arrow pop-out (woocommerce, custom posts, Jupiter theme)

Prestashop: contentBox HTML module

Description: contentBox is a very simple, very intuitive and very powerful Prestashop Module. With contentBox you can add html blocks to prestashop, JAVASCRIPT + CSS blocks anywhere you want inside Prestashop 1.5 or Prestashop 1.6. Link: http://contentbox.org/ Works great for … Continue reading

Posted in CMS, ecommerce | Tagged , | Comments Off on Prestashop: contentBox HTML module

WordPress plugins: downloading old versions

Go to the plugin page hosted at wordpress.org https://wordpress.org/plugins Click on the Developer tab and you’ll find the list of previous releases.

Posted in CMS | Tagged , | Comments Off on WordPress plugins: downloading old versions

Prestashop: Free modules

A list of useful sites that provide free modules. List will be updated as and when I find new ones. From Prestashop community 1) [Free module] display multilingual HTML texts everywhere http://www.prestashop.com/forums/topic/172429-free-module-display-multilingual-html-texts-everywhere/ List of valuable and proven free modules for … Continue reading

Posted in CMS | Tagged | Comments Off on Prestashop: Free modules