Skip to main contentSkip to footer

Relevanssi Premium 2.2.4.2 is a small bug fix, again fixing unexpected little details for the related posts feature. There was some deprecated JS code in the plugin, which caused issues for users who didn’t have the migration code on their site. Here’s the full changelog:

Those new actions can be quite helpful in some cases; they turned out to be necessary when I added related posts to my site Kirjavinkit. I’m working on a thorough guide on the Related posts feature and will explain there how the actions can be used.

The new version is available through automatic updates and from the download page.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

Indexing embedded PDFs for the parent post

…) { $block[‘innerContent’] = array( get_post_meta( $block[‘attrs’][‘pdfID’], ‘_relevanssi_pdf_content’, true ) ); } return $block; } Wonderplugin PDF Embed Wonderplugin PDF Embed uses a similar method; the URL of the attachment is in the attribute src. add_filter( ‘relevanssi_content_to_index’, ‘rlv_wonderpdf_content’, 10, 2 ); function rlv_wonderpdf_content( $content, $post ) { $m = preg_match_all(……WordPress. Thus, Relevanssi won’t know the PDF is embedded in the post and cannot index the PDF contents for the parent post. Most of these plugins use shortcodes to embed the PDF viewer on a page. To get Relevanssi to index the embedded PDF contents for the parent post, you……need to establish a connection between the PDF and the post, based on the URL in the shortcode. The same code works with different PDF embedders; you only have to adjust the regex to match the shortcode used by the plugin. WordPress Core File block If you use the default…

Related Posts:

Comment Section:

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed