ninjja
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Editing wp-sitemap.xml@threadi , thanks for that info. I ended up going with SlimSEO late last night as I just found out that having a last modified date in the sitemap which are included by default in almost every seo plugins (at least the ones I tried) is very important for search engines.
I will give the code you gave a shot in future builds as I’ve already submitted my sitemap URL to GSC. Thanks again for diagnosing this with me!
Forum: Fixing WordPress
In reply to: Editing wp-sitemap.xml@threadi , thanks for checking. I want to hide a page from my sitemap. Specifically a thank you page. So I went to that post and grabbed the post id and added it in that code.
I added the code to the functions.php. How do I test whether it was executed? To add, I hid the users from the sitemap and the code was working/being executed, it’s only that hiding of page from the sitemap that’s not working.
Forum: Plugins
In reply to: [Custom Post Type UI] Cannot set parent/child relationshipThat worked! Thanks a ton!
Forum: Plugins
In reply to: [Custom Post Type UI] Cannot set parent/child relationshipHi Michael, I was just about to delete the post (but I can’t figure out how apparently it’s not allowed to delete a post in the forum) because I finally found out that it was because I only have 1 published page. Basically, yesterday when I did this I had two posts there, 1 in the screenshot, and another one that is draft. I editing the draft but I couldn’t find the dropdown from the page attributes so I thought it wasn’t working. After this post, I thought I’d give it a shot to create an “Account” post and now it’s working (I can see the dropdown) even prior to publishing the “Account” post.
Anyway, thanks for getting back super fast!
——–
Another question, why does my CPT slug always revert back to domain.com/help_center when viewing an actual post from that cpt even when I set it to has archive: true -> help-center (scr shot: http://prntscr.com/qYZN_7wYtDJD)However, i’m able to view domain.com/help-center and it doesn’t revert back to domain.com/help_center
Thanks