Ben Huson
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Geo] WP Geo KML Layer Using Google Maps V3 APITry something like this in your functions.php file:
function my_wpgeo_map_js_preoverlays( $output, $map_id ) { // May Map KML $output .= "var myMapKML = new google.maps.KmlLayer( { url: 'http://kml-samples.googlecode.com/svn/trunk/kml/Model/ResourceMap/macky-alt.kml' } ); myMapKML.setMap(" . $map_id . "); "; return $output; } add_filter( 'wpgeo_map_js_preoverlays', 'my_wpgeo_map_js_preoverlays', 10, 2 );Forum: Plugins
In reply to: [WP Geo] WP Geo KML Layer Using Google Maps V3 APIThank you for your support.
I’ll take a look and see if I can provide a working example to help.Ben
Forum: Plugins
In reply to: [Expire Users] Alternative admin email addressI have made these adjustments to the plugin which will allow you to use a filter to override the admin email address.
I will add it to the next release of the plugin.
In the meantime you can download the updated version here.To change the admin email add something like this to your theme’s functions.php file
function my_expire_users_admin_email( $email ) { return '[email protected]'; } add_filter( 'expire_users_admin_email', 'my_expire_users_admin_email' );Forum: Plugins
In reply to: [WP Subtitle] Not showing words inside quotation marks in adminThanks for spotting this issue.
I have created a fix for this issue.
It will be in the next release of the plugin.
Ben
Forum: Plugins
In reply to: [List Pages Shortcode] Short code informationHi, yes it’s the 3 shortcodes listed on the plugin description page:
- [list-pages]
- [sibling-pages]
- [child-pages]
Hopefully all the information on that page should be enough to get started?
Is there something specific you are having difficulty with?
Forum: Plugins
In reply to: [List Pages Shortcode] List by category?Hi, I think you might be better off posting in the forum for that specific plugin.
Forum: Plugins
In reply to: [Expire Users] Theme My Login CompatiblityI have written a fix for this which I’ll include in the next release of the plugin.
It basically removes the reliance on the wp_dropdown_roles() function which is only available when in the admin.
Sorry this plugin doesn’t work on WP Engine hosting due to their caching implementation.
See the message on the plugin page.Forum: Plugins
In reply to: [WP Geo] Only backend (don't load JS in front end)That should catch most stuff I think.
Very strange.
Do you have a link to the site so I can investigate?Today’s release was to update a few other features and fixes that have been hanging around for a while.
I’ll take a look at changing the default cookie duration as another minor release, soon.
Please ensure that both Login Logo and Password Protected plugins are upgraded to their most recent version and it should be fine.
Password Protected was updated to 1.7.1 to support changes to the WordPress 3.9.1 login screen
Yes, the plugin sets a cookie which is valid for 2 days.
I’m thinking of swapping this to just be for a single session by default with the filter to adjust it.@piazawa Sorry, just saw you posted as a new topic too 🙂
@piazawa Please post new questions as a new topic.
Yes, the plugin sets a cookie which is valid for 2 days.
I’m think of swapping this to just be for a single session by default.