• Using vlsider theme. I can see, from looking here,
    https://www.gonewalkabout.info/
    and here:
    https://irui.ac/cool-stuff/vslider-g2/
    that there are custom links in the sidebar that don’t get listed on the top header, and I think this uses the sidebar tile plugin.
    For example, I don’t want to use up header space for links like “plugins used” and “tag cloud”.

    So I installed “sidebar tile” plugin, made a page with a slug of “sidebar”, and then put the pages as a “sub” of that page.

    In the preview window, it looks perfect.
    For example:

    Site Info

    * Plugins Used
    * Tag Cloud
    * archives
    * Freeware

    In the main “live” page, it shows the sidebar title, but no content.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m not sure what exactly you are asking here, but you can easily include a list of links, or a list of Pages, in your sidebar without having to install any plugins. For example, if you want to list the plugins you are using, you can simply go to your admin panel., click Links, create a new link category called “Plugins Used” and then create links to all the plguins you use under that category. You would call in into your sidebar.php template by using the tag <?php get_links(); ?>, inputing the number of that link category between the two parenthesis.

    If you want to create a seperate Page that lists all the plguins you use, create that page in the admin panel and then either manually link to it in your sidebar.php file or call all the pages into the sidebar with the tag <?php wp_list_pages(); ?>.

    Now, that tag will list ALL your pages, which, from what I *think* Iunderstand, some of them are already listed in the header. So you’ll want to exclude the links that show up in the header already, which you can do like this:
    <?php wp_list_pages('exclude=17,38' ); ?>, where the numbers (17 and 38) are the IDs of the pages you want to exclude.

    You’ll have to do this twice though — once in the header to exclude the pages listed in the sidebar, and once in the sidebar to exclude the pages listed in the header.

    Personally, I would rather do this with basic, simple code than with a plugin. If you go this route and it works for you, you can easily uninstall the plugin.

    Let me know if you have further questions.

    Thread Starter digitaltoast

    (@digitaltoast)

    Ah, OK, I think I understand. I just thought it would be better to get the pages to “show themselves” as links, as a link is a hard-coded thing.

    So, what I need to do is make a cat, make in a link in that cat, find that cat number, edit the sidebar, make a page, and then edit the header to hide the pages in that cat and edit the sidebar to display the links in that cat. Sounds so easy!

    Thanks ?? I’m sure I’ll get the hang of it.

    No, no no. Sorry to confuse you.

    “So, what I need to do is make a cat, make in a link in that cat, find that cat number, edit the sidebar, make a page, and then edit the header to hide the pages in that cat and edit the sidebar to display the links in that cat. Sounds so easy!”

    What you can do is one OR the other. You can make a link cat and a list of links under that cat, then call them into the sidebar,

    OR, you can make a series of pages, say a page for each item you listed in your original post (Plugins Used, Tag Cloud, archives, Freeware) with the info and links in the text of the page, then call the list of all your pages into the sidebar, with the exclude parameter added to exclude the pages that are already listed in the header. That code, <?php wp_list_pages('exclude=17,38' ); ?> will get the pages to “show themselves” as links automatically, as you asked above.

    One or the other. Not both. Sorry. And it really is easy because with the exception of one line of code in your template, everything else is done through the admin panel.

    Thread Starter digitaltoast

    (@digitaltoast)

    Got it now! I was being thick! I was just surprised that there isn’t a tickbox, when making a page, to tell it not to list the item on the top bar. Otherwise it ends up very cluttered! OK, I’ll change the top-bar to exclude the unwanted, and the sidepanel to include the wanted!

    Basically, all I want is pages which aren’t indexed on the front page, but that I can choose to list on the sidebar, or not at all.

    In other words, I’m slightly trying to make wordpress be my website as well as my blog!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I list certain pages on sidebar and not header?’ is closed to new replies.