Ben Huson
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Subtitle] subtitle above the titleIn your theme templates, you would need to use the
the_subtitle()function above thethe_title()function.For example:
<?php the_subtitle( '<div class="sub-title">', '</div>' ); ?> <h1 class="entry-title"><?php the_title(); ?></h1>Forum: Plugins
In reply to: [WP Subtitle] Difference from just starting the post with a sub-heading?If you wanted to customise the subtitle to appear somewhere different from your main post content, maybe you want to show only the title and subtitle on a posts category page, then this plugin allows you to add a function to your templates to show it.
Forum: Plugins
In reply to: [WP Subtitle] the_subtitle under the_titleUnfortunately, get_the_subtitle() does’t work as expected for backwards compatibility with a very early version of the plugin. It actually echoes the subtitle by default rather that returning it.
Instead try:
get_the_subtitle( '', '', '',false )See documentation here.
Forum: Plugins
In reply to: [Expire Users] Can't Import Users with ExpirationsIm not sure why it wouldn’t import first go but did on the second attempt. That seems a little odd.
It would be good to know if that happens every time you try to import new users, or wether it was a one-off or infrequent issue?
Forum: Plugins
In reply to: [WP Geo] [wpgeo_mashup] only shows latest post on world map…Have you tried
[wpgeo_mashup posts_per_page="-1" numberposts="-1"]?Forum: Plugins
In reply to: [WP Geo] How to generate a GeoRSS feedWhere a normal WordPress feed can be accessed at
http://example.com/feedSimply add “georss” to the URL:
http://example.com/feed/georssForum: Plugins
In reply to: [WP Geo] Looking for helpIt would require a custom import script to be written depending on what data you have currently and how you wanted to import it – for example, import it all as posts or a custom post type, and wether there is title, content and any other data?
Ben
Forum: Plugins
In reply to: [WP Geo] Click on icon doesn´t work in the mapHi Jens,
For some reason when I inspect the HTML of your tooltips, it appears that the tool tip test in your site is duplicated and adding an extra closing paragraph tag.
Are you filtering the tooltip text at all?
If so maybe you are echoing the tooltip text instead of returning it?Ben
@ali.dolphin Have you tried deleting the plugin and if your web hosting has any sort of caching, clearing that?
Since version 2.0, Password Protected will look for a stylesheet called
password-protected-login.cssin your active theme.If you create a stylesheet there you can included any CSS for your login screen without needing to add any PHP code.
Forum: Plugins
In reply to: [Expire Users] Expire Immediately optionHi.
I like your suggestion.
I don’t have time to work on this feature at present but have added it to the issue list as a possible enhancement. Please follow up with any further comments or suggestions related to this idea there.
Many thanks
Ben
OK, I’ve narrowed down the circumstances under which it is displayed for me.
It only shows the first time I visit the page, on subsequent refreshes it does’t show until I either clear my browser cookies, or quit and re-open my browser.
Are you using the Password Protected plugin as-it-comes, or have you copied a version of the Password Protected login template into your theme?
The link appears to display directly after the form tag where the ‘password_protected_after_login_form’ action is triggered. See line 121 of the template file:
https://github.com/benhuson/password-protected/blob/master/theme/password-protected-login.php#L121Please could you try editing the plugin file
/theme/password-protected-login.php(or the copy in your theme folder if you copied one to there). Remove the following line and see if the issue still persists:<?php do_action( 'password_protected_after_login_form' ); ?>If that fixes it then there must be some code elsewhere in your site hooking into the
password_protected_after_login_formto output that link.Hi. I’m not currently seeing that.
Have you changed anything?The plugin is built to work with cookies, the same way WordPress keeps track of logged in users.
Is there any reason cookies are blocked? They are pretty much relied upon for any kind of user management system or commerce where the site needs to ‘remember’ a user is logged in as they browse between pages.
Hi. Thank you for raising this as an issue.
I’ve added it to the plugin’s issues list on GitHub.