• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Need help with Portfolio pages/Widget Logic

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Need help with Portfolio pages/Widget Logic

This topic is: not resolved

Tagged: I

  • This topic has 1 reply, 1 voice, and was last updated 13 years, 4 months ago by jenniferpinkley.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 20, 2013 at 11:43 am #29736
    jenniferpinkley
    Participant

    I'm migrating my site (with the Lifestyle theme) to a new host and I'm recreating my Portfolio pages. I have five of them, and I used to use Widget Logic to make sure that each Portfolio page only displayed posts associated with a specific category tag. I used to add is_page('Gallery') or whatever to the Widget Logic field in each Portfolio setup section and that worked great. Now I'm having problems. When I activate Widget Logic, I get all kinds of crazy errors all over my site. The entire top of the page is covered with this error:

    Parse error: syntax error, unexpected '"' in /home/halsey/public_html/swirlingstone.com/wp-content/plugins/widget-logic/widget_logic.php(284) : eval()'d code on line 1
    Parse error: syntax error, unexpected '"' in /home/XYZ/wp-content/plugins/widget-logic/widget_logic.php(284) : eval()'d code on line 1
    Parse error: syntax error, unexpected '"' in /home/XYZ/wp-content/plugins/widget-logic/widget_logic.php(284) : eval()'d code on line 1
    Parse error: syntax error, unexpected '"' in /home/XYZ/wp-content/plugins/widget-logic/widget_logic.php(284) : eval()'d code on line 1
    class="page page-id-15 page-template page-template-page-portfolio-php logged-in admin-bar no-customize-support header-full-width header-image full-width-content">

    Does anyone know how to make Widget Logic work? If not, what else can I use to get my portfolio pages working correctly?

    March 20, 2013 at 12:07 pm #29741
    jenniferpinkley
    Participant

    Nevermind, I figured out the problem. If anyone else has this same problem, I found that one of my tags in the is_page('Page') section had a double quote ( " ) instead of a single quote mark ( ' ). I fixed that and the error disappeared.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble