WordPress.org

Ready to get started?Download WordPress

Forums

wp_get_archives and custom list (9 posts)

  1. Da4w1D
    Member
    Posted 8 years ago #

    I find this:

    <?php wp_get_archives('type=monthly&format=custom') ?>

    This is display archives no list UL and LI, but monthly are one line.

  2. Da4w1D
    Member
    Posted 8 years ago #

    Who can me help? !!!! Please :(

  3. moshu
    Member
    Posted 8 years ago #

    "custom" means that you write yur own custom html instead of the li tag generated by default. If you don't know what to do with it - don't use the custom.

  4. Da4w1D
    Member
    Posted 8 years ago #

    "If you don't know what to do with it - don't use the custom."

    Heh im newbie, but you can me write a command :)

  5. moshu
    Member
    Posted 8 years ago #

    Sorry, I am afraid I can't:
    1. I don't know what you want.
    2. I never used that option, I am perfectly happy with the list - I know how to style it in CSS.

  6. Da4w1D
    Member
    Posted 8 years ago #

    1. I have monthly(archives) in one line, well:

    januar 2006 dezember 2005 Novembrer 2005

    I want have archives:

    januar 2006
    dezember 2005
    novembrer 2005

    URL SITE: http://da4w1d.ovh.org/

    PS.

    style="list-style-type:decimal-leading-zero;

    This code display this list:
    01.
    02.
    03. :) :)

  7. moshu
    Member
    Posted 8 years ago #

    Remove the "format=custom" from your code and you'll have a list.

  8. Da4w1D
    Member
    Posted 8 years ago #

    Ok i have list ul and li :) is ok but i have 2 problem.

    1. Validator: http://validator.w3.org/check?uri=http%3A%2F%2Fda4w1d.ovh.org%2F

    and

    I have problem with menu is to a lot square...

    url: http://da4w1d.ovh.org/

    and my CSS:

    .strzalkamenu{
    list-style-type: circle;
    list-style-position: inside;
    }

  9. moshu
    Member
    Posted 8 years ago #

    1. If you check the box "Show source" and Revalidat - the line numbers in the error messages will become links and you'll be able to find the lines where the errors are.

    2. I don't see any squares, just circles. (Try F5+Ctrl for a refresh; or clean the cache)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags