• Resolved laudag

    (@laudag)


    Hi…
    Dont know if you speack french…
    I just installed JSM’s Non-Breaking Space for French Content and it work fine, very convienient…
    One thing : I use Woocomerce with Virtue premium theme for a real estate web site and in each annonce we use only the short description to comment the houses.
    It seems that its the_excerpt and if I have understood, the_except is included in the part wherer your plugin work for unbreakable spaces.

    But while it works in the regular description, nothing changes in the short description.
    And I didn’y really undestood how to add a filter, if necessary in the functions.php.

    Could you help me ?

    Thank you very much.
    Laurent

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    The WooCommerce short description is not the WordPress excerpt – two different things. ?? I’ve added a hook for the ‘woocommerce_short_description’ filter in v1.9.0.

    js.

    Thread Starter laudag

    (@laudag)

    Excellent ! Thank you very much !
    Sometimes, if it’s not to time eater, there a case for my real estate web site :
    45 m2. We could write 45m2, but would be better with an unbreakable space between the number an m2.
    But this should be a bonus. The plugin is super nice ??

    Thread Starter laudag

    (@laudag)

    I just try to add this line directly in your plugin :
    ‘/(\d)( )(‘ . m2 . ‘)/u’, // Number followed by m2.
    And it’s working !

    But it wil disappears at the next update…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘About Woo commerce Excert’ is closed to new replies.