meattle
Forum Replies Created
-
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] stretched and elongatedYou’re welcome!
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] stretched and elongatedWhen thumbs in 300 size the block is not in the middle
To center, try:
.yarpp-thumbnails-horizontal {
display: flex;
flex-wrap: wrap;
}ps. for the best share buttons (we’re biased :)), try our other plugin – https://wordpress.org/plugins/shareaholic/
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] stretched and elongatedNow cut but not streched
If you’re OK with potentially showing padding around the thumbnail, try:
.yarpp-thumbnails-horizontal .yarpp-thumbnail > img {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
}in settings is an option to regenerate as I remeber, istn’t?
Yes, there is.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] stretched and elongatedAlso, this may be helpful:
To change “yarpp-thumbnail” size, add the following to your theme’s
functions.phpfile with appropriate width and height variables:add_image_size( 'yarpp-thumbnail', $width, $height, true );When you do this, make sure you also set the YARPP setting “Thumbnail Size” to “yarpp-thumbnail”.
Each time you change YARPP’s thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. We highly recommend the Regenerate Thumbnails plugin for this purpose.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] stretched and elongatedHi @istok
For (1) — the stretching issue — please try adding the following CSS:.yarpp-thumbnails-horizontal .yarpp-thumbnail > img {
object-fit: cover !important;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail{
height: auto !important;
}This should prevent the images from being distorted and allow the boxes to adjust properly to the title height.
For (2) – could you please switch the thumbnail width to 300px and let us know? Seeing it live will help us better understand what might be affecting the alignment.
Thanks!
Hi @fredthetruth — thanks for flagging this.
We identified an issue where the content indexer had stopped processing. This has been fixed, and the indexer is now running and catching up. There is a backlog of several million pages, so indexing may take a bit of time to fully reflect.
In the meantime, please try clicking “Re-index content” and let us know if you see updates on your end. We’re happy to double-check as well.
Thanks for your patience 🙏
Hi @iamskrana I’m not quite following. Can you please try to rephrase the question?
return 30;can be any number – more or less. It represents the number of words to return.Thanks for reaching out!
To increase the excerpt length in YARPP, you can try adding the following filter to your theme’s functions.php file:
function custom_excerpt_length( $length ) {
return 30; // Change 30 to the desired number of words
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );After adding this, please clear any caching (both site and plugin level) and recheck your related posts output.
Forum: Reviews
In reply to: [YARPP - Yet Another Related Posts Plugin] Great so far!Hi @powderboy Relevancy controls are in your hands – can be tweaked from the settings. You can customize match factors, including setting a custom match threshold.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] No Realted Posts on Every Post@gale13 could you please check if there are entries populating in the
yarpp_related_cachemysql table? Have you tried tweaking your YARPP threshold settings?Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Title font size?You’re welcome!
P.s. for Social Sharing, our sister plugin – https://wordpress.org/plugins/shareaholic/
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Title font size?This should help – https://world.siteground.com/kb/add-custom-css-wordpress/
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Title font size?@yolswan if you have a caching plugin, you should try clearing the cache. Also within your SiteGround Optimizer options, I would try not combining CSS files and try tweaking some other settings. Make sure you clear your cache each time.
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Title font size?@yolswan when I visit your website, it seems like the theme is broken? In any case, you can use the following CSS to target YARPP’s titles for the YARPP template that you have enabled:
.yarpp-related .yarpp-thumbnail-title {
font-size: 12px !important;
font-weight: 700 !important;
text-align: left !important;
}