• hi guys,

    I am currently setting up a homepage for some german friends, which you’ll find here https://www.rum-reisen.de/ . They have two main sections on their site: travelogues and pictures.

    travelogues are called Reiseberichte in German and written as pages. This I have done ok, now they want me to do the same kind of navigation with the pictures which are posts.

    I am looking for a solution so that visitors can click pictures in the menue and get a list of all categories with or without subcategories displayed on the main page. they want to avoid an ugly looking start page like it is now (there are a lot of categories containing pictures and they are getting more each day)

    can anyone give me a hint on how to achieve this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Why can’t you do it the same way you did it for the posts? It seems like every category is a gallery.

    get a hold of the static front page plugin by semiologic.com/software

    just make a page in wp with the text you want to have as startpage
    and give it the slug “home”.

    for your image gallery you might wanna look into the lightbox.js javascript.

    viel glück ??

    Thread Starter Ovidiu

    (@ovidiu)

    thx to you both but I still need to clarify some things:

    basically each picture is a post, severall posts belong to the same category which equals a section of a “gallery”.

    @jimatwork: I can’t do it the same I did it with the pages because to list all the pages neatly like I did (=Reiseberichte) I used a plugin called “Subpage Listing” I got from here: https://txfx.net/code/wordpress/subpage-listing/ but this plugin only works for pages not for posts as it seems.

    @manumanu: I already use the static front page plugin to get the page with the big image as a homepage (=the homepage as you can see atm).

    Once again, what I try to achieve is to have a link in the menue called “Bilder” (=pictures) which will lead to a page that shows all categories with or without subcategories so visitors can choose which gallery to browse through. Basically if I could get the part from the sidebar (=below where it says “Bilder”) where it lists the categories with the number of pictures (=posts) to show up in a page I would be very happy.

    One way I coudl think of is this:

    I would have to make a page and load a plugin that allows the execution of php so that I can load the php code that makes the list of categories show up in the sidebar into this page, and then make a link “pictures” in the sidebar that links to this page, right? would that work? what plugin do you suggest for php code execution? Any other idea how to get it working easier?

    I believe I have seen the solution to create a new template file from the page template for your theme. Then modify the new template to only include the galleries categories. Then create a page which uses that template.

    Thread Starter Ovidiu

    (@ovidiu)

    sounds good, as far as I have understood it,but you kind-of confused me at the same time, could you explain a little bit more in detail, please?

    what I understood is this:

    I take the template now used for pages and modify it to only show the categories – ( I looked a page and it says its using the default template, what would that be?)
    then I make a new page and tell it to use the new template, right?

    the template files I have are: stylesheet, articles, date, category, footer, header, main, links, normalcentered, post, search, sidebar, simple and post now if my page says its using template default, what would that be?

    Ovidiu,
    The Template_Hierarchy explains which template is used for different displays and what is the default replacement if the template doesn’t exist.
    Also, for Pages you can have N number of Page Templates:
    Pages#Page_Templates

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘categories and navigation menue question’ is closed to new replies.