Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Philip Manly
    Participant

    I’m trying to find a shortcode in my WordPress to add strike through or line through text. I’m trying to “line through” one price so I can display a discounted price.
    Any ideas?
    I’ve tried a few options I’ve found via google and none work.

    Hi Philip,

    You can create a shortcode content like <s>$10</s> $6. You can also replace the numbers with “custom parameters” like <s>%%orig_price%%</s> %%disc_price%%

    Thanks,
    Aakash

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Subscribe to our Newsletter

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter

By using this website, you agree to our Terms