May 6, 2020 at 5:15 pm #151209
A very basic question: all my classes are currently accessible via a link containing “sktourclasses”, eg here: https://yogasante.de/sktourclasses/live-entspannung/
I would like to change this to “kurse” instead, so the link would be eg: https://yogasante.de/kurse/live-entspannung/
How/where is this possible?
Thank you for your timeMay 7, 2020 at 7:25 am #151253
Yes it is possible, sktourclasses is coming from “classes” post type.
NOTE: If you change the name of the post type, then this post will be removed. After changing the name, you will have to add this post again.
If you want to change post type name?
Kindly go to sktframe >> core_function.php find text “classes” and change it there.
ChrisMay 7, 2020 at 2:52 pm #151282
So, basically I have to change the one time “sktourclasses” is named in this file with the new name I want, correct?May 7, 2020 at 3:11 pm #151284
Apparently I have to change more, doesnt work so far.May 8, 2020 at 11:32 am #151374
So, basically I have to change the one time “sktourclasses” is named in this file with the new name I want, correct???
Ans: Yes, you can change the name of the post type only once.
ChrisMay 8, 2020 at 3:34 pm #151380
Somehow I dont get this running. I first changed
‘rewrite’ => array( “slug” => “sktourclasses” ),
‘rewrite’ => array( “slug” => “kurse” ),
in the core-functions.php
Then I created a new class. It appears in the according menu (Angebotene Kurse: https://yogasante.de/kurse/), but if you click it a 404 error shows up, instead of the courses page.May 11, 2020 at 7:10 am #151508
kindly reset the permalinks.
ChrisMay 11, 2020 at 10:12 am #151577
Edit: not workingMay 11, 2020 at 10:19 am #151583
Now the course is not displayed in the “courses” block on the website: https://yogasante.de/kurse/May 11, 2020 at 12:44 pm #151637
You will have to add this course again.
ChrisMay 11, 2020 at 12:56 pm #151639
Thanks again, all good now!May 12, 2020 at 5:15 am #151671
If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/25/
- You must be logged in to reply to this topic.