JoeHana
7/11/2013 - 12:53 AM

Create more button @wpcasa

Create more button @wpcasa

<?php

/**
 * Create more button
 *
 * @since 1.0
 */

add_filter( 'wpsight_excerpt_more', 'custom_excerpt_more', 100);

function custom_excerpt_more() {
    return '<div class="moretag-wrap"><a class="moretag btn btn-primary" href="'. get_permalink( get_the_ID() ) . '">' . apply_filters( 'wpsight_more_text', __( 'Read more', 'wpsight' ) ) . '</a></div>';
}