Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Claudio Sanches

    (@claudiosanches)

    You can do it with something like:

    https://pastebin.com/TaumJ7EX

    This is just a suggestion, feel free to write your own code.

    Thread Starter Reijopuhm

    (@reijopuhm)

    Thank you Claudio for your answer, but where do I need to add this code (I am new to this stuff) ??

    Plugin Contributor Mike Jolley

    (@mikejolley)

    functions.php of your theme.

    Thread Starter Reijopuhm

    (@reijopuhm)

    Thanks for helping out. I did copy the code into functions.php – but still nothing happens, the product description is not getting “Read more” link, they are still full text

    Plugin Contributor Claudio Sanches

    (@claudiosanches)

    @reijopuhm my code it’s an example that trim the content after the fourth paragraph, feel free to write your own code.

    Thread Starter Reijopuhm

    (@reijopuhm)

    Thank you for helping me out, but still nothing happens
    I added the code into my theme functions.php and copied the code. I understand that I can change the code, where the “Read more” comes in but in my case the Read more link is not even showing up.

    Is there anything you could to do try and help me out? I would really appreciate it!

    Plugin Contributor Claudio Sanches

    (@claudiosanches)

    Not appear because of your content, as I said, fourth paragraph.

    Thread Starter Reijopuhm

    (@reijopuhm)

    What should I add for fourth paragraph to make it work?
    I am not familiar with coding myself

    Thread Starter Reijopuhm

    (@reijopuhm)

    I would really appreciate when someone would help me out on this problem. I searched and found out that WooCommerce is not allowing to insert “Read more” (<!–more–>) .

    Thread Starter Reijopuhm

    (@reijopuhm)

    UPDATE: It is working now, but how can I add the same code for “Product description” (not for short description)

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Long description doesn’t support read more for products. There is no use for this since we show content on a tab.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to make product description to limited amount of words or to add "Read more"’ is closed to new replies.