OK – UPDATE (i can’t find how i am update the previous message)
IT IS WORKING… Thank you SO MUCH Chouby. your intention was 100% ,
what i was doing that i add an array in the costume post type
in functions.php
$rewrite = array(
'slug' => 'foa-reports',
'with_front' => false,
'pages' => true,
'feeds' => false,
);
and in the args i was add this line
‘rewrite’ => $rewrite,
and after this i save the permalinks again in wordpress and it is worked – Success
So again, thank you very very much.
-
This reply was modified 5 years, 10 months ago by gddesign.
Thank you Chouby ,
Indeed i use in the server for the post type “reports” the name of the file
archive-reports.php , so you suggest that i will change the file name?
OR in the function.php where i create the post type i will add this row (now it is not there)
‘rewrite’ => array(‘slug’ => ‘foa-reports’),
Are you think it should work like this ? (and i keep In management the page (in pages) in hebrew as “דוחות” and in the english page “reports” for the url…)
What you say ?