Need help? Check out our Support site, then


Sub links

  1. I currently use the regulus theme because I like the "sublinks" feature. I'm wondering if theres anyway to use the links widget or a text widget and some code to recreate this in a different theme. Am I better off just manually adding them on the page?

    Thanks in advance!

  2. I don't know what you mean by the "sub-links" feature. And I see that you have not placed the Links widget in your sidebar on the blog linked to your username.
    Can you be more specific?
    What I do know is that the Blogroll and Links on Regulus work the same way they do on all themes other than Blix.

  3. child links, not sublinks. Sorry.

    There is no pagesIs there a way to use pages to show JUST the child pages of the page you're currently viewing.

    I want two lists, one two show all the top level pages, and one to show just the child pages of the currently listed page.

    In using regulus I don't NEED to use the pages widget, it does both of these two tasks. But I'd like to use sandbox...

  4. AFAIK, there's no way to do what you want using widgets. The way the links to pages and sub pages work in Regulus is hardcoded in the theme itself.

    One way that you could create a widget with links to all top level pages is:

    Using a text widget, do something like this:

    <ul>
       <li>Page 1</li>
       <li>Page 2</li>
       <li>Page 3</li>
       <li>etc.</li>
    </ul>

    However, there's a page widget for this already, so the above sample would be just redundant. BUT you could do this to list your sub pages. However, they would be displayed on every page/post of your blog not on the specific page they belong to.

    Another option would be to list your pages and sub pages like this:

    Page 1
       sub page 1
       sub page 2
       sub page 3
    Page 2
       sub page 1
       sub page 2
       sub page 3
    etc.

    If you consider doing something like the above, then in a text widget you could write the code like this:

    <ul>
       <li>
            Page 1
            <ul>
                <li>sub page 1</li>
                <li>sub page 2</li>
                <li>sub page 3</li>
            </ul>
       </li>
    
       <li>
            Page 2
            <ul>
                <li>sub page 1</li>
                <li>sub page 2</li>
                <li>sub page 3</li>
            </ul>
       </li>
    </ul>

    HTH

  5. @devblog
    Thanks :)

  6. Sure thing, TT

  7. Thanks. I think I'll just end up hard coding child links into the actual parent page... Frustrating.

    Out of curiosity, would that be a relatively easy thing to hard code into something on a blog running on the wordpress.org software?

  8. I'll leave that to the "techy" types to answer. There is a support forum over here that you may want to access http://wordpress.org/support/forum/5

Topic Closed

This topic has been closed to new replies.

About this Topic