neilgee
Forum Replies Created
-
Forum: Plugins
In reply to: [Five Star Business Profile and Schema] Add Cell NumberYes that’s it working great now – many thanks.
Forum: Plugins
In reply to: [Five Star Business Profile and Schema] Add Cell NumberHi Nate,
I tried with array_splice not not much success there (probably my skill level more than anything).
I looked at your code again, if I
var dumpyour$callbacksI can see the key and value for the new mobile pair but it’s sitting on the end of the array.I tried to recreate the array in the order I want and return that but eventhough the order is now correct it is displaying the email and map fields even when I have them not appearing, so this is not the right approach.
Forum: Plugins
In reply to: [SlickNav Mobile Menu] slicknav menu doesn't appearAny JavaScript errors in your web dev browser tools?
Forum: Plugins
In reply to: [SlickNav Mobile Menu] slicknav menu doesn't appearHave you tried #menu-mainnav
Forum: Plugins
In reply to: [SlickNav Mobile Menu] slicknav menu doesn't appearWhat is the code when it renders in the browser, so regardless of slicknav – what is your menu id or css when you inspect the element in your source code.
Forum: Plugins
In reply to: [Five Star Business Profile and Schema] Add Cell NumberHi Nate – thanks for the snippet, I replaced the existing hcbp_component_callbacks function with it but it doesn’t output the new field in any place.
Forum: Plugins
In reply to: [Five Star Business Profile and Schema] Add Cell NumberI got it to work and included my store and mobile fields – question I have now is how can i move my mobile number field to be after the main number field.
I tried to alter it via the shortcodes but the mobile gets output last
Forum: Plugins
In reply to: [Five Star Business Profile and Schema] Add Cell NumberGreat – works now – so I’ll have a go at it!
Forum: Plugins
In reply to: [SlickNav Mobile Menu] Wrong Style once moved inside PagePlugin no longer used on this site
Forum: Plugins
In reply to: [SlickNav Mobile Menu] sub-menu positioning offClosing this now
Hi – both menus need to exist in the markup of the page – short of that I would clear any caching and check for javascript errors in the dev tools of your browser. If u have a link I can take a look.
Forum: Plugins
In reply to: [WooCommerce] SyntaxError: JSON Parse error: Unrecognized token ‘Already on 2.5
Issue I have is that the original error is random, can’t reproduce at will.
Forum: Plugins
In reply to: [WooCommerce] SyntaxError: JSON Parse error: Unrecognized token ‘Tried the debugging on http://mikejolley.com/2015/11/12/debugging-unexpected-token-in-woocommerce-2-4/ but can’t get the example to error for me.
So I have
/** * Process the payment and return the result. * @param int $order_id * @return array */ public function process_payment( $order_id ) { include_once( 'includes/class-wc-gateway-paypal-request.php' ); $order = wc_get_order( $order_id ); $paypal_request = new WC_Gateway_Paypal_Request( $this ); trigger_error( 'Uh oh' ); return array( 'result' => 'success', 'redirect' => $paypal_request->get_request_url( $order, $this->testmode ) ); }But no error occurs on checkout – the file edited is /wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php
Forum: Plugins
In reply to: [SlickNav Mobile Menu] Settings doesn't saveGood to hear
Forum: Plugins
In reply to: [SlickNav Mobile Menu] Settings doesn't saveIn the migration from local to live did you use a db tool that handles serialised arrays like Duplicator or the interconnectIT script or migrate db pro – DUPLICATE POST