[resolved] WYSIWYG editing of sidebar content, specific to page (3 posts)

  1. Andrew White
    Posted 3 years ago #

    I have been given a design that requires sidebar content be:

    • different on most pages, with a fallback sidebar
    • WYSIWYG editable
    • able to display shortcodes
    • able to accept file uploads

    My plan is to do this via Advanced Custom Fields. Before I implement it like that, is there a better way that wouldn't require plugins?


  2. paulwpxp
    Font hero
    Posted 3 years ago #

    My first thought is these two together.

    WYSIWYG Widgets

    Widget Logic

    Or just one

    Secondary HTML Content

    My second thought while looking the 4 bullet lists above ? That's what the default standard post/page content already does.

    If you need special side content like that, you can just wrap that portion of content in a <div> or create a shortcode that will simply return the <div> and style it to look like sidebar.

  3. Andrew White
    Posted 3 years ago #

    Thanks very much, Paul! I had considered splitting the content as you describe at the end of your post, but I felt that put too much on the editor, particularly since I think my client's client may not be terribly tech-savvy.

    Secondary HTML Content looks like it will do exactly what I need.

    Thanks very much!

Topic Closed

This topic has been closed to new replies.

About this Topic