thanks to @TheDeadMedic, I found the solution.
I used reserved terms, and that’s why WordPress interpreted my inputs as query parameters.
so for example with my categorys, I had to change my classes in my form :
'post_category' => array($_POST['cat']), // Usable for custom taxonomies too
by
'post_category' => array($_POST['my_cat']), // Usable for custom taxonomies too
and in my form the class name “cat” by “my_cat”.
I had to change this every time I used a reserved term.
and now it works perfectly fine !
Related Posts:
- Template hierarchy about pagination after front-page.php
- Why is my archive.php redirecting to front-page.php?
- When to use is_home() vs is_front_page()?
- How to add “Stick this post to the front page” to front end?
- How can I lock down an old wordpress install I don’t intend to update?
- WordPress Posts By Date/Day?
- How can I get the Month Name from Archive?
- Archive widget – limit number of months to 12
- Optimal way to redirect home page to category archive?
- Including post_type = ‘wiki’ in author archives
- Output yearly archive within a page
- How to show specific year archive into dropdown list
- Archive filtering posts by year and month
- How to get the date dynamically from archive.php to date.php?
- How to make a custom Archive Page
- How can I change the way dates shown in the archive widget?
- how do I get the date in a date archive page
- Arrange and separate posts
- How can I organize/create an archive listing by Year and month
- How to edit archive page’s content inside wordpress dashboard?
- Archive pages for posts based on their taxonomy?
- How can I get archives for specific category without category_base in the url?
- is_home() in HTML head
- Remove author archive
- Preview Post/Custom Post types in Archive
- Displaying year, month and day archives differently
- What does choosing a Post Page do?
- When i try to open archive pages i get a 404 error
- Loop first six posts in carousel, next eight in grid
- How to show year/month archive including months with no posts
- Archive links don’t work when clicked
- wp_get_archives() display months even if there is no posts
- how do I encode links to specific archive searches?
- Some archive by year page return 404
- Group Posts by Category in Monthly Archive
- Loop through years and months in WordPress archives
- Dropdown to select posts by month and then displaying those posts in the archive page
- How to filter by date & a specific custom post type post-WP 4.4?
- Having a problem with Next and Previous Links
- ‘Archive’ folder for posts and pages
- Filter post by clickable year [duplicate]
- Wrap the “show_post_count” between div
- Is a list page usually called an archive page in WordPress?
- Get current title of archive.php
- I want my yearly archives to show a list of all posts
- What file is the standard frontpage that lists all the posts?
- How can I modify this to show number of posts-per-month?
- How to count the number of archives there are
- Get archives as array
- Archive page showing wrong month
- Create an archive listing based on meta array
- Can’t Access Sessions or Variables through pages
- How to make an archive page template using WordPress 3
- How to display an archive with multiple authors
- How to Get The Excerpt of the page that displays Blog Posts
- Where is the content that is outputted by get_the_archive_description()?
- Create simple columned archive page
- I created a normal page, but the page displays as an archive page
- How to hide specific post type from archive?
- I want to load a pre-built php page (and assocated scripts/styles/directories) as the front page. How do I go about this?
- How to get the Custom Post Type Archive inside a folder
- Blog pages show at most unrecognized by code
- Combining custom taxonomy posts with default posts on one archive page
- Create a custom URL for blog archive
- Custom archive pages without “the loop”
- How to get type of archive whether it is post or date or category archive?
- Display an archives name
- How can I create a master archive?
- 1 post per category on homepage and counting those posts
- Over 500.000(!) unwanted archive pages, major duplicate content problem
- Why can’t I gain access to my homepage images?
- Link back to (paged) archive and find the correct page
- How to show taxonomy on front page
- How can I noindex my archive pages?
- Link to index.php from home.php?
- I want to be able to access archives to see how recently a post has been read: How can I do that?
- ‘Nothing found’ on home page after custom CSS edit
- google index an Post type page I do not want
- Change Title Based on Taxonomy Filter in archive-{cpt}.php
- How to remove or hide archive page?
- How to add dynamic content in title and meta description in wordpress theme for homepage, post page, category, tag and pages
- How can I modify wp_get_archives() to not use archive.php template?
- Wonderflux Framework Static Homepage
- Archives widget doesn’t work?
- Post as frontpage – avoid duplicate content
- Yearly Archive Page?
- date.php shows only three posts’ title. how to fix it?
- How to hide the year in archive link
- Show recent posts in single-post page
- How to edit wordpress post without republishing
- Is each issue of a magazine site a static page
- How can i display in themplate file only a few post
- how to hide all posts under one category
- Filter the post listing for a particular category from archive month list
- plugin: ‘init’ hook, check if we’re not in admin
- How to have infinite scroll consider passed parameters?
- How to display the archive for native posts
- Show custom category archive as front page and remove taxonomy slug from urls
- My Website’s Main URL redirects me to an Archive Page
- printing taxonomy and meta fields values