Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: [A-Z Listing] Filter Posts

    Hi,

    I’ve installed this plugin today and have the exact same requirement. Let’s say you want to filter the listing by category with the name category-1, shortcode should look something like:

    [a-z-listing display="posts" post-type="post" taxonomy="category" terms="category-1"]

    I’ve found the exact same topic in FAQ, but the provided solution didn’t work as there are two fields missing: display="posts" post-type="post"

    Kind regards,
    Uros

    • This reply was modified 2 years, 3 months ago by urosn.
    • This reply was modified 2 years, 3 months ago by urosn.
    Thread Starter urosn

    (@urosn)

    Hi jaysupport,

    Thank you for the explanation.

    I’ve tried &laquo ; and &raquo ;, the only problem with this approach is that left and right quotes are not part of the keyboard keys and are not easily entered by the end users. Also when using &quot ; and &apos ; in the title field, search still doesn’t work as the problem is in the input field sanitation.

    I believe single and double quotes in front-end user inputs are not properly escaped. If I insert a single quote in search input, query string parameter prod_name has value %27. And if I change query string parameter to ‘ (https://www.arboretum.si/arboretum/herbarij/?prod_name=’), I get value \’ in input field.

    Kind regards,
    Uros

Viewing 2 replies - 1 through 2 (of 2 total)