WordPress.org

Ready to get started?Download WordPress

Forums

Need help changing category list details in sidebar (3 posts)

  1. djoseph05
    Member
    Posted 4 years ago #

    Hello,

    I had a plugin that allowed me to list a category in a dropdown menu in my sidebar, and display a fixed number of post links and with their dates. Then I uninstalled a group of plugins due to a problem one, and now I can't figure out which plugin did it. Does anyone know which one does that?

    My sidebar currently displays the category I want, but it only lists 5 posts, and no dates. I would like it to drop down, list 12 posts with dates, and exclude the most recent. (I don't know where the "5" came from and I've changed every possible setting.) If I can't get the dropdown feature that would be okay, but the rest is most important.

    Below is the php code from my sidebar category box. Can anyone tell me what to change in it to achieve the things I want? (Manually changing the code might be better anyhow, because the dynamic widgets present a styling problem; I cannot figure out how to put the first 6 lines of the code around the individual dynamic widgets.)

    Thank you very much in advance:

    <div class="sidebox clearingfix">

      <div class="sidebox-heading">
      <h2>Press Releases</h2>
      </div>

    </div>

  2. Shane G.
    Member
    Posted 4 years ago #

  3. djoseph05
    Member
    Posted 4 years ago #

    Shane,

    The article you referred me to shows the arguments that I need, but my statements don't have the wp_list_categories. I keep getting syntax errors because I don't know exactly where or how to insert the same arguments into my specific statement. I have spent hours reading the support articles, looking for a closer example to my code.

    Php is brand new to me and I'm trying to learn as much of it as I can, and I'm just running short of time at this point.

    Thank you for your reply.

Topic Closed

This topic has been closed to new replies.

About this Topic