Welcome to PressWork!

Want to ask a question or join the discussion? Great! Join now.

In this Discussion

Conditional sidebar loading in Presswork
  • Hey! I've set up the homepage with 2 sidebars via the drag 'n drop system. For most of the interior pages, though, I'd like to only have the first sidebar appear, but the 2nd sidebar to not appear. Is there a way to conditionally load the sidebars with wordpress conditionals? Thanks!
  • Any thoughts? Thanks!
  • The easiest way would be with CSS. Set the sidebar to display: none and then increase the width of the other elements so they end up fitting into the width of the site.
    image Senior Developer & Co-Founder of PressWork