Forums

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

  1. mannschaft
    Member
    Posted 10 months ago #

    can somebody help me out with this:

    link with picture

    developing site:
    http://johnvandorst.com/temp/

    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
    Member
    Posted 10 months 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
    Member
    Posted 10 months 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
    Member
    Posted 10 months 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>
    			</li>

    nothing strange going on here, no?

  5. mannschaft
    Member
    Posted 10 months ago #

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

  6. bekabug
    Member
    Posted 10 months 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.

Reply

You must log in to post.

About this Topic