• Resolved mmswp2015

    (@mmswp2015)


    Hello – we are able to differentially display widgets by individual page, categories and the post type (meaning the widget displays on all content using the post type). The individual pages, categories and the general post type is visible within the widget config.

    We want to display widgets on individual posts. Our posts do not display in the config, as do the individual pages. So we’ve tried this method and it has not worked. Can you help? Thanks.

    1) From Appearance > Widgets, select widget to display
    2) Click consolidated Class, ID & Logic Tab
    3) Click Logic Tab
    4) Enter this code in text field: is_single(array(’948’, ’900’, ’899’))

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mmswp2015

    (@mmswp2015)

    The syntax from the WordPress document linked within the plugin also does not work.

    Here’s the doc, https://codex.www.ads-software.com/Conditional_Tags.

    Here’s the conditional tag we’re using:
    is_single( array( 207, 934, 224, 230, 227 ) )

    Thread Starter mmswp2015

    (@mmswp2015)

    This issue is solved.

    Our developer used the wrong widget type and that’s why it wasn’t working. He put html code in a “text” widget. Things worked fine once I placed the html in a “custom HTML” widget.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display widget on individual posts’ is closed to new replies.