Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author PressTigers

    (@presstigers)

    Hello alekma,

    Yes, it’s possible by adding the following code snippet in your theme’s functions.php file.

    /**
     * Filter the "read more" excerpt string link to the post.
     *
     * @param string $more "Read more" excerpt string.
     * @return string (Maybe) modified "read more" excerpt string.
     */
    function wp_excerpt_more( $more ) {
        return sprintf( '<a class="read-more btn btn-primary" href="%1$s">%2$s</a>',
            get_permalink( get_the_ID() ),
            __( 'Read More', 'textdomain' )
        );
    }
    add_filter( 'excerpt_more', 'wp_excerpt_more' );

    Hope it will help you. Thank you for using SJB and let us know if we can help you further.

    Thank & Regards,
    PressTigers

    Thread Starter alekma

    (@alekma)

    I add code but nothing happend, Do i need add something to content-job-listening-frid-view.php?

    Plugin Author PressTigers

    (@presstigers)

    Can you please share your website URL so that we can suggest you a solution?

    Thread Starter alekma

    (@alekma)

    Plugin Author PressTigers

    (@presstigers)

    We have gone through the provided link. You are customizing SJB templates. Above mentioned code will work with default templates of SJB.

    Kindly add “Read More” button code in grid view template that you have customized.

    Let us know if you need any further assistance.

    Thread Starter alekma

    (@alekma)

    Hello Team,

    Have the same issue of “Read more” button not appearing in both list & grid view.
    We havent changed the sjb templates at all and tried adding the code you mentioned above to theme functions.php, but still the button doesnt appear. Any thing else that we can debug/look at?

    Thanks in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add button’ is closed to new replies.