Results 1 to 7 of 7

Thread: Jetpack XML Sitemap is not recognizing Classipress' custom post type (ad_listing)

  1. #1
    Thread Starter
    Veteran ejikoala's Avatar
    Join Date
    Sep 2009
    Location
    United States
    Posts
    345
    Thanks
    6
    Thanked 19 Times in 15 Posts

    Jetpack XML Sitemap is not recognizing Classipress' custom post type (ad_listing)

    I followed these instructions and then I followed them again and just to make damn sure I didn't mess up I followed them again!

    https://developer.jetpack.com/2016/0...-type-support/

    I added this block of code to functions.php of my classipress CHILD theme...

    PHP Code:
    function add_ad_listing_to_xml_sitemaps$post_types ) {
        
    $post_types[] = 'ad_listing';
        return 
    $post_types;
    }
    add_filter'jetpack_sitemap_post_types''add_ad_listing_to_xml_sitemaps' ); 
    It has been over two weeks and there still is not a classipress ad in my sitemap. It would be great if someone could provide a hint as to why it's not working.
    Was this post helpful? Click the "Thanks" button below.

  2. #2
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,062 Times in 1,000 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Veteran ejikoala's Avatar
    Join Date
    Sep 2009
    Location
    United States
    Posts
    345
    Thanks
    6
    Thanked 19 Times in 15 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Was this post helpful? Click the "Thanks" button below.

  4. #4
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,062 Times in 1,000 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    Veteran ejikoala's Avatar
    Join Date
    Sep 2009
    Location
    United States
    Posts
    345
    Thanks
    6
    Thanked 19 Times in 15 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Was this post helpful? Click the "Thanks" button below.

  6. #6
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,062 Times in 1,000 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Thread Starter
    Veteran ejikoala's Avatar
    Join Date
    Sep 2009
    Location
    United States
    Posts
    345
    Thanks
    6
    Thanked 19 Times in 15 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Was this post helpful? Click the "Thanks" button below.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Plugin issue Custom Post Type Permalinks and classipress
    By g2eat in forum ClassiPress General Discussion
    Replies: 1
    Last Post: August 9th, 2016, 11:14 PM
  2. Jomark CUSTOM POST TYPE Errors
    By kamaldawani in forum Help Using JobRoller
    Replies: 3
    Last Post: December 21st, 2013, 10:43 AM
  3. Adding Custom Column to Ad_listing post type
    By graemej in forum ClassiPress General Discussion
    Replies: 1
    Last Post: December 20th, 2013, 09:37 AM
  4. Creating custom post type
    By pfadmin in forum ClassiPress General Discussion
    Replies: 2
    Last Post: April 3rd, 2012, 09:44 AM
  5. Name of custom post type
    By chazmo in forum Report JobRoller Bugs
    Replies: 1
    Last Post: July 10th, 2011, 09:24 AM