I haven’t tried this plugin but it purports to give you the ability to use shortcodes inside WP comments. Maybe try this out and see if it works for you.
https://wordpress.org/plugins/shortcodes-anywhere/
Looks like that ShortCodes-Anywhere works with eyesonly!
One issue that I am having however.
So I have this block of code in a widget that displays links:
<ul>
[eyesonly logged="in" hide="yes" pp_group="11"]
<li><a target="_blank" href="http://ramsreports.cfins.com/">Claims Assure Loss Runs</a></li>
<li><a target="_blank" href="http://claimsassurecluster.cfins.com:8080/loginapplication/LoginPage.jsp">Claims Assure Production</a></li>
<li><a target="_blank" href="https://ciaapp.cfins.com/">Claims Information Access</a></li>
<li><a target="_blank" href="http://ssrs.cfins.com/Reports/Pages/Folder.aspx?ItemPath=/Claims+Assure&ViewMode=List">Claim Reports</a></li>
<li><a target="_blank" href="http://ssrs.cfins.com/Reports/Pages/Report.aspx?ItemPath=/Claims+Assure/Workload/Claim+Workload+Report">Claims Workload Report</a></li>
[/eyesonly]
[eyesonly logged="in" pp_group="11"]
<li><a target="_blank" href="http://jromemord2.cfins.com/">Risk Management Tool</a></li>
[/eyesonly]
[eyesonly logged="in" hide="yes" pp_group="11"]
<li><a target="_blank" href="http://vtech.crawco.com/">Vehicle Damage Appraisal</a></li>
[/eyesonly]
</ul>
I have one user that is in the PP-Group 11 and he sees the one link he is supposed to see with everything else hidden. TERRIFFIC!!!
The issue I am having is that other users are also only seeing the one link. I am not familiar with the nesting of groups in the eyesOnly tags so maybe if i had an example of how I should tag this scenario that would be terrific.
Basically, I am trying to allow some users access to a link while hiding that same link from everyone else (and vice/versa).
I also don’t have access to the meta creator in the widget text area so i have to go out to a page edit to generate the code.
Thanks for this terrific tool though, really loving the possibilities here.
Best,
P
Doing “logged=in” with “hide=yes” means you are hiding stuff from everyone who is logged in.
Try this:
<ul>
[eyesonly logged="out" pp_group="11" hide="yes"]
<li><a target="_blank" href="http://ramsreports.cfins.com/">Claims Assure Loss Runs</a></li>
<li><a target="_blank" href="http://claimsassurecluster.cfins.com:8080/loginapplication/LoginPage.jsp">Claims Assure Production</a></li>
<li><a target="_blank" href="https://ciaapp.cfins.com/">Claims Information Access</a></li>
<li><a target="_blank" href="http://ssrs.cfins.com/Reports/Pages/Folder.aspx?ItemPath=/Claims+Assure&ViewMode=List">Claim Reports</a></li>
<li><a target="_blank" href="http://ssrs.cfins.com/Reports/Pages/Report.aspx?ItemPath=/Claims+Assure/Workload/Claim+Workload+Report">Claims Workload Report</a></li>
<li><a target="_blank" href="http://jromemord2.cfins.com/">Risk Management Tool</a></li>
<li><a target="_blank" href="http://vtech.crawco.com/">Vehicle Damage Appraisal</a></li>
[/eyesonly]
[eyesonly pp_group="11"]
<li><a target="_blank" href="http://jromemord2.cfins.com/">Risk Management Tool</a></li>
[/eyesonly]
</ul>