• Resolved Angela2601

    (@angela2601)


    Is it possible to adjust the plugin so that if the item has to span two lines, the word isn’t broken? At the moment, if the product name for example is too long to fit on one line, it prints over two lines, but some words get broken in half at the end of the first line.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Follow

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @angela2601 and @maxakker
    This isn’t possible now, but there are a lot of requests for different variations of the item list, so I’ll be working on that in a near future update.

    However, for now you can specify an alternative print name for any product, by registering a hidden attribute for it named “star_cp_print_name”. Any product that has this attribute will print the value of that attribute instead of the product name.

    To do this, use the WooCommerce products page to edit you product and add a new custom attribute.

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @angela2601 I have adjusted the plugin for version 2.0.3 to support word wrapping when printing items with names too long to fit on a single line. It should improve the issue you reported.

    You can download a pre-release of version 2.0.3 beta 02 if you want to test immediately.

    Thread Starter Angela2601

    (@angela2601)

    That’s great. Thanks Lawrence!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Split Words over multiple lines’ is closed to new replies.