Chris
Forum Replies Created
-
Forum: Plugins
In reply to: [NS Cloner - Site Copier] ns cloner clear queueI’m also having this problem. See my post at https://www.ads-software.com/support/topic/programmatic-cloning-sometimes-does-not-complete/
Forum: Plugins
In reply to: [Order Delivery Date for WooCommerce] Inline DatepickerHi Komal,
If you want to add it, it just needs a new option added, a containing element added to the checkout and a change to the orddd-lite-initialize-datepicker.js file. I’ve modded it for now as follows:
jQuery( '#e_deliverydate' ).val( '' ); jQuery( '#inline-datepicker' ).datepicker( { inline: true, altField: '#e_deliverydate', ...
- This reply was modified 6 years, 8 months ago by Chris.
Well it’s not that clear on GitHub that the version you’ll be downloading is 3.1.2-rc1!
Thanks though, it seems to be working on my site now.
I cannot find 3.1.2-rc1 either. If the developer could point me in the right direction I’d be very grateful.
Forum: Networking WordPress
In reply to: Redirect Main SiteI’ve figured out a working solution. If anyone else has been trying to accomplish this then the following function may help;
function redirect_entire_site() { /* Redirect to where? */ $redirect_url = 'https://domain.com/your-new-page/'; $uri = $GLOBALS['pagenow']; if( !is_admin() ) { $redirect = true; } if( strpos( $uri, 'wp-login' ) !== false ) { $redirect = false; } if( $redirect == true ) { wp_redirect( $redirect_url, 301 ); exit; } } add_action( 'init', 'redirect_entire_site' );
Forum: Hacks
In reply to: Ideas for recording user transactionsThanks bcworkz. At the moment I think the number of transactions per user will be quite small, under 50 for example but with the odd exception that will be 100+. I’m not sure what would be considered a large number of keys to be stored as user meta. I’m thinking the best way to go would be a new table as I will have to query it on the users account page to summarise their transactions and calculate a total.
Forum: Plugins
In reply to: Invalid argument supplied for foreach()A quick update to this; I’ve noticed this error does not occur when I move the plugin code to the theme’s functions file. This error only occurs when the code is added as a plugin.
I’m also having this problem. I would like to be able to display a gravity forms register form along with the login form.
Forum: Plugins
In reply to: $wpdb insert problem – not inserting stringVery strange, I moved the second field to be first in the array and it works. Code now reads;
$wpdb->insert($wpdb->uam_accessgroup_to_object, array('object_type' => 'user', 'object_id' => $userID, 'group_id' => $entry['7']), array('%s', '%d'));
Forum: Plugins
In reply to: Remove 'Leave a Response' link from functions.phpAh brilliant, I forgot about the possibility of CSS for this. Thanks.
Forum: Plugins
In reply to: Remove comments in specific categoriesSolved. I removed a plugin which must have been conflicting with the function.
Forum: Hacks
In reply to: Category Lists on a PageThanks for the replies. We sorted this out last night and wrote a function using wp list categories. So by writing a shortcode on a page we now get a list of the child categories in whichever category the shortcode specifies.
Forum: Everything else WordPress
In reply to: Can I do this?Great, thanks ipstenu. I couldn’t see any settings for it so I assumed if it was possible it would be a templating thing.
There are options for this type of thing in Joomla, but thats part of the problem I have with it. It’s too easy to get messed up by an inquisative client.