Paul Maloney
Forum Replies Created
-
For some reason the wrong form ID was logging to the database:
‘ur_form_id’, ’56’ was being logged when the form is actually 45. I created a new form and used that and it seemed to work.
This issue appears on all sites, 2 of the 3 have the PRO version.
I’ve done it in the way it is suggested in the guide, I’ve also done it the way I tried above. I’ve not used an admin account. I don’t even have edit profile in the nav list: https://share.getcloudapp.com/wbuvvn8Q
In fact I’m using this one three sites and none of them have the edit profile link in the navigation and all say no profile details.
- This reply was modified 1 year, 10 months ago by Paul Maloney.
Forum: Plugins
In reply to: [GEO my WP] gmw_update_post_locationI ran it in functions and it works.
The gmw_update_post_location was below the insert post, I’ve been moving things around to try and make it work.
I now have:
function gmw_update_post_type_post_location( $post_id ) { // varify that address exists. if ( empty( $postcode ) ) { return; } // verify the updater function. if ( ! function_exists( 'gmw_update_post_location' ) ) { return; } //run the udpate location function gmw_update_post_location( $post_id, $postcode ); sleep(2); }
in my functions file and used
wp_insert_post( $my_posts ); $post_id = wp_insert_post( $my_posts ); add_action( 'save_post_event', 'gmw_update_post_type_post_location' );
in the plugin file, still no luck.
- This reply was modified 2 years, 8 months ago by Paul Maloney.
Forum: Plugins
In reply to: [GEO my WP] gmw_update_post_locationI’ve also emailed you the full codebase
Forum: Plugins
In reply to: [GEO my WP] gmw_update_post_locationSure:
$my_post = array( //post info ); wp_insert_post( $my_post ); $post_id = wp_insert_post( $my_post ); gmw_update_post_location( $post_id, $postcode );
Forum: Plugins
In reply to: [GEO my WP] gmw_update_post_locationhttps://share.getcloudapp.com/kpuJkGKx – the locator works manually.
Forum: Plugins
In reply to: [GEO my WP] gmw_update_post_locationhttps://share.getcloudapp.com/NQuNEGZ4 that’s a screengrab.
Forum: Plugins
In reply to: [GEO my WP] gmw_update_post_locationThere has been no reply. I would have replied. I sent a support form and have emailed independently.
gmw_update_post_location( $post_id, $postcode ); is my issue, it doesn’t work. I’ve tried full address, a short address, lat and lon and postcode only. I’ve even tried: gmw_update_post_location( $post_id, ‘90210’ ); for example
I’ve tried it as a function and standalone. My google API is valid. It will not update the post location.
Forum: Plugins
In reply to: [GEO my WP] Custom Query Posts?Hi Eyal, I haven’t heard back. I’m holding off buying the pro and post location addon as I need to know if I can use outside of your shortcode.
Would something like:
query_posts('post_type=service&posts_per_page=4&nearby=user');
Work?
Forum: Plugins
In reply to: [GEO my WP] Custom Query Posts?Hi Eyal, Looking to do a custom query ideally. The shortcode I can’t use. It will be in a custom page template with a loop.
Forum: Plugins
In reply to: [LearnPress - WordPress LMS Plugin] How to override the template from a themeSince support have been aggressive and less than useful:
add_filter( 'learn-press/override-templates', function(){ return true; } );
Add that into your theme functions.php file
Your folder structure should be:
YOURTHEME/learnpress
Easiest way is to download the templates folder from the plugin folder, rename to “learnpress” and upload to your theme folder.
- This reply was modified 3 years, 4 months ago by Paul Maloney.
Forum: Plugins
In reply to: [WhoFramed] Support for FB embed???
Forum: Plugins
In reply to: [WhoFramed] Support for FB embed?Sorry didn’t get a notification. It will resize any iframe!
- This reply was modified 4 years ago by Paul Maloney.
Forum: Plugins
In reply to: [WP Job Manager] Continue Submission / DeleteDoesn’t matter.