Truncated Post Titles on Thumbnails
-
My Post titles as Thumbnails are being trimmed, is there a way to prevent this, i.e. show the full title always?
Below is the code I am using, am I missing a param perhaps?
yarpp_related(array( // Pool options: these determine the "pool" of entities which are considered 'post_type' => array('talks'), 'show_pass_post' => false, // show password-protected posts 'past_only' => false, // show only posts which were published before the reference post 'exclude' => array(), // a list of term_taxonomy_ids. entities with any of these terms will be excluded from consideration. 'recent' => false, // to limit to entries published recently, set to something like '15 day', '20 week', or '12 month'. // Relatedness options: these determine how "relatedness" is computed // Weights are used to construct the "match score" between candidates and the reference post 'weight' => array( 'body' => 1, 'title' => 2, // larger weights mean this criteria will be weighted more heavily 'tax' => array( 'talk-tags' => 3, 'topic' => 2 ) ), // Specify taxonomies and a number here to require that a certain number be shared: /*'require_tax' => array( 'post_tag' => 1 // for example, this requires all results to have at least one 'post_tag' in common. ),*/ // The threshold which must be met by the "match score" 'threshold' => 5, // Display options: 'limit' => 8, // maximum number of results 'order' => 'score DESC' ), $reference_ID, // second argument: (optional) the post ID. If not included, it will use the current post. true);
https://www.ads-software.com/plugins/yet-another-related-posts-plugin/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Truncated Post Titles on Thumbnails’ is closed to new replies.