WordPress.org

Forums

AVH Extended Categories Widgets
Is there a way to remove the "(" in the category post-count (3 posts)

  1. lighterside
    Member
    Posted 10 months ago #

    I really like your plugin. Thank you.

    I just need to change the appearance of the post-count number that shows up in the category list. See screenshot:

    https://docs.google.com/file/d/0BwLFxEIDQNO7UDduWXBwTXNuTWM/edit?usp=drivesdk

    Haven't found the code in any of PHP files (I'm a noob with PHP). Can anyone point me in the right direction?

    Thanks.

    https://wordpress.org/plugins/extended-categories-widget/

  2. lighterside
    Member
    Posted 1 week ago #

    I hired someone to remove the "(", but after updating the plugin, the "(" is back.

    He told me the file is "/3.6/class/avh-ec.core.php"

    But I lost contact with him and don't know what line of code to change in that file.

    Please help.

  3. Luke Rumley
    Member
    Posted 4 days ago #

    Looks like lines 714 and 737 right now, but I wouldn't edit the plugin file for exactly the reason you describe. It doesn't look like something you can necessarily hook into and fix via your functions.php file either.

    BTW, there is a 4.2 folder now, so it is actually lines 718 and 741. If you feel you must edit the plugin:

    Change
    $link .= '(';
    to
    // $link .= '(';

    and

    $link .= ')';
    to
    // $link .= ')';

Reply

You must log in to post.

About this Plugin

  • AVH Extended Categories Widgets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic