Support » Plugin: Advanced Post List » Dollar sign in title causes dropped characters

  • A post’s title has the word “$5,000” in it. The dollar sign and numeral 5 disappear in the APL listing, so it only shows “,000”.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Advanced Post List

    (@advancedpostlist)

    The dollar sign is a unique character for PHP, and could be the cause of the issue.

    A possible workaround could be to use HTML Codes for characters. Try using & # 036; (no spaces) instead.

    https://www.ascii.cl/htmlcodes.htm

    Using the html code in the title worked to solve the problem in APL, but the code showed as a literal in the title of the post.

    I found the tutorial on how to create a custom php_function shortcode, so I created one to change dollar signs to the html code. Works great.

    • This reply was modified 1 year, 4 months ago by  gdhbtl.
    • This reply was modified 1 year, 4 months ago by  gdhbtl.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dollar sign in title causes dropped characters’ is closed to new replies.