Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> [solved] Wp_list_bookmarks

This is a discussion on [solved] Wp_list_bookmarks, within the Blogging & Social Networking section. This forum and the thread "[solved] Wp_list_bookmarks" are both part of the Designing Your Website category.

 
Reply to this topicStart new topic
> [solved] Wp_list_bookmarks, Title problems in WP
karinne
post Mar 27 2008, 09:05 PM
Post #1


Co-Founder
*******

Group: Co-Founders
Posts: 2,503
Joined: 13-February 08
From: Squeezin'
Member No.: 2



OK so I'm having a bit of a hard time displaying my "blogroll" properly.

I have 2 categories (Daily at, Daily read)

CODE
<h3>Daily at</h3>
<?php wp_list_bookmarks('category=12&title_li='); ?>

<h3>Daily read</h3>
<?php wp_list_bookmarks('category=2&title_li='); ?>


That's my code (you can see on karinne.net) The problem is that it's displaying the title (title_li) but I don't want it. How do I go about putting a null value so it doesn't show?

In the codex it says
QUOTE
title_li
(string) Text for the heading of the links list. Defaults to '__('Bookmarks')', which displays "Bookmarks" (the __('') is used for localization purposes). Only used with categorize set to 0 (else the category names will be used instead). If passed a null (0) value, no heading is displayed, and the list will not be wrapped with <ul>, </ul> tags.


--------------------
The Squeeze Store is now OPEN! Come on in and grab something!

a web design portfolio | web non-sense
I'm also on: del.icio.us | flickr | virb | facebook | twitter
The Web Squeeze is also on: virb | facebook | stumbleupon - JOIN IN!
Go to the top of the page
 
+Quote Post
karinne
post Mar 28 2008, 06:21 PM
Post #2


Co-Founder
*******

Group: Co-Founders
Posts: 2,503
Joined: 13-February 08
From: Squeezin'
Member No.: 2



Alrighty ... got it working.

I decided to dump the <h3> and remove the styling of the <li> that the <h2> are contained in.

CODE
<ul class="bookmark-list">
<?php wp_list_bookmarks('category=12&title_li='); ?>
</ul>

<ul class="bookmark-list">
<?php wp_list_bookmarks('category=2&title_li='); ?>
</ul>


css
CODE
.bookmark-list h2 {
color: #fda702;
font-size: 16px;
margin-bottom: 5px;
padding: 0;
}

ul.bookmark-list {
margin: 0;
padding: 0;
list-style: none;
}


--------------------
The Squeeze Store is now OPEN! Come on in and grab something!

a web design portfolio | web non-sense
I'm also on: del.icio.us | flickr | virb | facebook | twitter
The Web Squeeze is also on: virb | facebook | stumbleupon - JOIN IN!
Go to the top of the page
 
+Quote Post
Mark
post Mar 28 2008, 06:25 PM
Post #3


Don deluzione
*****

Group: Team Leaders
Posts: 860
Joined: 13-February 08
From: 10km from nowhere and just south of nothing
Member No.: 7



*grin*
You're welcome tongue.gif


--------------------
Go to the top of the page
 
+Quote Post
karinne
post Mar 28 2008, 09:27 PM
Post #4


Co-Founder
*******

Group: Co-Founders
Posts: 2,503
Joined: 13-February 08
From: Squeezin'
Member No.: 2



haha ... Thank you! whistle3.gif


--------------------
The Squeeze Store is now OPEN! Come on in and grab something!

a web design portfolio | web non-sense
I'm also on: del.icio.us | flickr | virb | facebook | twitter
The Web Squeeze is also on: virb | facebook | stumbleupon - JOIN IN!
Go to the top of the page
 
+Quote Post
Rakuli
post Mar 29 2008, 01:01 AM
Post #5


Squeeze Machine
*****

Group: Team Leaders
Posts: 569
Joined: 13-February 08
From: Catching the squeezed drips downunder.
Member No.: 13



I don't think anyone yet has managed to help you Karinne biggrin.gif you're too quick solving your own problems


--------------------
Bright Idea? -- Don't Let it disappear
Go to the top of the page
 
+Quote Post
karinne
post Mar 29 2008, 09:16 AM
Post #6


Co-Founder
*******

Group: Co-Founders
Posts: 2,503
Joined: 13-February 08
From: Squeezin'
Member No.: 2



And I left it there 20hours too!!! laugh.gif

Sometimes I just need to either talk my problem out loud or write it down (like creating threads - or talking to delusion on MSN tongue.gif )


--------------------
The Squeeze Store is now OPEN! Come on in and grab something!

a web design portfolio | web non-sense
I'm also on: del.icio.us | flickr | virb | facebook | twitter
The Web Squeeze is also on: virb | facebook | stumbleupon - JOIN IN!
Go to the top of the page
 
+Quote Post
Linda
post Mar 29 2008, 09:41 AM
Post #7


Co-Founder
******

Group: Co-Founders
Posts: 2,479
Joined: 13-February 08
From: Pink House in USA
Member No.: 3



The secret's out!!! on_the_quiet.gif


--------------------
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No new   19 alex 293 15th February 2008 - 01:12 PM
Last post by: karinne
No New Posts   6 Jason 149 27th March 2008 - 09:42 AM
Last post by: Jason
No New Posts   2 Jason 107 7th April 2008 - 05:08 AM
Last post by: c010depunkk
No New Posts   1 Jason 111 6th May 2008 - 03:57 PM
Last post by: Rakuli
No New Posts   0 Jason 102 28th July 2008 - 08:23 AM
Last post by: Jason