Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,

    thanks for reaching out and sorry for the late reply – for example I made this custom post type ( ‘a_product’):

    add_action( 'init', 'create_post_type' );
    function create_post_type() {
    register_post_type( 'a_product',
    array(
    'labels' => array(
    'name' => __( 'Petra' ),
    'singular_name' => __( 'Petra' )
    ),
    'public' => true,
    'has_archive' => true,
    )
    );
    }

    And then I have changed the init.php file of the plugin like so (just added the || ‘a_product’ after ‘post’ ):
    if ($content != "" && $post->post_type === 'post' || 'a_product' && (($options["on_single_post"] && is_single()) || (is_feed() && $options["on_rss"])))

    Let me know how it goes,
    Petra

    Would be great if custom post types were included by default.

    Any chance of this happening in a future release?

    Hey,

    thanks for reaching out – we are thinking about adding this but I can’t give you any promises if or when this will be added to the plugin, sorry!

    Take care and have a lovely day,
    Petra

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom post types’ is closed to new replies.