• Resolved lukaspsk

    (@lukaspsk)


    Hello,

    I created a navigation menu including terms of different length:
    e.g.
    name 1: blahblahblahblah
    name 2: blahblahblahblahblahblah
    name 3: blahblah

    I wanted to automatically truncate them for a viewer to form:
    name 1: blahblah…
    name 2: blahblah…
    name 3: blahblah

    I was able to truncate them after implementing a super tiny snippet of code.

    It worked great for categories displayed as a dropdown widget. Is there any way, it could work also using your plugin?

    I am naive wp-developer-beginner. I will be thankful for any help.

    Best wishes

    • This topic was modified 3 years, 6 months ago by lukaspsk.
    • This topic was modified 3 years, 6 months ago by lukaspsk.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @lukaspsk,

    sorry for the late answer! The e-mail about it slipped into my spam folder.
    It’s a nice snippet of code and if you want to you can put it in the plugin. I might implement it in the plugin too, its a nice thing.

    Kind regards,

    Jeroen Peters

    Thread Starter lukaspsk

    (@lukaspsk)

    Unfortunately, my limited knowledge does not give me a chance to change your plugin. If I knew, I would do that.

    I was successful in the original case, when I added that snippet of code to the end of functions.php file.

    In case of your plugin, I do not know, where to add it to make it functional. I did multiple trials, but I always failed.

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hey @lukaspsk ,

    I just released version 1.3.0 of the plugin, which allows you to determine a cut-off-point. Please let me know if you like this and if it works for you.

    Kind regards,

    Jeroen Peters

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hey @lukaspsk ,

    Did this work for you?

    Kind regards,

    Jeroen Peters

    Thread Starter lukaspsk

    (@lukaspsk)

    Hey @jeroenpeters1986,
    Sorry for my super late reply. I have been out of my computer recent months due to personal reasons. I apologize. Also, I won’t be able to check new version of plugin until the end of this august (my estimate). As soon as I am available, I will try to implement it.

    I deeply apologize again and thank you for your new plugin.

    • This reply was modified 3 years, 4 months ago by lukaspsk.
    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Not a problem @lukaspsk, please take care and test it when you can ??
    Kind regards, Jeroen Peters

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘truncate terms’ is closed to new replies.