Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rezon2000

    (@rezon2000)

    Alright thank you

    Thread Starter rezon2000

    (@rezon2000)

    I’ve searched through almost all the files trying to find where the custom post type (CPT) for Services is registered but haven’t found the has_archive setting. Is there something else I should be looking for, or could it be under a different name?

    If I create a new URL like /our-services/, the issue is that the service category pages will still rely on /services/, e.g., /services/example.

    Another problem is with the /projects/ URL. I deleted the Projects page, and while I coded it to land on a 404 page, the search engines still show “Projects Archive,” and when clicked, it opens the 404 page. How do I handle this properly so the archive no longer shows up in search results?

    Thanks

    Thread Starter rezon2000

    (@rezon2000)

    Thank you for your reply. I’ve tried looking for the has_archive setting in most of the theme files, including functions.php, rdtheme.php, general.php, and several others, but I haven’t had any luck locating it. I’ve seen some of the code related to the service archive, but none of it includes the has_archive you mentioned.

    Is there a chance it could be registered differently or in an unexpected location within the theme? Also, are there specific files where the archive function should be typically located, so I don’t waste time looking through unnecessary files? Any further guidance would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)