• Resolved msilva47

    (@msilva47)


    Is there a way to remove the word “of” from this shortcode posting?

    [submit-review product_name=”Your McDonald’s Experience:”] appears as ‘

      Review of

    Your McDonalds Experience’

    Looking to remove ‘of’
    ———————–

    Also how do I remove “No Matching Reviews from the bottom of the review section?
    ————————-
    The product name is only showing up as ‘Your McDonald’ at the top of the reviews and in the overall rating section.

    How can I remedy this?
    ——————————–
    Thanks, My Page is EasyWayReviews.com/McDonalds
    -Matthew

    • This topic was modified 9 years, 5 months ago by msilva47.
    • This topic was modified 9 years, 5 months ago by msilva47.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi msilva,

    The only way to remove the “of” would be to do so directly in the code. This is found in the “SubmitReview.php” file in the “Shortcodes” folder.

    The “No Matching Reviews” text is found in the “DisplayReviews.php” file in the “Shortcodes” folder.

    Your product name is being cut because the apostrophe is closing the WordPress shortcode. What happens if you put a backslash before the apostrophe? Like:

    [submit-review product_name="Your McDonald\'s Experience:"]
    
    Thread Starter msilva47

    (@msilva47)

    Using the backslash has no effect on the text unfortunately. Still cutting out at the apostrophe. I’ll get to work editing those files. Thank you.

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    In that case, you can just use the HTML entity code for the apostrophe, which is

    & #39 ;
    

    There’s no space after the ampersand or the “9”. I just had to put it that way so WordPress wouldn’t render it.

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

The topic ‘[submit-review product_name=””] Shortcode edit’ is closed to new replies.