• Hey I was wondering if there was a way NOT to exclude the current blog post from the list output.

    For example:
    -On Post: Blog Title A
    -CRP Available Outputs: Blog Title A, Blog Title B, Blog Title C
    -Limit=”3″
    -Current CRP Output: Blog Title B, Blog Title C
    -Wanted CRP Output: Blog Title A, Blog Title B, Blog Title C

Viewing 1 replies (of 1 total)
  • Plugin Author Ajay

    (@ajay)

    Only way I can think of, which might work is trying something like this (untested)

    
    functions crp_include_source_post( $args ) {
    global $post;
    
    $args['include_post_ids'] = $post->ID;
    
    return $args;
    
    }
    add_filter('crp_query_args','crp_include_source_post');
    
Viewing 1 replies (of 1 total)

The topic ‘Don’t Exclude Current Post?’ is closed to new replies.