gailwingate1
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Custom CSS and JS] Java script to restrict contentHi Diana, thank you so much for providing this and fixing my code. I really appreciate it. I’ve installed the plugin you suggested and am working with it now.
Gail
Forum: Plugins
In reply to: [Frontier Post] Feature request?Hi, I just tried that and nothing changed, except for the changes by removing the shortcodes. The widget still shows the funny icons.
I do have a development environment to which I’m the only with access. There is nothing too private on it. I can give you admin and/or author access to it if you’d like. Just let me know.
Forum: Fixing WordPress
In reply to: Content available by searchingHi, thank you for your response. We can’t set that parameter from the front-end post creator plugin that I’m using. So someone suggested I run the following php function code but I’m not sure how to call the code so that it will run every time any url on our website function from a search engine.
redirect_from_search_engines() { $url = parse_url( $_SERVER['HTTP_REFERER'] ); $sites = array( 'google', 'yahoo', 'bing' ); foreach( $sites as $site ) { if ( ! stristr( $url['host'], $site ) ) continue; $terms = get_the_terms( get_the_ID(), 'role' ); if ( (! is_user_logged_in()) and ( ! is_array( $terms ) || ! in_array( 'general-public', $terms ) ) ) continue; wp-redirect('https://www.mders.org/my-membership-options'); } } add_action( 'wp', 'redirect_from_search_engines' );
Does that make sense?
Forum: Plugins
In reply to: [Frontier Post] Feature request?Okay, I just installed it and I found the following:
1. On the My Posts widget I noticed on Chrome the icons are not being displayed, just the little icon place holders (I’m not sure what those things are called). In Firefox no icons are there, not even the place holders.
2. If I click on the Delete icon from the My Posts widget I do not get the delete text asking the user to proceed with the delete.
3. On the Frontier Post form, when I click on the Delete button, I get the delete message, but there is no place for the user to confirm or cancel the delete. Is there a way to have that also?
4. On the Frontier Post form, when I click on the Delete button, the form display of the post is compromised. Only the form content is displayed, all other data disappears, and the content is enlarged in a funny way. Does that make sense?I hope that helps. Thank you so much for this!
Forum: Fixing WordPress
In reply to: Content available by searchingHi, this won’t work for us because of the way our content is loaded, or posts are created. The authors, editors cannot be responsible for entering shortcodes to determine what is viewable. This must be a behind-the-scenes process.
Part of the issue is that our content restrictions are also set via a custom taxonomy which is fine when using the WordPress search capability. But when someone comes to our site from a search engine such as Google, I need the system to somehow find the post with that title, and see what the custom taxonomy values are, and depending upon those values either display the content or take the user to our members login page.
I’ve spent almost a week searching through the plugins and there is nothing that I can find that will do this. And I don’t know Javascript. Surely I’m not the only one that has this problem?
I’m really hoping someone can help me with this.
Regards,
GailForum: Plugins
In reply to: [Custom Content Shortcode] To link or not to linkHi! Well it worked great! Wow, thank you.
There is still one more problem I’m having, however. The [else] clause isn’t working for me. I have the following:
‘
[is logout]
[loop type=post count=5]
[for each=category]
[if each=front-page-news and taxonomy=role term=general-public]
[field title-link] ([field date])[br]
[if each=front-page-news and taxonomy=role term=general-public compare=not]
[link name=my-membership-options][field title][/link] ([field date])[br]
[/if]
[/if]
[/for]
[/loop]
[/is]
‘
This works, but the content isn’t ordered according to latest date. All of the posts for the 1st IF are displayed, then all of the posts from the 2nd IFs are displayed. They should be merged together and ordered by date which would happen if I could use the ELSE clause. What is the problem?Thank you again for all of your help!
Forum: Plugins
In reply to: [Custom Content Shortcode] To link or not to linkHi! Just checking to see if you had a chance to review this? Any help is much appreciated.
Thank you!
GailForum: Plugins
In reply to: [Frontier Post] Feature request?Thank you! The Delete link on the My Posts widget is great. Here’s some feedback from my testing:
The delete link shows up when when the form is blank, however, when I click on the edit link in the My Posts widget and the post displays in the form, there is no delete button.
As for the look of the delete button, I like that it’s red, but I would still have a box around it; assuming that your plugin is creating the box and not my theme. The red text is enough of a highlight.
I think the delete button should do the save. Otherwise there needs to be some sort of restore button, and possibly changes to the widgets that allow authors and editors to see deleted posts that haven’t been saved, etc. For example, I could see my authors deleting and then forgetting to save or thinking they’ll come back to it later. Thus my editor has to keep track of these deleted but not saved posts, and then remind them to finish the process. I could see this getting rather confusing for the both the authors and the editors. I think it might be more helpful if when they click on the delete button they get a message that says something like “This action is permanent. Do you want to continue? Yes No” They can click on Yes to continue or No to stop the process. Does that make sense?
What do you think?
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] Can your plugin do this?Hi!
Thank you for getting back to me so quickly. I can use your plugin to help protect my pages, but it’s the posts that become a problem. Since our authors are not creating posts through the WP-Admin, they do not have the ability to set the nofollow attribute. All they do is set the value of a custom taxonomy which determines the level of viewing restrictions on the the post they are creating. But these viewing restrictions only apply when users are at the website. These viewing restrictions don’t apply when the links show in the results of a search from Google or Bing or Yahoo. That’s why I need some way to to be able to globally set the nofollow or noindex values for all posts that are given a certain category value or a certain custom taxonomy value.
So, if the author creates a new post and sets the custom taxonomy value to “subscriber,” then I’d like the post to automatically be set to nofollow. Does that make sense?
Thank you!
GailForum: Plugins
In reply to: [Custom Content Shortcode] To link or not to linkHi, the [if each=front-page-news and taxonomy=role term=general-public] was always working. What I can’t get to work is
[if each=front-page-news and taxonomy=role term=general-public compare=not]This second statement needs to find those posts where the term=general-public is not found. Then I must display the title of these posts but with the titles linking to my-membership-options.
Regarding the following statement:
…Different title…
Is there some way to have the “Different title” actually be the title of the post?Forum: Plugins
In reply to: [Custom Content Shortcode] To link or not to linkOkay, I think I’ve narrowed down the problem. I simplified the code to the following and it seems to work.
[is logout]
[loop type=post count=5]
[for each=category]
[if each=front-page-news and taxonomy=role term=general-public]
[field title-link] ([field date])[br]
[/if]
[/for]
[/loop]
[/is]However, when I include the [ELSE] condition to check if term does not include the value of general-public then it doesn’t work. Nothing is displayed. As in the following:
[is logout]
[loop type=post count=5]
[for each=category]
[if each=front-page-news and taxonomy=role term=general-public]
[field title-link] ([field date])[br]
[else]
[field title]
[/if]
[/for]
[/loop]
[/is]I then added a second IF statement with the compare=not option and I’m getting the same post displayed in both IF conditions, except the second one has no link. There should be different posts displayed as a result of the second IF statement.
[is logout]
[loop type=post count=5]
[for each=category]
[if each=front-page-news and taxonomy=role term=general-public]
[field title-link] ([field date])[br]
[/if]
[if each=front-page-news and taxonomy=role term=general-public compare=not]
[field title][br]
[/if]
[/for]
[/loop]
[/is]Also, when I use [field title-link name=my-membership-options], I get the text “My Membership Options” instead of the post title with that links to My Membership Options.
Forum: Plugins
In reply to: [Frontier Post] A continuation of the Edit problem?It works! You are amazing! Thank you so very much!!! I will mark this as resolved.
Again, thank you for all of your help!
GailForum: Plugins
In reply to: [Custom Content Shortcode] To link or not to linkHi,
So this is what I changed the code to:
[is logout][loop type=post count=5] [if taxonomy=category term=front-page-news relation=and taxonomy_2=role term_2=general-public compare_2=not][field title], [field date][br][else][field title-link name=my-membership-options], [field date][br][/if] [/loop][/is]But it’s still not working. Nothing is showing up.
Also, regarding the title-link, if the user doesn’t have access to that content then I don’t want to display a link to our membership page next to the title, I want the user to be taken to the membership page if they click on the title itself. Does that make sense. Ideally, I’d also like to change the color of that link so that I could notate on the page that, for example, the blue links take you to the content, but the red links take you to our membership page to login.
Thank you!
GailForum: Plugins
In reply to: [Frontier Post] A continuation of the Edit problem?Hi, I wasn’t able to get it working. I uploaded it to my server and extracted the files to frontier-post plugin folder, but I’m not seeing a change in the widget when I go back into Widgets and add the Frontier My Posts widget it not showing an option to add the edit icon.
Did I do something wrong on the install?
Thank you!
Forum: Plugins
In reply to: [Frontier Post] A continuation of the Edit problem?Ahhh, an interesting thing has happened.
I have the checked the box for the option “Show icons instead of text for edit/delete/view in list.” But I also have included the mode=”add” in the shortcode. I did this because then the form is displayed in a manner that looks better with my theme (Nirvana). I can send you images of the form with and without the mode=add if you’d like, so you can see the difference.When I removed the mode=”add” from the shortcode, I see a list of the persons posts, with the icons. Then when I click on the Edit icon, it works.
Is there some way to include the icons in the Frontier My Posts widget?
Thank you!