[Plugin: Widget Logic] Parse error
-
I added a text widget that I only wanted to appear for material in the subcategory NARS which is category 8. I put the following into the Widget logic box:
is_category(‘NARS’) || (is_single() && in_category(‘NARS’)
The widget only appeared on the home page (although the other displays were being handled by the ‘The Event Calendar’ plugin.
Thinking it was a theme problem I clicked to preview the site in the default theme and saw this where the widget would go:
Parse error: syntax error, unexpected ‘;’ in /usr/local/4admin/apache/vhosts/bmwra.org/httpdocs/wp/wp-content/plugins/widget-logic/widget_logic.php(161) : eval()’d code on line 1
Any ideas what is wrong?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘[Plugin: Widget Logic] Parse error’ is closed to new replies.