Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Maeve Lander

    (@enigmaweb)

    Can you send me a link showing what you mean by truncated titles?

    Sure yes good idea. I will add excerpts to the ToDo list for future development.

    Thread Starter H.Silva

    (@hsilva-1)

    Hi, Well, I fixed it editing some PHP…

    The issue was, the main page of the plugin displays the title of the entries under the categories. They are only 40 characters long and then they get truncated.

    For example, an article on the KB titled “How to use the program’s System Settings under Windows 8.1” would only display “How to use the program’s System Setting….”

    I fixed it on line 93 – kbe_knowledgebase.php(and maybe this could be on CSS as well?):

    <li>
                                        <a href="<?php the_permalink(); ?>">
                                            <?php echo substr(the_title('', '', FALSE), 0, 40); ?>.....
                                        </a>
                                    </li>

    Changed the 40 for a more suitable number for now’, and eliminated that extended ellipsis. (….)

    Plugin Contributor Maeve Lander

    (@enigmaweb)

    Excellent, thanks for explaining @h.Silva and for sharing your fix. I will remove the character limit for everyone in next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Homepage: Edit truncated KB entry titles’ is closed to new replies.