• Resolved Dane Morgan

    (@danemorgan)


    My client would like to apply bold styling to on pro and one con in each review that they view as the most important.

    The pro and con fields are stripping out html on save. could you please set the filter to allow presentational tags like strong, em, b, & ul?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Dane,

    Do you want just one pro and one con item to be bold and rest to be normal?

    Thread Starter Dane Morgan

    (@danemorgan)

    The client is asking for one each right now, but flexibility is always nice.

    Thread Starter Dane Morgan

    (@danemorgan)

    Also, they don’t have a problem typing in the <strong> tag themselves, so if we could just run these through a kses that allowed the tags comments allow, that would let them add links or something else later too.

    • This reply was modified 6 years, 7 months ago by Dane Morgan.
    Plugin Support Vishakha Patel

    (@vishakha)

    Hi Dane,

    We will check the feasibility and need of this feature.

    You can use or ammend the following CSS code further to Bold the specific Pros/Cons:

    .cons ul li, .pros ul li {
        font-weight: bold;
    }

    Currently, it bolds all the pro/con items.

    Thread Starter Dane Morgan

    (@danemorgan)

    Yes, I know how to bold them all, but when everything is bold it is the same as nothing is bold.

    If I write code to allow this do you accept pull requests on github maybe?

    Plugin Support Vishakha Patel

    (@vishakha)

    Yeah. sure. You can contribute here – https://github.com/Codeinwp/wp-product-review/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Selectively bold pros and cons’ is closed to new replies.