Change sktourclasses

Home Forums All Other Themes Change sktourclasses

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #151209
    Andreas PohlAndreas Pohl
    Participant
    • Topics: 4
    • Replies: 15
    • Total: 19
    Member since: May 1, 2020

    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

    #151253
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30633
    • Total: 30633
    Member since: August 16, 2013

    Hi,

    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,
    Chris

    #151282
    Andreas PohlAndreas Pohl
    Participant
    • Topics: 4
    • Replies: 15
    • Total: 19
    Member since: May 1, 2020

    So, basically I have to change the one time “sktourclasses” is named in this file with the new name I want, correct?

    #151284
    Andreas PohlAndreas Pohl
    Participant
    • Topics: 4
    • Replies: 15
    • Total: 19
    Member since: May 1, 2020

    Apparently I have to change more, doesnt work so far.

    #151374
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30633
    • Total: 30633
    Member since: August 16, 2013

    Hi,

    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,
    Chris

    #151380
    Andreas PohlAndreas Pohl
    Participant
    • Topics: 4
    • Replies: 15
    • Total: 19
    Member since: May 1, 2020

    Somehow 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.

    #151508
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30633
    • Total: 30633
    Member since: August 16, 2013

    Hi,

    kindly reset the permalinks.
    https://imgur.com/a/6TJ633e

    Regards,
    Chris

    #151577
    Andreas PohlAndreas Pohl
    Participant
    • Topics: 4
    • Replies: 15
    • Total: 19
    Member since: May 1, 2020

    Edit: not working

    #151583
    Andreas PohlAndreas Pohl
    Participant
    • Topics: 4
    • Replies: 15
    • Total: 19
    Member since: May 1, 2020

    Now the course is not displayed in the “courses” block on the website: https://yogasante.de/kurse/

    #151637
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30633
    • Total: 30633
    Member since: August 16, 2013

    Hi,

    You will have to add this course again.

    Regards,
    Chris

    #151639
    Andreas PohlAndreas Pohl
    Participant
    • Topics: 4
    • Replies: 15
    • Total: 19
    Member since: May 1, 2020

    Thanks again, all good now!

    #151671
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30633
    • Total: 30633
    Member since: August 16, 2013

    Hi,

    If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/25/

    Regards,
    Chris

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.