Home › Forums › All Other Themes › Change sktourclasses
- This topic has 11 replies, 2 voices, and was last updated 4 years, 6 months ago by Sonl Sinha.
-
AuthorPosts
-
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 time
May 7, 2020 at 7:25 am #151253Hi,
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.
Regards,
ChrisMay 7, 2020 at 2:52 pm #151282So, 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 #151284Apparently I have to change more, doesnt work so far.
May 8, 2020 at 11:32 am #151374Hi,
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.
Regards,
ChrisMay 8, 2020 at 3:34 pm #151380Somehow I dont get this running. I first changed
‘rewrite’ => array( “slug” => “sktourclasses” ),
to
‘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 #151508Hi,
kindly reset the permalinks.
https://imgur.com/a/6TJ633eRegards,
ChrisMay 11, 2020 at 10:12 am #151577Edit: not working
May 11, 2020 at 10:19 am #151583Now the course is not displayed in the “courses” block on the website: https://yogasante.de/kurse/
May 11, 2020 at 12:44 pm #151637Hi,
You will have to add this course again.
Regards,
ChrisMay 11, 2020 at 12:56 pm #151639Thanks again, all good now!
May 12, 2020 at 5:15 am #151671Hi,
If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/25/
Regards,
Chris -
AuthorPosts
- You must be logged in to reply to this topic.