• Resolved Thyrosis

    (@thyrosis)


    To be honest, I’m really new to php-designing. I’ve been searching both the support forum and the wordpress docs for some time now but can’t really figure out my problem.

    What I want to do, is quite simple.
    – I have a few pages, displayed in the sidebar (as usual)
    – I have a few pages (about one page), which are actually sub-pages, but I don’t want them shown as sub-pages. Well, not all the time anyway, but only when that one page (with the sub-pages) appears.
    Confusing? It looks a bit like this:

    page 1
    page 2
    – subpage 1 (only shown in sidebar when page 2 is selected)
    – subpage 2 (only shown in sidebar when page 2 is selected)
    page 3

    Alternatively, the sub-pages don’t need to be shown, but then I need to put a (perma)link in page 2, but to have a (perma)link the subpage has to be either a page or a post? And I don’t want it as a post really, because they are usually quite long and that’s just the reason I wanted them off the home-page.

    If anybody could help me, I would be very grateful. As I said, I’m not really into php and stuff, but with some good directions I should be able to figure a lot out by myself.

Viewing 8 replies - 1 through 8 (of 8 total)
  • See https://adahas.com/work/navigo/ — this plugin might be useful for you.

    Thread Starter Thyrosis

    (@thyrosis)

    Thanks for the quick reply schulte, I’ve installed the plugin and it works really well. There is one little problem though.

    In the normal sidebar with the wp-pagelist, the list of pages has a head saying ‘pages’

    pages
    – page1
    – page2

    But with the plugin up and running it hasn’t got that anymore! I’ve looked through the information behind the plugin, but couldn’t find a solution to that. Have you got a clue how to resolve this?

    In the case of one of my WordPress blogs, I installed the ExecPHP widget by Otto — https://ottodestruct.com/blog/2006/04/09/fun-with-widgets/ and then in the active PHP Code widget I added the title I wanted and this code…

    <?php if(function_exists('navigo')) navigo('collapse=true&sort_column=menu_order'); ?>

    Using this method you can get the title you are seeking.

    Hope this helps.

    Thread Starter Thyrosis

    (@thyrosis)

    Took me some time to figure it out completely (got a really really old computer and it’s all soooo slow), but hey.

    IT WORKED!

    Thanks again schulte, this is exactly how I wanted it to be, your answers couldn’t be better! If you want to have a look, there’s a link in my profile (the rules say you can’t post web-links or something). It’s all in Dutch, but it about the way it looks, isn’t it?

    Thanks again and again and again ??

    Thread Starter Thyrosis

    (@thyrosis)

    I’m quite sure I posted a reply earlier this evening, but it seems that it got lost somehow.

    Anyway, it worked! Well… I just found out that it didnt work completely. I know this is going to be really stupid, but I’ve tried to work it out all night and I’m kinda fed up now.

    The thing you, schulte, said, works pretty well for the loading page, and all pages as well. But as soon as you click a post to comment or read comments, then the whole list of sub-pages appears out of nowhere, and it’s bloody annoying! I’ve tried to change it in the theme-editor, but couldn’t find it.

    Again, I will rely on your good will to help me out. If not I’ll just leave it the way it is, while commenting people don’t use the sidebar anyway. It’s just that it looks really stupid ??

    (there is a link to the site in my profile if you want to have a look, I thought it was not allowed to post links)

    I’m getting just the opposite problem. When I click on a subject area . . . I have 3 such areas at https://www.vidiots.us
    I get the header, right sidebar and a capsule of the last 3 posts. With Internet Explorer, when I click on any of the posts there is a flash of the full post and than blank in the subject area.

    The header and right sidebar are still there but no post at all. This also happens sometimes when I just paste the URL in IE. Mozilla has no such issue.

    Any pointers out there as to a potential cause.

    Thyrosis, I see what you mean — I would suggest you contact the plugin author in this particular case. It might be the easiest route to a solution, plus, I’m sure this is a navigation behavior that ought to be stopped.

    vidaddy, I don’t see what you describe using Firefox and I don’t use IE. It does not sound like a problem with the plugin, as you say it happens sometimes with pasting the url directly…

    Thread Starter Thyrosis

    (@thyrosis)

    Thanks for the reply schulte, I’ll give that a go ??

    For now: case closed!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘(not) showing sub-pages in sidebar’ is closed to new replies.