Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello!

    Please open this file:
    asgaros-forum/includes/views/thread-element.php

    Change:
    <strong><a>get_link($thread->id, $this->url_thread); ?>" title="<?php echo esc_html(stripslashes($thread->name)); ?>"><?php echo esc_html($this->cut_string(stripslashes($thread->name))); ?></a></strong>

    Into:
    <strong><a>get_link($thread->id, $this->url_thread); ?>" title="<?php echo esc_html(stripslashes($thread->name)); ?>"><?php echo esc_html($this->cut_string(stripslashes($thread->name), 70)); ?></a></strong>

    Now it should look better. ??

    Thread Starter Sens4

    (@sens4)

    Thank you so much!

    Thread Starter Sens4

    (@sens4)

    Hello!

    Sorry for disturbing you again. There’s still a little problem. You can see for the second topic here https://luckystarshotel.ru/wp/forum/?view=forum&id=2 that the name is still not showed correctly when it changes to the new line.

    If possible, can you please check.

    Thank you very much!

    Plugin Author Asgaros

    (@asgaros)

    Yes, the thing is: I want to avoid line-breaks so I will cut the name after 35 characters (or 70 after your modification). You can set the value to a higher value so it should look okay for you. Maybe 100.

    Thread Starter Sens4

    (@sens4)

    Oh, it works now, thank you so much! Sorry that I have no idea about php. You’re a magician!

    Plugin Author Asgaros

    (@asgaros)

    Haha, you are welcome! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Topic names look ugly!’ is closed to new replies.