• Resolved cyphog

    (@cyphog)


    Hi,

    Is it possible to preview sidebars with posts/pages that are still drafts and not yet published?

    I have an unpublished post that I’ve created a custom sidebar for and I’d like to see what everything looks like put together before publishing, and I don’t see any drafts listed in CAS under “Posts” to select.

    I realize I can create a post-specific tag (or something) else to trigger the sidebar in preview, but I’m wondering if there’s something cleaner, more direct, than I can use.

    Thanks!

    https://www.ads-software.com/plugins/content-aware-sidebars/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cyphog

    (@cyphog)

    Also, anyway to have a sidebar display on all content types by default (in essence, replacing the primary sidebar) without having to check all static pages, posts, pages, etc., boxes? Would love to see a one-click covers all type button.

    Thanks again!

    Plugin Author Joachim Jensen

    (@intoxstudio)

    This is a good use case I have not thought about. Currently it is not possible because you cannot select draft posts in the sidebar editor, but if you go to modules/post_type.php line 63 and change:

    'post_status' => 'publish,private,future',

    to

    'post_status' => 'publish,private,future,draft',

    it should be possible. If you try it out, let me know if it works and I will consider adding it in a future release.

    I could make some shortcut buttons, but it is definitely not a priority at the moment.

    Thread Starter cyphog

    (@cyphog)

    If you go to modules/post_type.php line 63 and change…

    This worked! The draft shows up and the CAS appeared when previewed. Thanks!

    w/r/t:

    I could make some shortcut buttons, but it is definitely not a priority at the moment.

    Are you referring to my second post asked if there’s an “all-on” choice for a sidebar instead of having to create numerous conditions?

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Yes. I try to make the plugin as compatible, modular and flexible as possible and at the same time suit all kinds of use cases, and currently, in my opinion, an “all-on” functionality does not fit into this “philosophy”. It might change in the future and I have noted the suggestion.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Previewing CAS with Draft content’ is closed to new replies.