James Frazier
Forum Replies Created
-
Forum: Reviews
In reply to: [NS Cloner - Site Copier] The Perfect Plugin for DuplicatingKind words and generous with your free plugin? How do I give you 10 stars? ?? Thank you. ??
- This reply was modified 3 years, 6 months ago by James Frazier.
You created that video, @leobughi. That was SUPER helpful!
Thank you, @themehigh. I have submitted a support ticket through the site and look forward to a resolution. If I get one, I’ll be sure to share here, @leobughi.
Hello. I am experiencing the same issue. Was there a resolution here or were you able to replicate?
https://drive.google.com/open?id=1CFUdIWt9wLw_Pz–nNW62B-jXTj4FfmS
- This reply was modified 5 years, 2 months ago by James Frazier.
- This reply was modified 5 years, 2 months ago by James Frazier.
Forum: Plugins
In reply to: [DK PDF - WordPress PDF Generator] .png images not showing in PDFsI see the red [X] appear when on versions of PHP higher than 5.5.38. I recently changed my MAMP install to PHP version 5.6.31 and the images were no longer showing. I switched back to 5.5.38 and also tried 5.4.45 and the images are showing again.
When I was debugging in PHP version 5.6.31 using the
$mpdf->showImageErrors = true;
method above, I received the following error:“mPDF error: IMAGE Error (//localhost:3000/wp-content/uploads/2017/10/logo-jsslaw-all-gray.png): Could not find image file”
I tried replacing the
src="<?php echo $pdf_header_image_attachment[0];?>"
in the dkpdf-header.php file to the relative path of the image (no //localhost:300) and still no luck. I confirmed it was in the uploads folder under the correct path. I assume it would not work for previous versions of PHP if the path was incorrect.Is there a “best practice” in terms of what PHP version we should be using to ensure DK PDF’s best performance?
Also, if the following method brought up by @justtryit87 is the correct solution, where does the code below need to be placed?
$siteURL = get_site_url()."/"; $imgurl = get_the_post_thumbnail_url(); $imgurlonly = str_replace($siteURL,"",$courseImg);
Thank you in advance! This is a great plugin!
Never mind. I was able to use
<a class="dkpdf-button" href="<?php echo esc_url( add_query_arg( 'pdf', $post->ID ) );?>" target="_blank"><span class="dkpdf-button-icon"><i class="fa fa-file-pdf-o"></i></span> <?php echo $pdfbutton_text;?></a>
from/wp-content/plugins/dk-pdf/templates/dkpdf-button.php
in my template file. Works great!Forum: Plugins
In reply to: [DK PDF - WordPress PDF Generator] Has anyone gotten CSS working?Hi @takeok,
I had some trouble with this too, at first. The only way I was able to manage to get the CSS working was to be very simple with my selectors. For instance, I use Enfold and could not target
#professionals .container .template-page .flex_column.first .av-special-heading h1
. I eventually tried a simplistic version of this targeting#professionals .first .av-special-heading h1
and was able to get the CSS working.Be as simple as possible.
I hope that helps you. Good luck.
James