Advanced Text Widget
Slug (3 posts)

  1. bmcd67
    Posted 3 years ago #

    I put in slug to filter posts but seeing all posts. Does there need to be any formatting when filtering?


  2. Max Chirkov
    Plugin Author

    Posted 3 years ago #

    No formatting is necessary, unless you're entering multiple values, then simply separate them by comma (no space after it). Make sure slug is not in quotation marks and double check if the slug is correct - usually it's only the last part of the URL, not including sub-folders. For exampe: /blog/2012/11/06/my-test-post/ - so the slug would be my-test-post.

    The options "Single Post" is utilizing is_single() function - it should support slugs out of the box.

    P.S. I just double-checked on my own site and it worked as expected.

  3. bmcd67
    Posted 3 years ago #

    OK thanks. For categories does it need the category ID or slug?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Text Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.