Skip to content

Commit

Permalink
Removing read more link from search results
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 28, 2024
1 parent de17130 commit 472a7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function sk_do_search_loop() {
add_filter( 'genesis_pre_get_option_content_archive_limit', 'sk_content_limit' );

// modify the Content Limit read more link.
// add_filter( 'get_the_content_more_link', 'sp_read_more_link' );
add_filter( 'get_the_content_more_link', 'sp_read_more_link' );

// force excerpts.
// add_filter( 'genesis_pre_get_option_content_archive', 'sk_show_excerpts' );
Expand Down

0 comments on commit 472a7f9

Please sign in to comment.