dolby_uk
Forum Replies Created
-
Forum: Plugins
In reply to: [Mobile Smart] cookie notTry the information here on setting your cookie domain: http://www.mobile-smart.co.uk/frequently-asked-questions/when-i-use-the-switcher-link-on-a-mobile-device-to-switch-to-a-desktop-theme-from-a-mobile-theme-it-forgets-my-setting/
Forum: Fixing WordPress
In reply to: How to add author page to custom user role?So in WooCommerce, this is achieved by the following code in wp-content/plugins/woocommerce/includes/wc-user-functions.php:
/** * Disable author archives for customers. * * @since 2.5.0 */ function wc_disable_author_archives_for_customers() { global $wp_query, $author; if ( is_author() ) { $user = get_user_by( 'id', $author ); if ( isset( $user->roles[0] ) && 'customer' === $user->roles[0] ) { wp_redirect( wc_get_page_permalink( 'shop' ) ); } } } add_action( 'template_redirect', 'wc_disable_author_archives_for_customers' );In your theme’s functions.php (or somewhere else appropriate), you could turn that off:
/* This removes the function that redirects customers to the shop page' function enable_author_archives_for_customers() { remove_action('template_redirect', 'wc_disable_author_archives_for_customers'); } add_action( 'after_setup_theme', 'enable_author_archives_for_customers' );Hope this helps,
Dan
Forum: Plugins
In reply to: [Mobile Smart] Mobile redirect to different page on same domain/themeThe Mobile Smart Pro plugin allows you to set a different home page on mobile devices, or also to set different content for the same URL.
http://codecanyon.net/item/mobile-smart-pro/3671362?ref=dansmart
Forum: Plugins
In reply to: [Mobile Smart] Confirmed function on WP 4.6?It’s tested and working fine on WordPress 4.6. Did you resolve this?
Forum: Plugins
In reply to: [Mobile Smart] Shortcodes works wrong on tablet (iPad3)I believe we resolved this via support at http://www.mobile-smart.co.uk/support
Dan
Forum: Plugins
In reply to: [Mobile Smart] widgets not workingPlease use the support form at http://www.mobile-smart.co.uk/support
Forum: Plugins
In reply to: [Mobile Smart] iPad shows mobile theme when not enabledWhat settings do you have currently?
Also, can you check that your theme isn’t responsive, which means that it would adapt to the device it’s being displayed on. So if it’s responsive and shown on a tablet, quite oftehn they reduce the width and change the layout / menu.
Custom menu support is only available in the pro version. The free version may be displaying a list of pages because the theme location name for your menu doesn’t match between your mobile and desktop theme. You should ensure that they have the same theme location name used for register_nav_menu() and wp_nav_menu() – you may need a developer to do this if you’re not comfortable with looking at the code yourself.
The pro plugin helps manage this by adding a ‘mapping’ section where you can supply the theme location name of the mobile theme in order to map the desktop theme to the mobile theme.
Forum: Plugins
In reply to: [Mobile Smart] mobile smart not workingHave you changed themes? I’ve had no reports of it suddenly stopping.
Sometimes this can be related to caching plugins – if you have any enabled, it’d be worth checking without them enabled.
Forum: Plugins
In reply to: [Mobile Smart] question1: How do I use the body classes?Thanks – yes, please use the support link as provided above.
Forum: Plugins
In reply to: [Mobile Smart] Mobile ESP Project update(Version 1.3.14)
Forum: Plugins
In reply to: [Mobile Smart] Mobile ESP Project updateThanks for reminding me, added now.
Forum: Plugins
In reply to: [Mobile Smart] Versioning IssueFixed 1.3.13, sorry for the delay (the forums used to notify me when there was a new message).
Forum: Plugins
In reply to: [Mobile Smart] Versioning IssueThanks for letting me know, I’ll investigate.
Forum: Plugins
In reply to: [Mobile Smart] Not Working with Wp MinifyThanks for letting me know. I’ll take a look at this.
Forum: Plugins
In reply to: [Mobile Smart] Broken with WordPress 4.4I’ve found the issue, sorry it was with some code that I thought I’d tested but had escaped my testing environment. Apologies to all – it’s now updated to version 1.3.12 and confirmed working with WordPress 4.4.
Dan