Support » Plugin: Link Library » Link Categories Settings: "display link counts" drop on the next line

  • Resolved AmareeLis


    Hi 🙂

    Thank you for the awesome plugin..! I just have a problem since the recent version. The link counter has now all drop to the next line and therefore my link categories list has way too much gap.

    This is my website:

    Under the heading “Patterns Category” you can see that I have 3 column table in the Link Categories section, I have enabled the “display link counts” and the counter have all dropped down to the next line creating this unnecessary massive space. It makes my link category extremely long.

    Please help me as I don’t know why this suddenly happen since I update to the new version of the plugin.

    Kind Regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same … this is annoying!

    I am also seeing this since the most recent update. So far, I have not been able to get it looking like it did previously just using css.

    Hi all, I found a way to change this. In the link-library.php and search for linkcatname. Replace this code

    if ( $catlistdescpos == 'right' || $catlistdescpos == '' ) {
    	$catitem .= '<div class="linkcatname">' . $catname->name . '</div>';
    	if ($showcatlinkcount)
    		$catitem .= " (" . $catname->linkcount . ")";

    with this

    if ( $catlistdescpos == 'right' || $catlistdescpos == '' ) {
    	$catitem .= '<div class="linkcatname">' . $catname->name;
    	if ($showcatlinkcount)
    		$catitem .= " (" . $catname->linkcount . ")" . '</div>';

    This made the number of links in each category appear on the same line as the category name for me. There is probably a better solution, but if nothing else this will work as a temporary fix.

    Thank you esbenh! It works, you are amazing!! 😀

    Thank you so much for your help..!


    No problem! Please note that I have not tested this thoroughly and that it may break if you choose to not show the link count 🙂

    No worries, I will keep that in mind, and most likely I will always use the link count anyhow 😉

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Link Categories Settings: "display link counts" drop on the next line’ is closed to new replies.