Ben Huson
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Geo] My markers do not link to the postsThey should like by default.
Do you have a link where I can see this happening?Forum: Plugins
In reply to: [WP Geo] Display of "events" with filtering optionIt will depend on how you build the events side of things…
The WP Geo [
wpgeo_map()](https://github.com/benhuson/WP-Geo/wiki/wpgeo_map) function allows you to show a map based on a query similar to the [get_posts()](http://codex.ww.wp.xz.cn/Template_Tags/get_posts) function.So if you can create the queries to show the right event posts, you should be able to use the same query to show them on a map too.
Forum: Plugins
In reply to: [WP Geo] My theme social links doesn´t work correct with wpgeoThanks Jens,
That helped me tracked down the issue.
The widget maps were overwriting the global $post variable which was causing the current page permalink to be incorrect when used further down the page.The fix will be in the next release of the plugin.
You can apply it manually if you like – just change the references from
$postto$geo_postin the WP Geo pluginwidgets/wpgeo-widget.phpfile as detailed in the link to the fix above.Ben
Forum: Plugins
In reply to: [WP Geo] Overview map with all waypoints scaling is not workingI think it’s repeating as is scaling down to try to fit all the markers in vertically.
Try specifying a height on the map:
[wpgeo_mashup height=”500″ /]
Forum: Plugins
In reply to: [WP Geo] My theme social links doesn´t work correct with wpgeoAre you using a plugin for those social links?
Please let me know which one so I can test.Forum: Plugins
In reply to: [WP Geo] Overview map with all waypoints scaling is not workingHave you tried using the
[wpgeo_mashup /]shortcode in your content?I have it working with WPML with languages based on folder structure – seems to work OK although I only really use the title, meta description and sitemap functionality.
Best think to do is try it on a development/test version of your site first to see.
Forum: Plugins
In reply to: [Show Dimensions in Library] Incorrect Sizes DisplayedThanks, the size issue is resolved.
Ordering not quite working as expected – I’ll post a separate issue.
Forum: Plugins
In reply to: [WP Subtitle] Possible bug: spacing in titlesI cannot recreate that issue.
Have you managed to make it work since posting this question?
Forum: Plugins
In reply to: [WP Subtitle] How to Add Subtitle to Blog Page ExcerptsIt will depend on how your theme is built.
Refer to the WordPress Template Hierarchy to figure out which template you may need to edit.
Forum: Plugins
In reply to: [WP Subtitle] CSS styleThis plugin does not output the subtitle by default, you have to add it via your theme templates. For example:
<?php the_subtitle( '<h2>', '</h2>' ); ?>If you wanted to style this different from other
<h2>tags via CSS you could add a CSS class to the tag and add styling to your theme’s stylseheet:<?php the_subtitle( '<h2 class="subtitle">', '</h2>' ); ?>Forum: Fixing WordPress
In reply to: Using pre_get_posts Breaks PaginationEither that, or use cookies to store the value of ‘pxjn_search_form_used’ but that could get messy and confusing.
Forum: Fixing WordPress
In reply to: Using pre_get_posts Breaks PaginationYour pre_get_posts won’t be working on the second page because of this:
if( $_POST[ 'pxjn_search_form_used' ] != 'yes' ) return;The ‘pxjn_search_form_used’ will not be posted when clicking to the next page.
You’ll probably need to filter the pagination URLs (not sure which filter you’ll need for that off the top of my head) and append the ‘pxjn_search_form_used’ query parameter to the link URL using add_query_arg() and change the $_POST above to use $_REQUEST.
Forum: Plugins
In reply to: [Expire Users] Add expiration date to user creation admin templateYep, you can use the “Download Zip” option on the right.
Remember to make a backup of the existing expire-users plugin folder in case you need to roll back to it for any reason!
Forum: Plugins
In reply to: [Expire Users] Add expiration date to user creation admin template@matthewhearne Fields now added to the new user screen which will be in the next release (in the meantime, you can download here if you want to try it).