Support » Plugin: WP Auto Republish » Promote OTHER post types like Projects, or Woocommerce Products?

  • Resolved ebturner

    (@ebturner)


    Hello!

    I LOVE your plugin module. Would there be any way you can add the option to republish other post types like woocommerce products? it would be great to bring older products back into view as something “new” for visitors to consider. It would also show that “old” item at the top of my RSS feed which would be very helpful for other things like my automated feed to another service.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sayan Datta

    (@infosatech)

    Hi,

    Sorry for the late response.

    Please add this snippet on the end of your theme’s functions.php file.

    add_filter( 'wpar_supported_post_types', 'wpar_add_custom_post_types' );
    
    function wpar_add_custom_post_types( $output ) {
        $post_types = array( 'product' );
        return array_merge( $output, $post_types );
    }

    Thanks!

    Robyn

    (@impulsphase)

    Is it possible to let it work with “pages”?
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Promote OTHER post types like Projects, or Woocommerce Products?’ is closed to new replies.