diff --git a/admin/admin.php b/admin/admin.php index 287ec65..b26e4bd 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -78,6 +78,7 @@ function crp_options() { $crp_settings['after_list'] = wp_kses_post( $_POST['after_list'] ); $crp_settings['before_list_item'] = wp_kses_post( $_POST['before_list_item'] ); $crp_settings['after_list_item'] = wp_kses_post( $_POST['after_list_item'] ); + $crp_settings['after_link'] = $_POST['after_link']; $crp_settings['exclude_on_post_ids'] = $_POST['exclude_on_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_on_post_ids'] ) ) ); $crp_settings['exclude_post_ids'] = $_POST['exclude_post_ids'] == '' ? '' : implode( ',', array_map( 'intval', explode( ",", $_POST['exclude_post_ids'] ) ) ); diff --git a/admin/options-output.php b/admin/options-output.php index 12966bb..aa0e484 100644 --- a/admin/options-output.php +++ b/admin/options-output.php @@ -214,6 +214,12 @@ + + + +

+ + ID ) . '" ' . $rel_attribute . ' ' . $target_attribute . 'class="crp_title">' . $title . ''; // Add title if post thumbnail is to be displayed after + $output .= '' . $title . ''; // Add title if post thumbnail is to be displayed after } if ( 'inline' == $post_thumb_op || 'after' == $post_thumb_op || 'thumbs_only' == $post_thumb_op ) { - $output .= ''; + $output .= ''; $output .= crp_get_the_post_thumbnail( array( 'postid' => $result->ID, 'thumb_height' => $thumb_height, @@ -226,7 +226,7 @@ function ald_crp( $args = array() ) { $output .= ''; } if ( 'inline' == $post_thumb_op || 'text_only' == $post_thumb_op ) { - $output .= '' . $title . ''; // Add title when required by settings + $output .= '' . $title . ''; // Add title when required by settings } if ( $show_author ) { $author_info = get_userdata( $result->post_author ); @@ -889,6 +889,7 @@ function crp_default_options() { 'after_list' => '', // After the entire list 'before_list_item' => '
  • ', // Before each list item 'after_list_item' => '
  • ', // After each list item + 'after_link' => '', // After each link 'exclude_categories' => '', // Exclude these categories 'exclude_cat_slugs' => '', // Exclude these categories (slugs)