Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Big thanks to you! I finally got mine working to.

    Great!

    Hi!

    Don’t know familiar you’re with CSS, but this sounds very much like it’s a CSS type of “problem”.

    Can you post a link to the site or any source code from your page? Then I’ll try explain how to get things the way you want 🙂

    I have the exact same problem and I’ve been searching for days now. Can’t seem to find anything.

    I get the post type to use the taxonomy.php but when I want to use the menu (which is using the CPT:s hierarchical custom taxonomy) to go from Parent cat -> subCat1 or subCat2 and so on. It displays all post all the time.

    So, I wan’t my post type to work like the default post type works.

    Any help would be very appreciated!
    Thanks!

    Hi!

    I usually take following approach to this:

    1. Copy and move all the files in the wordpress folder to the root folder
    2. Download the database from your mySQL server.
    3. Open the .sql file in dreamweaver and find your current adress (for example: http://localhost/wordpress/)

    3. Open the find function in dreamweaver and find all http://localhost/wordpress
    4. Replace it with the new adress (example: http://www.something.com)

    5. Delete the old database in your mySQL
    6. Import the new .sql file

    This is how I do it, but I have a strong feeling there is a faster way of doing it..

    Good luck!

    Thread Starter osby

    (@osby)

    Hupp!

    Actually, when i renamed the aoc_tavlingar.php to tavlingar.php it actually finds it and displays it.

    “Taxonomy with categories – …localhost/aoc/tavlingar (gives me 404)”
    NOT true anymore..

    But since I can’t add this item in the menu without using custom links (which I guess will destroy the current_classes and whatnot)

    Therefor I have a category (alla) as the parent to all the other categories (mtb/cx/lvg etc)
    And I put that one i my top level menu and the others like sub-menus. And as I said, it all works nicely when I’m on a single CPT post.

    Lots of text and probably a lot of jibberish. Hope you get it!

    Thread Starter osby

    (@osby)

    Thanks for the answer!

    I see, soo the menu item of “cat 1” (in my custom post type) would be looking for a taxonomy-template and not a category-template like the default post posttype categories?

    However, I can’t get any of them to work. Not even the archive-aoc_tavlingar.php.

    This is my current permalink structure:

    Custom post type with rewrite – ….localhost/aoc/tavling (gives me 404)
    Taxonomy with categories – …localhost/aoc/tavlingar (gives me 404)
    Taxonomy with categories/cat 1 – localhost/aoc/tavlingar/alla (gives me archive.php)

    Single custom post type – localhost/aoc/tavling/”name of post” – (gives me a fully working single post template and working nav menu current classes and all seems fine!)

Viewing 6 replies - 16 through 21 (of 21 total)