bug in Categories print in sidebar (with typo), how to fix? (6 posts)

  1. mannschaft
    Posted 7 years ago #

    can somebody help me out with this:

    link with picture

    developing site:

    Please note in the red circle how the category links show " at the end, that are really part of an imperfect class decoration; the final " character is now printed at the end of the category name.

    Where can i correct this typo? In which .php file from WordPress?

    Note it is not in my theme files, this is why the pic shows Kubrick default theme).

  2. bekabug
    Posted 7 years ago #

    Ok I am stumped. Can you help me understand why are you showing a screen shot of a kubrick theme and linking to something that looks totally different and doesn't present the issue? :)

    That aside I would wager issues in the sidebar are going to be in sidebar.php

  3. mannschaft
    Posted 7 years ago #

    Ooops! You're quite right, sorry.

    I've changed theme back again to Kubrick so that my problem is visible.

    Thank you for noticing this.

  4. mannschaft
    Posted 7 years ago #

    It's not in the sidebar, because that simply has:

    <li id="categories">
    				<h3><?php _e( 'Categories', 'sandbox' ) ?></h3>
    				<ul> <?php wp_list_categories('title_li=&show_count=0&hierarchical=1') ?> </ul>

    nothing strange going on here, no?

  5. mannschaft
    Posted 7 years ago #

    or, the code in the default theme:
    <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>

  6. bekabug
    Posted 7 years ago #

    if you hover your mouse over those links you can see it says

    Show all posts under <span class=

    My guess is you have an improperly closed span in there somewhere but I don't have the entire sidebar.php code in front of me so I can't say where it might be.

Topic Closed

This topic has been closed to new replies.

About this Topic