MarketPress - WordPress eCommerce
[resolved] Products RSS Feed (4 posts)

  1. phnetwork
    Posted 3 years ago #

    Heyas... ok after like 4 hours of looking for information that would help me ... here i are ...

    I installed MarketPress earlier this evening... awesome! just one thing... well maybe 2 but they are tied together i think...

    after looking for how to get the products to their own rss feed and the 'fixes' (some even from wpmudev directly) nothing has worked so far to get the products to show up in the main feed OR a custom one...

    i used mydomain.com/feed/?post_type=Products and mydomain.com/feed?post_type=Products (which better follows my permalinking as i have no trailing /'s ) like it was mentioned at wpmudev... even added inthe custom post type plugin that was recommmended and that didnt work... and THAT plugin said that the custom post types had to be set to true...

    so off i went in search of the how to set custom post types to true... and found a place with easy enough information and so set off to check out the code in marketpress plugin itself and of course its not written anything like what the 'fix' page said... so i dont know where I would add the snippet of code of

    'has_archive' => true,


    i did find where the code was for the custom post type registration in marketpress:

    //custom post type
        add_action( 'init', array(&$this, 'register_custom_posts'), 0 ); //super high priority
    		add_filter( 'request', array(&$this, 'handle_edit_screen_filter') );

    but i'm not exactly sure where i'd just slip in the has archive = true setting in that snippet...

    so help with that coding ... OR someone to let me know about work around without editing much to get the RSS feed for the Products done... that would be awesomesauce....

    thanks for your time...


  2. phnetwork
    Posted 3 years ago #

    oh ... and in the the feed links provided ... i forgot to mention that the blog articles were still getting pulled which sucked too ... so if there's a way to create a fast function that ignores 'standard' posts and includes 'products' custome posts... that would be the cat's meow for sure :)

  3. phnetwork
    Posted 3 years ago #

    ROFL omg ... i left for like five mins do one more search and found a fix that worked...

    sorry for the book i wrote :) <blush> closing this

  4. phnetwork
    Posted 3 years ago #

    dur... forgot to check the close topic box... right going to bed now LOL

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MarketPress - WordPress eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic