mikelynn
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Geocode Filter] State Code is showing numerical valuedilemma,
I see what you mean now. I can’t get an alpha state code from Maxmind… I’ll need to work on this – I will put it on the list.
Mike
Forum: Plugins
In reply to: [WP Geocode Filter] Database questionsUnfortunately, we’re at the mercy of Maxmind for accuracy. I can only suggest the PRO version of Maxmind – which is also a DAT file.
Or, you could leverage a different approach and use a browser-based approach to getting user location. I don’t know of any plugins that use this approach, however.
Forum: Plugins
In reply to: [WP Geocode Filter] Conditional menus in wp header?This approach absolutely works in the latest version of wpgeocode. I am leveraging the following code in the header at https://www.wpgeocode.com
<center>Proudly developed in Philadelphia for users in <?php echo do_shortcode(‘[wpgc_city]’); echo ‘, ‘ . do_shortcode(‘[wpgc_state_code]’) .’ ‘. do_shortcode(‘[wpgc_country_code]’);?></center>
Not sure about the navmenu – but do_shortcode definitely works in themes.
Not abandoned… still supported.
Forum: Plugins
In reply to: [WP Geocode Filter] Sadly, seems brokenLindseyRae,
You can use <?php echo do_shortcode(‘[my-shortcode]’); ?> to insert a shortcode into your theme’s header. Let me know if you need more information on this.
Regards,
MikeForum: Plugins
In reply to: [WP Geocode Filter] State Code is showing numerical valueCan you give more information… where are you experiencing this… i.e. what state are you expecting… and what is the numeric digit?
Forum: Plugins
In reply to: [WP Geocode Filter] Works perfect for me on WP 3.9.2Thanks for the feedback and for the information about Maxmind – you are correct.
Forum: Plugins
In reply to: [WP Geocode Filter] Filter for Barcelona1. Your syntax looks correct. I would test using the [wpgc_city] shortcode in a test post… if you’re in Barcelona you should see that.
If not, however, you’ll need to figure out some way to test.
Testing is tricky with this plugin – because it doesn’t use your browser to get your location – it leverages your IP Address – so the only way to test is to use an IP Address that Maxmind believes to be in that area.
2. You can use the following syntax in php with a wpgc shortcode:
<?php echo do_shortcode(‘[wpgc_is_city city=”Barcelona”]’); ?>Forum: Plugins
In reply to: [WP Geocode Filter] Sadly, seems brokenGetting ready to release 1.0.13 – looking for testers:
https://github.com/mrlynn/wpgeocodeForum: Plugins
In reply to: [WP Geocode Filter] Sadly, seems brokenHey folks… apologies for the radio silence.
I’ve been distracted making a living ??I’m reviving the site (wpgeocode.com) and should have that back up today.
I’ve updated the database (GeoLite City) and initial testing on WP 4 looks good. I’d really appreciate any volunteers to do some additional testing before I release… comment here if and I’ll reach out via email with a pre-release version of 1.1.13.
I greatly appreciate any additional comments, feedback and suggestions for additional features. I don’t have tons of time – but I’m committed to ongoing support.
Stay well,
MikeMy WP-Geocode plugin does example what you’re looking to do. My plugin has conditional shortcodes to let you offer different content to different readers based on their location… check it out… https://www.ads-software.com/extend/plugins/wpgeocode/
Forum: Plugins
In reply to: [WP Geocode Filter] [Plugin: WP Geocode Filter] Display Content by GeoIf you would like to see wpgeocode extended to support shortcodes for postal code – I can do that… should take me about 5 minutes or so… hang tight…
Not sure how accurate it will be but I’m interested in your feedback. I’m also interested in whether the premium maxmind database would provide more accurate results. Perhaps that could be offered as a premium plugin… if it offers greater accuracy… just a thought.
Should have version 1.0.7 up in about 2 minutes… this will have postal_code support
[wpgc_postal_code],[wpgc_is_postal_code],[wpgc_is_not_postal_code postal_code=”12342″],[wpgc_is_postal_code postal_code=”12322″],[wpgc_is_not_postal_codes postal_codes=”19232,12323″]
Forum: Plugins
In reply to: [WP Geocode Filter] [Plugin: WP Geocode Filter] Display Content by GeoWell – you could accomplish by setting up conditional content blocks leveraging wpgeocode’s conditional shortcodes. To accomplish your specific example, you could set something up like this:
[wpgc_is_country_names country_names=”United States,Canada”]
Dial 1-800-xxx-xxxx for more information in US and CA
[/wpgc_is_country_names][wpgc_is_country_names country_names=”United Kingdom”]
Dial +1 44 080 xxxx xxxx for more information in United Kingdom
[/wpgc_is_country_names]etc…
When a user visits the page or post from US or CA, it will display Dial 1-800-xxx-xxxx for more information in US and CA.
Let me know if that works and how you make out with your project.
Forum: Plugins
In reply to: [Graceful Sidebar Plugin] [Plugin: Graceful Sidebar Plugin] Lost all sidebarsDefinitely not cool or graceful and I apologize sincerely for the problems you have experienced.
No excuses – just dumb, insufficiently tested code… sorry guys and gals.
I have solved the problem and updated the plugin to version 1.0.14.
Regards,
MikePete,
Thanks for your comments.
You’ve hit on a really great enhancement request… multi-widget support. I definitely want to incorporate this capability in an upcoming release… and I’m thinking it won’t be that difficult.
Stay tuned! Thanks again.
Regards,
Mike
https://www.mlynn.org/