Forum Replies Created
yeahhh, I have found it, and it works, Thank you
Hello Nayeem Riddhi,
many thanks for the support.
Unfortunately I’m not a developer.
Can you please show me what you have replaced in which line of the search.php.
Thanks a lot for this.
Best regards
Thomas
Hello Nayeem Riddhi,
at the Attire Template File search-result-wpdmpro.php I tried the following, but it has no effect, no “test” is outputed either.
<?php
/**
* Base: wpdmpro
* Developer: shahjada
* Team: W3 Eden
* Date: 2/1/20 19:40
*/
if(!defined(“ABSPATH”)) die();
?>
<div class=”media”>
<div class=”mr-3″>
<?php echo do_shortcode(‘
pdf_thumb_80x110
’); ?>
<?php echo “test”; ?>
<?php the_post_thumbnail(); ?>
</div>
<div class=”media-body”>
<h3 class=”search-result-title”><?php the_title(); ?></h3>
<?php _e(‘Last updated on ‘, ‘attire’); ?> <?php echo get_the_modified_date(); ?>
</div>
</div>
Hi,
maybe it is the Template search-result-wpdmpro.php from the Attire Theme.
This is the code for the thumbnail
<div class=”mr-3″>
<?php the_post_thumbnail(); ?>
</div>
Does the Shortcode [pdf_thumb_WxH] work on that Template?
best regards
Thomas
-
This reply was modified 4 years, 4 months ago by
Thomas Sator.
At this Page I would like to have a PDF preview at each search results.
https://magazin-mobil.wdv-content.de/?s=brandenburg
Hello Nayeem Riddhi,
I dont use any Shortcode here, it is just the WordPress Search of Gutenberg.
I use a search Plugin for the PDF File Search (WP Fulltext Search Pro), but the output is plain WordPress.
I use the WPFTS Add-on for WP Download Manager as a Bridge between WPFTS Pro and WPDM.
The Theme is Attire Version: 1.8.5
The Download Manager Plugins are:
WPDM – Page Template
WPDM – Gutenberg Blocks
WPDM – Extended Short-codes
WPDM – Button Templates
best regards
Thomas
Hello,
Great thanks, that works well so far. The only thing missing now is the PDF preview in the
search results.
If there is a solution for this, it would be perfect 😀
Thanks and best regards