I want to create a survey plugin, the survey questions will be a custom post type. I want to display selected questions only on a page. My question is that how can I make the archives page for my CPT be disabled. For instance, when I edit the URL http://localhost/wordpress/survey/surveyquestion1 to http://localhost/wordpress/survey it displays all the questions which I don't want to happen.
Anyone can answer my question. I am new to Wordpress development coz before I was using predefined themes and plugins now I am exploring how to create my own themes and plugins. I don't need someone that will just vote down this question or redirect me to other question bcoz I already search for a possible duplicate. I just need people that will explain it to me. Thanks for reading this. God bless.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire