Nate Reist
Forum Replies Created
-
I do not know the best way to implement that, this plugin is meant only to log you out of a single protected page.
Forum: Plugins
In reply to: [Protected Posts Logout Button] Add button to the top of post or page?You should be able to use the template tags to put it where you want.
Forum: Plugins
In reply to: [Protected Posts Logout Button] Pressing logout, doesn't.Is it not logging you out of the protected post or not logging you out of WordPress altogether?
I will look into applying that fix to a new version of the plugin!
Forum: Plugins
In reply to: [Protected Posts Logout Button] Button CSS classHey namster2k,
It looks like that conflict comes from a default class
button
inside your themes stylesheet ( virtue ) that sets the color of.button
to color:#444;
If you have a way to safely add css to you site you could overwrite that with this:
input[type="button"].button.logout{ color:#fff !important; }
A good way to safely add css to your theme is with jetpack’s custom css plugin
Hope this helps
Gahapati,
Sorry to hear you are experiencing issues with the plugin.
Couple questions:
Have you tested it with a different theme?
Have you tried deactivating other plugins in the site to see if there is a conflict?It may conflict with themes or plugins.
Could you provide a url where you are experiencing the issue?
Forum: Plugins
In reply to: [Protected Posts Logout Button] Redirect after log outSorry for the delay in this.
For number 1, short answer is no, that is not something the plugin is currently capable of.
For number 2, it sounds like your plugin is not functioning properly. This could be due to conflicts with other plugins, themes or things like a javascript error.
Have you testing with another theme?
Do you have a url to the page where you are experiencing this?Forum: Plugins
In reply to: [Protected Posts Logout Button] Button CSS classYou would enter the css class associated with the button styles from your stylesheet. There are several ways to determine this, but you may want to consider using your browser’s web inspector: https://kb.oboxthemes.com/articles/how-to-get-css-styles-for-elements/
Or reading through your themes stylesheet. If you have have a web url to the page in question please don’t hesitate to send it to me.
If you have any issue with this please let me know
Forum: Plugins
In reply to: [Protected Posts Logout Button] Logout button not working JS in footerHey AJ, the latest release of this plugin has this change applied to it. Thanks for pointing that out.
-Nate
Hey Frank,
I will add that condition to the new release!
Are there any Javascript errors in the Javascript console?
Are you using a custom theme? or a default WordPress theme?
Can you send a link?
Forum: Plugins
In reply to: [Protected Posts Logout Button] Not the beginning but at the endmske,
Yes you can, but you need to use the shortcode or the php function and then disable the Automatically add button to protected pages: option in the settings page.
Hey Greg,
Sorry for the super delayed response. So you can still see the protected content? or the you are still logged into wordpress?
Nate
Forum: Hacks
In reply to: WP_Query and paging problemI guess the get_adjacent_post link will only get the adjacent one to the loaded post by the initial WP_Query.
It looks as though you will need a more customized solution to pull the four after the current post.
You could do something like getting the date of the current post, then run a new query to get posts after that date, see this post on stackoverflow. Here is a link to the WP_Query time parameters
If you are just trying to get the most recent posts, you might check out this function: wp_get_recent_posts