Support » Plugin: Advanced Text Widget » Trying to get widget to show on a custom post type

Viewing 1 replies (of 1 total)
  • Plugin Author Max Chirkov

    (@maxchirkov)

    Hi there,

    the is_single() only checks post slug, post ID or post title – not the “type” of the post.

    For the post type use this:

    'new-story' == get_post_type()

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Trying to get widget to show on a custom post type’ is closed to new replies.