• csweely

    (@csweely)


    I’m using the Classic template, and trying to replace the Blogroll category text with an image. I’m in the sidebar.php file, and doing this doesn’t work

    <?php wp_list_bookmarks('title_li=' .__('<img src="image.jpg" />')); ?>

    It works replacing the other ones with an image, but not the blogroll. Anyone have any hinters?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Add “categorize=0” to the parameters. The default of categorize = 1 makes the Blogroll use the name of the Link Categories as the titles. If you have multiple Link Categories with blogroll bookmarks in them, then you get multiple boxes that way.

    Thread Starter csweely

    (@csweely)

    Where do I add categorize=0 for it to replace the text with the image?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    To the parameters of the wp_list_bookmarks function call, just like I said.

    Like this:
    <?php wp_list_bookmarks('categorize=0&title_li=' .__('<img src="image.jpg" />')); ?>

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Replacing the Blogroll text’ is closed to new replies.