Ben Huson
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Subtitle] No place to write subtitles on posts created with GutenbergAlso note that the Gutenberg Subheading block is now removed/deprecated:
https://github.com/WordPress/gutenberg/issues/8234#issuecomment-416255262
Forum: Plugins
In reply to: [WP Subtitle] First paragraph to subtitle via custom field for old postsThe plugin provides a
wps_subtitlefilter to adjust the value of the subtitle for display.You should be able to use like this to output a custom subtitle if none set.
The$postis a post object which you can use to get the post content or excerpt etc. Here’s a rough framework of how to filter the subtitle output:`
function my_wps_subtitle( $subtitle, $post ) {if ( empty( $subtitle ) ) {
$subtitle = ‘your custom subtitle if none set’;
}return $subtitle;
}
add_filter( ‘wps_subtitle’, ‘my_wps_subtitle’, 10, 2 );
`Forum: Plugins
In reply to: [WP Subtitle] subtitle does not displaySubtitles are not automatically added to your pages. You need to add in code to your theme templates where you would like the subtitle to appear:
<?php the_subtitle( '<p class="subtitle">', '</p>' ); ?>Please see the documentation for more information.
Forum: Plugins
In reply to: [WP Subtitle] No place to write subtitles on posts created with GutenbergThe next release of the plugin will at least allow the subtitle to be editing in Gutenberg via a metabox before deciding the best implementation as a Gutenberg blog.
Forum: Plugins
In reply to: [WP Subtitle] No place to write subtitles on posts created with GutenbergYou’re right, it would possibly be better to have a custom block.
I have already made some steps towards the development of this but am hesitant to release anything so far without working out a proper roadmap for Gutenberg support and backwards compatibility until Gutenberg is closer to being merged.
For example, for legacy data I don’t believe I can easily force any existing posts to show subtitle blocks if the subtitle is already set etc.
Forum: Plugins
In reply to: [WP Subtitle] No place to write subtitles on posts created with GutenbergI could update the plugin so that if a subheading block is added via Gutenberg, the plugin will use the subheading block if trying to display a subtitle on archives etc.
Would that make sense?
@yorman I see some plugins that include a checkbox in the settings that you check if you want to delete all data when the plugin it deactivated. It’s certainly useful having a cleanup function, but maybe only running it when the user opts in (or out) could be an option?
Please try version 2.2.2 and let me know if this fixes the issue.
If not, please enable the REST API checkbox in the Password Protected settings and let me know if that works.
Thanks
Ben
Please try version 2.2.2 and let me know if this fixes the issue.
If not, please enable the REST API checkbox in the Password Protected settings and let me know if that works.
Thanks
Ben
Now in 2.2.2
Ben
No, there is no option for this at present.
Ben
Please try the recent 2.2.2 version
If this still does not work, please try checking the Password Protected setting to allow REST access.
Please let me know if this works (or not).
Thanks
Ben
Good point, green may be a better colour.
I’ll change it in the next release.Ben
The plugin saves a cookie called:
bid_1_password_protected_auth
(where “1” is a numeric indicator of the blog ID in a multisite install)The cookie contains a hash of the password used to login. As the password is not associated to an individual user it contains no personal identifying data so from that point of view should be fine regarding GDPR I believe?
By default the cookie expires at the end of the session, or if “Remember me ” is selected after the amount of time set in the Password Protected admin settings. Note that both these expiration times can be changed using WordPress filter
password_protected_auth_cookie_expirationso these may be altered from the default values.The Regenerate Thumbnails plugin has been rebuilt using the REST API.
You may currently need to enable the REST API checkbox in the Password Protected settings for this to work although this may mean that the public REST API calls are not blocked by Password Protected.