WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How can I get rid of these "0"s in the Blogroll? (14 posts)

  1. quintox
    Member
    Posted 6 years ago #

    http://www.torquedorks.com/

    Look in the blogroll (TD Favorites). I cannot figure out why they are there, I've looked in the files to no answer. I am using Tyre Monkey theme, just changed a little.

    Though those 0's showed up before I edited anything.

  2. cenzi
    Member
    Posted 6 years ago #

    you will need to go into your CSS style sheet and change the UL Div...

    OR... make any other GIF and replace yours (http://torquedorks.com/wordpress/wp-content/themes/tyremonkey-10/images/bullet.gif)

    just call it the same thing and override the mofo...

  3. quintox
    Member
    Posted 6 years ago #

    I'm talking about the zeros underneath each link, not the bullet. visit the site to see what I mean. Look under "TD Favorites"

  4. miromiro
    Member
    Posted 6 years ago #

    The 0's are hard coded into the page - just delete the line break and the 0:

    <li><a href="http://www.gamespot.com">Gamespot</a><br />0</li>
  5. quintox
    Member
    Posted 6 years ago #

    miromiro, I can't find that link anywhere in any files under this theme (I'm looking through WordPress)

  6. miromiro
    Member
    Posted 6 years ago #

    Do a search in sidebar.php for <br />0</li> and replace with </li> - that should see you right...

  7. quintox
    Member
    Posted 6 years ago #

    Not there, I've looked many times

    <li>
    			<h2>TD Favorites</h2>	
    
    <ul>
    			<?php get_links('-1', '
    <li>', '</li>
    ', '', FALSE, 'id', TRUE, TRUE, -1, TRUE); ?>
    			</ul>
    </li>
     '
    </li>
  8. quintox
    Member
    Posted 6 years ago #

    wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
    				</ul>
    			</li>
    			<?php }
    			?> 
    
    			<li>
    			<h2>TD Favorites</h2>
    			<ul>
    			<?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', TRUE, TRUE, -1, TRUE); ?>
    			</ul>
    			</li>
  9. miromiro
    Member
    Posted 6 years ago #

    Try deleting the '<br />', FALSE, in the string that begins:

    <?php get_links...

  10. whooami
    Member
    Posted 6 years ago #

    looks like we need some housekeeping in this thread

  11. Chris_K
    Member
    Posted 6 years ago #

    housekept

  12. quintox
    Member
    Posted 6 years ago #

    miro, that didn't work either.

  13. moshu
    Member
    Posted 6 years ago #

    quintox,
    what stops you from going to the template tag's page in the codex and read about its parameters.
    (hint: I hope you can count till 8...)

  14. quintox
    Member
    Posted 6 years ago #

    OK figured it out, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags