WordPress.org

Ready to get started?Download WordPress

Forums

Question Regarding Archives (5 posts)

  1. mark350
    Member
    Posted 8 years ago #

    Hello, I just created a legal blog here:
    http://attorneys.101lawyers.com/

    I have several links on the right panel that point to various sections in my site... the links are located under the categories "attorneys," and "lawyers" (5 links under each category).

    When I click on the archive link, in this case "April 2006," the two above mentioned categories and corresponding links disappear. How can I make it so those links remain static throughout my site?

    Any help will be greatly appreciated, thanks!

  2. Joshua Sigar
    Member
    Posted 8 years ago #

    In your sidebar.php there's probably this sort of logic

    <?php if (is_home()) : ?>
    <h2>Attorneys</h2>
    ...
    ...
    and so on...
    <?php endif; ?>

    ...which means that "Attorneys" link list and others will only show on frontpage.

    If you don't know how to fix it, post the content of your sidebar.php at http://pastebin.com and come back with the link.

  3. mark350
    Member
    Posted 8 years ago #

    Ok, I did what you said ... my post is here:

    http://pastebin.com/686315

  4. Joshua Sigar
    Member
    Posted 8 years ago #

    You can use this http://pastebin.com/686344
    I modified line 36
    Backup the original first.

  5. mark350
    Member
    Posted 8 years ago #

    Alphaoide - that worked! Much apprechiated!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.