• Resolved vartdomen

    (@vartdomen)


    I created an ads archive template – CPT archive – on the same site where you corrected the previous error. I created an archive page – obyavleniya, and indicated that it is archived for ads (link the CPT archive template). But when I go to the archive page, it is empty…

    • This topic was modified 6 months, 2 weeks ago by vartdomen.
Viewing 1 replies (of 1 total)
  • Plugin Author George Pattichis

    (@pattihis)

    Hello @vartdomen

    This is again not related to my CPT plugin. I did not correct anything in your previous support request of yours, I only confirmed that everything was working properly. You should understand that this plugin is used only to register new CPT/Taxonomies, not to display them. And you have registered your CPTs correctly. What you do with them thereon though, is out of our scope here.

    These issues you are having are probably because of your theme, its templates and the way you setup your pages.

    For example I did a search on your site for obyavleniya :
    https://mwc.rezolute.iron.hostflyby.net/?s=obyavleniya
    I see two ads:

    If I click the category name on one of those, we see an empty archive template at
    https://mwc.rezolute.iron.hostflyby.net/ads-categories/dveri/

    This means your theme templates are not properly setup.

    The same with your ads archive at https://mwc.rezolute.iron.hostflyby.net/obyavleniya/
    It’s empty, not because the Simple-CPT Plugin is not working, not because you don’t have Ads, but probably because your theme’s templates are not properly setup to display the archive query:

    The body classes confirm that we are at the correct template, the archive template for your ads, but we see no ads. We know there are two from the Search template I mentioned earlier.

    Again, my plugin has no problems, you are using it correctly, your CPT is registered properly, you have created Ads, but your frontend display method is not right. Please reach out to your theme author for more assistance on this.

    Hope this helps you out, thanks!

    Kind regards,
    George

Viewing 1 replies (of 1 total)
  • The topic ‘CPT archive template not showing on archive page’ is closed to new replies.