WordPress.org

Ready to get started?Download WordPress

Forums

The Bootstrap
[resolved] Category archive for custom post types (2 posts)

  1. ak.singla
    Member
    Posted 8 months ago #

    Hello,

    I'm creating a child theme over The Bootstrap.

    I have successfully registered my custom posts: Projects
    - - http://www.omaksolutions.com/clients/peterkentley/oma-clone/?projects=rock-solid-protection-from-deadly-waves

    This is a Projects type post.

    The problem is" "why this link is not working?"
    http://www.omaksolutions.com/clients/peterkentley/oma-clone/projects

    This should show all projects type posts, but it just gives an error/or not found.

    Please let me know where I'm wrong. I can provide you with the register_post_type() code that I've used.

    Thanks,
    ~Ankit

  2. ak.singla
    Member
    Posted 8 months ago #

    It is resolved.

    I had a function hooked in to alter pre_get_posts that created a query over non post-type-object.

    Fixed now.

    Thanks.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.