Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sorry to hear that! Maybe one little argument is off.

    One other thing to keep in mind. It’s generally considered poor practice to name custom post types without a theme- or plugin-specific prefix. For example, instead of testimonial you’d use bluelime_testimonial and then use the rewrite argument to specify a slug of testimonial.

    If you happened to try any plugins or something else that may have used a similar post type, you can run into some nasty conflicts.

    Now, I doubt that’s what’s happening here, but it’s worth mentioning.

    Best of luck!

    Yeah, your arguments look fine. I would just insert:

    flush_rewrite_rules();

    After line 62, right after you register your taxonomy. Then, reload your page (so functions.php executes) and see if it works.

    Saw your plight on Twitter, thought I might come to the rescue (or at least attempt to).

    Here are my two guesses…

    Firstly, are you setting has_archive in your register_post_type arguments to true?

    Secondly, have you tried calling flush_rewrite_rules() after your register_post_type line?

    If neither of those suggestions are applicable, I think we’ll need to see what your register_post_type args look like to provide more assistance.

    Thread Starter Tyler Sticka

    (@tylersticka)

    D’oh! After much frustration and communication with my host, it turns out when setting up my own “php.ini” they misspelled my last name in the directory name; upon swapping the two misplaced consonants, it works like a dream.

    I will mark this resolved, and my apologies to any and all who wasted their time with it! I shan’t be so hasty in the future.

Viewing 4 replies - 1 through 4 (of 4 total)