This topic is: resolved

Rename Sermons URL

  • thomas30
    Participant
    Post count: 45
    # 10 months, 2 weeks ago

    Hi Support,

    I managed to change Sermons, Sermons-Speakers, Sermons-Category and etc using Loco Translate plugin.

    However, I cannot find the way to rename the Sermons URL. For example,
    <domain name>/sermons/…
    <domain name>/sermons-category/…

    May I know where should I go to change this Sermons URL? If Loco Translate plugin is not working in this case.

    SupportSupport
    Participant
    Post count: 5
    # 10 months, 2 weeks ago

    Thanks for contacting imithemes support, support staff will contact you shortly and assist you at above query.

    Support response time can be upto 24-48 hours on weekdays and 48-72 hours on weekends.

    please be patient

    thomas30
    Participant
    Post count: 45
    # 10 months, 2 weeks ago

    Hi Support,

    Please help me to move this ticket from Feature Request to Normal ticket.

    AuthorAuthor
    Keymaster
    Post count: 26641
    # 10 months, 2 weeks ago

    Hi there

    I have assigned this thread to my support guy and he will be assisting you soon.

    Thanks

    PS. I have changed the forum category for you.

    ManishManish
    Moderator
    Post count: 8018
    # 10 months, 1 week ago

    Hi @thomas30,

    It will require customization inside theme’s code.Please let me know with which strings you would like to replace “sermons” and “sermons-category”.

    Thanks

    thomas30
    Participant
    Post count: 45
    # 10 months ago

    Hi Manish,

    Thanks for your reply.

    I would like to change URL:
    1) “sermons” to “media”
    2) “sermons-category” to “channel”

    The final output should be:
    1) http://www.example.com/media
    2) http://www.example.com/channel

    Please let me know where to find this theme’s code. I will change it myself.

    ManishManish
    Moderator
    Post count: 8018
    # 10 months ago

    Hi @thomas30,

    You can find code of this custom post type inside “sermon-type.php” file.

    FILE LOCATION : wp-content\themes\NativeChurch\imic-framework\custom-post-types\sermon-type.php

    Thanks

    thomas30
    Participant
    Post count: 45
    # 9 months, 3 weeks ago

    Hi Manish,

    I tried to search “sermons-category” text in the sermon-type.php file.
    And then, I tried to change 3 search results related to “sermons-category” to “channel” but it not works as expected.

    May I know which value i need to change it in order to get the final output?

    The final output should be:
    1) http://www.example.com/channel

    thomas30
    Participant
    Post count: 45
    # 9 months, 3 weeks ago

    Hi Manish,

    I have seen one of user “jigrayston” also has same issue below like me.

    http://support.imithemes.com/forums/topic/renaming-sermons-final-issues/

    Please share the solution with me as well.

    AuthorAuthor
    Keymaster
    Post count: 26641
    # 9 months, 2 weeks ago

    @manish Please follow up on this. Thanks

    ManishManish
    Moderator
    Post count: 8018
    # 9 months, 2 weeks ago

    Hi @thomas30,

    Please find attached child theme below, it will replace the required strings in URL:

    https://d.pr/0yIr0c

    Thanks

    thomas30
    Participant
    Post count: 45
    # 9 months, 1 week ago

    Hi Manish,

    I have tested your solution. It will cause Page Error 404 when I choose the Category or Tag or Speakers in order to filter the post.

    Thanks.

    ManishManish
    Moderator
    Post count: 8018
    # 9 months, 1 week ago

    Hi @thomas30,

    Please reset permalink inside Settings -> Permalink after activating the theme.

    Thanks

    thomas30
    Participant
    Post count: 45
    # 9 months, 1 week ago

    Hi Manish,

    I reset the permalink. Here are my findings:

    It’s work 🙂
    Click the Category type in the widget at right side. It displays all categories.
    The URL is >>>
    http://www.example.com/channel/abc-category

    It’s not work 🙁
    However, when I click the Tag or Speaker in the widget at right side. It not displays any Tag or Speaker result.
    The URL is >>>
    http://www.example.com/?sermons-speaker=abc-speaker
    http://www.example.com/?sermons-tag=abc-tag

    May I know how to solve it? It seems like the Category is working. But it does not solve the Tag and Speaker yet.

    Thanks.

    ManishManish
    Moderator
    Post count: 8018
    # 9 months ago

    Hi @thomas30,

    Please let me know with which strings you would like to change “sermons-speaker” and “sermons-tag” so that I can share the required code with you.

    Thanks

    thomas30
    Participant
    Post count: 45
    # 9 months ago

    Hi Manish,

    I want to replace any “sermons” word to “media”.

    For example:
    1) Replace “sermons-tag” with “media-tag”
    2) Replace “sermons-speaker” with “media-speaker”

    Thanks.

    ManishManish
    Moderator
    Post count: 8018
    # 9 months ago

    Hi @thomas30,

    Please find “sermon-type.php” file attached below and replace it with existing one inside child theme’s folder:

    https://d.pr/8id1nA

    FILE LOCATION: wp-content\themes\NativeChurch-child\custom-post-types\sermon-type.php

    Thanks

    thomas30
    Participant
    Post count: 45
    # 9 months ago

    Hi Manish,

    Thanks for your help.

    I still can find “sermons” word in the URL under these 2 conditions:

    Condition 1
    When I open the single sermon page. I still can see “sermons” word in the following URL:
    http://www.example.com/?sermons=TestPost

    Condition 2
    When I use filter page and take 2 values to filter the page. For example, I take “Media-Category” and “Media-Tag”. I still can see “sermons-category” and “sermons-tag” in the following URL:
    http://www.example.com/?sermons-category=TestCategory&sermons-tag=TestTag

    ManishManish
    Moderator
    Post count: 8018
    # 9 months ago

    Hi @thomas30,

    Can you please share your site’s login details along with FTP server details here in private reply as it will require customization in theme’s core files which I need to check on your server.

    Thanks

    thomas30
    Participant
    Post count: 45
    # 8 months, 4 weeks ago

    Hi Manish,

    Please inform me which theme’s core files that I need to change. So it will be easier for me to track the change record myself in the future upgrade until this feature is added in the future release.

    ManishManish
    Moderator
    Post count: 8018
    # 8 months, 4 weeks ago

    Hi @thomas30,

    Changes need to be done inside “template-sermons.php” and ” imic-theme-functions.php” files on your server.

    Thanks

    thomas30
    Participant
    Post count: 45
    # 8 months, 3 weeks ago

    Hi @manish,

    I need to change which code in these 2 files “template-sermons.php” and “imic-theme-functions.php”?

    ManishManish
    Moderator
    Post count: 8018
    # 8 months, 3 weeks ago

    Hi @thomas30,

    Please share your site’s login details along with FTP server details here in private reply as I need to pass the static URL there along with the other changes.Once I do the changes on your server, I’ll notify you about the modified files so that you can keep track of them.

    Thanks

    thomas30
    Participant
    Post count: 45
    # 8 months, 2 weeks ago
    This reply has been marked as private.
    AuthorAuthor
    Keymaster
    Post count: 26641
    # 8 months, 2 weeks ago

    @manish Can you please follow up on this? Thanks

Viewing 25 posts - 1 through 25 (of 34 total)

The topic ‘Rename Sermons URL’ is closed to new replies.