Viewing 4 replies - 1 through 4 (of 4 total)
  • Why don’t you go back to that Codex page to read about the parameters you put into your code.
    “custom” means… well, custom. Did you define it?
    Why not use “html” which would display a list. You will still need the ul /ul tags around it.

    Thread Starter glassshoes

    (@glassshoes)

    thanks Moshu! i was able to display the titles with line breaks by changing “custom” to “html”:

    <?php wp_get_archives(‘type=postbypost&limit=20&format=html’); ?>

    what i need to do now is to put a box (border) around it and also give it a title for it (example: Latest Events)? does anyone know how to do this? i think i need to use html’s tables.

    thanks in advance for any insights!

    Thread Starter glassshoes

    (@glassshoes)

    i was able to display a box around the titles by modifying my stylecss file. it wasn’t pretty, but i did it.

    Thread Starter glassshoes

    (@glassshoes)

    Update: I just discovered that the recent post titles on my homepage appear on my “category” page as well. For example, I created a category (Manage => Categories) for every post. On my sidebar, i list the categories. When I click on the category, it displays the posts within the category along with the recent post titles.

    ideally, what i’d like to do is filter the posts so that if one clicks on the category, it will display only the recent post titles within that category on top of the page.

    if this is not possible, then what i’d like to do is not display the recent post titles that i used my homepage on any category page.

    Can anyone please help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add Recent Post Titles on top of homepage (Sticky Posts)’ is closed to new replies.