[Plugin: WordPress Navigation List Plugin NAVT] php in before/after?
-
I want to be able to show/hide nav sub-items (one level down) if the user is logged in (or not logged in).
I was hoping to be able to put this in the “Insert before item” box:
<?php if ($user_ID != ”) { ?>and this in the “Insert after item” box:
<?php } ?>but the PHP isn’t getting read … it’s just showing up in the HTML as PHP. I do have PHP exec plugin installed so I thought that the PHP would be interpreted …
Any advice or guidance on this would be much appreciated.
Laura S.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘[Plugin: WordPress Navigation List Plugin NAVT] php in before/after?’ is closed to new replies.