WordPress.org

Ready to get started?Download WordPress

Forums

How to Remove Blogroll Header Text (14 posts)

  1. FrankieB
    Member
    Posted 4 years ago #

    So, I am trying to create a set of links on the sidebar of my website. The tag Blogroll keeps coming up and I'd like for it to go away.

    I found another topic that instructed me to put this in the sidebar

    <?php wp_list_bookmarks('categorize=0&title_li='); ?>

    However, once I do that nothing shows up in my sidebar. I have this wrapped in a div dag and the div is empty after using this piece of code.

    Is there something I'm doing wrong?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    A link to your site might help...

  3. FrankieB
    Member
    Posted 4 years ago #

    It would, except the site isn't online. I'm developing on a separate machine that has WAMP installed on it.

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Then all I can say is that the code you posted above is perfectly valid.

    http://codex.wordpress.org/Template_Tags/wp_list_bookmarks

  5. FrankieB
    Member
    Posted 4 years ago #

    Insanely helpful...

    I know its valid I am just wondering in what instance it would not work. It doesn't print anything inside of my div tag. It acts as if the code isn't even there. VERY frustrating.

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    Insanely helpful

    What else did you expect?

    I am just wondering in what instance it would not work

    Since no one else can see the rest of your coding, that would be like trying to play pin the tail on the donkey - without even knowing where the donkey is!

  7. FrankieB
    Member
    Posted 4 years ago #

    Well, here is the code for the entire sidebar

    </div>
    	<div id="sidebar">
        	<?php  // enable list podcast entries drop down menu
    			query_posts('showposts=3&cat=10'); ?>
            <h2 class="typeface-js" style="font-family: 'WhoopAss'">Podcasts</h2>
            <ul id="recent-podcasts">
    		<?php
     			$postslist = get_posts('numberposts=3&order=DESC&orderby=post_date&category=7');
     			foreach ($postslist as $post) :
        			setup_postdata($post);
     		?>
               <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
     		<?php endforeach; ?>
               <li><a href="<?php echo get_category_link($category_id=7) ;?>" class="view-all-podcasts">--View All Podcasts--</a></li>
            </ul>
            <?php if ( function_exists('wp_tag_cloud') ) : ?>
            <h2 class="typeface-js" style="font-family: 'WhoopAss'">Tags</h2>
            <div id="tags">
            	<?php wp_tag_cloud('smallest=85&largest=220&unit=%&orderby=count'); ?>
            </div>
            <?php endif; ?>
            <h2 class="typeface-js" style="font-family: 'WhoopAss'">Links</h2>
            <div id="links">
    			<?php wp_list_bookmarks('categorize=0&title_li='); ?>
            </div>
    	</div>
  8. FrankieB
    Member
    Posted 4 years ago #

    I'd just like to note that as long as I remove categorize=0 the links will show, along with the header. Once I put categorize=0 in there the entire code fails.

  9. esmi
    Forum Moderator
    Posted 4 years ago #

    Can you comment out the 2 podcast blocks just in case they're interfering?

  10. FrankieB
    Member
    Posted 4 years ago #

    I commented out everything in the sidebar and just put the code in the sidebar...as long as that categorize= is in there the whole thing bombs.

  11. buddha trance
    Member
    Posted 4 years ago #

    You could also try this way:

    Use the "Links" sidebar widget and rename the Blogroll to something else. Admin dashboard --> Links --> Link Categories --> Blogroll --> Edit --> Link Category name + Link Category slug

    It may even work if you leave the field blank, I haven't tried that.

  12. FrankieB
    Member
    Posted 4 years ago #

    When I left the field & slug blank WordPress said "category not updated".

    I'll go see if I can find the Links sidebar widget and use that. If not I'll just hard code the links into the sidebar (definitely not what I want to do).

  13. em-jay
    Member
    Posted 4 years ago #

    Hi All,

    You can remove "Blogroll" via the Admin panel.

    Basically once Blogroll's links are removed, the Blogroll catetory listing will not display.

    I have opted not to delete the Blogroll's links but instead to "keep the link private". Therefore the information is still accessible in the admin panel but will not be displayed on the Blog.

    1. Open Admin panel.
    2. Click on Links.
    3. Hover mouse over any of the links listed. This will display Edit | Delete.
    4. Click on Edit of the first link "Development Blog".
    5. Place a checkmark in the box: Keep this link private (located on far right side).
    6. Update link.
    7. Repeat for all of Blogrolls links.
    8. Open your blog, refresh, and note that Blogroll is no longer listed.
    9. To add a new Category:
    10: Open Admin panel
    11. Click on Links
    12. Click on Link Categories
    13. Add Category Link name, slug, description.
    14. Click Add Category. It will be listed in the panel immediately to the right.
    15. The new category will not be displayed on your blog until you add a link to it.
    16. So go to Links - Add new - enter new link info
    17. Select the Category you just created.
    18. Click Add link.
    19. Refresh your blog.

    Hope this helped.

  14. em-jay
    Member
    Posted 4 years ago #

    ...and just a bit more...if you activate the sidebar widget (Appearance - Widgets), all of the default widgets will not be listed on the blog unless you drag them within (the admin) sidebar widget page. So if you only slide Archives over, only Archives will be displayed on the sidebar and nothing else.

Topic Closed

This topic has been closed to new replies.

About this Topic