How to add Bullet Point Code/HTML to Text Widget

  • Author
    Posts
  • #494188

    natinanorton
    Member

    I’d like to add bullet points to a text widget on the right hand side of my page. What I’m looking for is:

    (bullet point) Title of post
    (bullet point) Title of post
    (bullet point) Title of post

    This is the archives shortcode I currently have (minus the spaces):
    [ archives type= postbypost limit= 3 format= html before= li ]

    The last part “before” seems to be the one not working. Advice?

    I have the widget in question at the end on the right hand side of my page.

    My Blog: http://crosswordcharlie.wordpress.com/

    Thank you!
    liHow To Fix the Kitchen Sink Or Die Trying
    liWindows Vista & The Island of Misfit Computer Parts
    liChuck Norris, The Undertaker, & Dad’s Top 5 Favorite Movies

    The blog I need help with is crosswordcharlie.wordpress.com.

    #494335

    All you need is

    [archives type=html]

    You don’t need the before=li

    See here: http://opposablethumbz.wordpress.com/post-index/ .

    #494336

    The “before” is simply for text, not for code.

    #494337

    Actually, in Mistylook, you cannot force bullets in the sidebar with the shortcode.

    What you can do is this though

    [archives type=html before • ]

    #494338

    arifsali
    Member

    @thesacredpath, can this shortcode be used to create a weekly index? (like the one you have for all posts, but only grab posts made within a week?).

    #494339

    Shoot, I messed up the code. Try this

    [archives type=html before=• ]

    #494340

    natinanorton
    Member

    So change this:

    [ archives type= postbypost limit= 3 format= html before= li ]

    to this?:

    [ archives type= HTML limit= 3 format= html before= li ]

    I’m a little confused. If I’m taking out the postbypost part, how will my titles show up?… Are are you saying I’d have to insert them manually (which I’m trying to avoid).

    Thanks

    #494341

    natinanorton
    Member

    Ah! Here we go. Code is

    [archives type=postbypost limit=3 format=html before=•]

    Thanks!

    #494343

    natinanorton
    Member

    One more question: Is it possible to make them square?

    Thanks.

    #494344

    @arifsali, you can do something like this

    [archives type=postbypost limit=7]

    but that limits it to the last 7 posts. You can’t use two “type” declarations in one shortcode. The above would list the last 7 posts, regardless of date.

    #494345

    @natinanorton, I’m sorry I was replying to the other poster.

    You cannot put “li” in the before declaration because the before declaration is meant only for plain text, not for HTML code.

    Use this as I said earlier:

    [archives type=html before=• ]

    Note the space after the bullet character and before the closing bracket.

    #494346

    You would have to use an HTML ascii character code, and I did not find one for a square bullet when I looked.

    #494347

    natinanorton
    Member

    Thanks so much TSP. I couldn’t find code for a square point either, but I did find this which works just as well for now:

    » » » right angle quote marks

    http://www.tedmontgomery.com/tutorial/htmlchrc.html

    Thanks again!

    Natina

    #494349

    natinanorton
    Member

    The codes for the above are (remove spaces)…

    HTML Code: & #187 ; Character Code: & raquo ;

    #494357

    You’re welcome and I’m glad you found something that works for you.

The topic ‘How to add Bullet Point Code/HTML to Text Widget’ is closed to new replies.