bjrnet21
Forum Replies Created
-
How is this resolved??????????????????
Did some checking today. It appears the plug-in Social Warfare on my site was the problem. When I disabled Social Warefare, WP-Statistics came back alive and also fixed a problem I was having with the WP editor.
I have disabled this plugin. It is broken!!!!!!!!!!!!!!!!
Yes, I am getting the same. WP Statistics no longer loading. Keeps attempting to load forever. I have the latest WP and WP Statistics installed.
Forum: Plugins
In reply to: [WP Statistics – Simple, privacy-friendly Google Analytics alternative] ErrorSame problem here!
Solved.
Problem solved. I don’t know why, but I had a plugin called “Noindex Nofollow All Posts” active. After disabling it, I get the proper settings.
Yes, I have WordPress 4.9.7 and Yoast SEO v7.8.
I thought it might be a conflict. I will investigate.
Forum: Plugins
In reply to: [footnotes] Issue when printing pageIn case my post was confusing – What I meant was that, when you print, the entire footnote is displayed as if it were not a footnote – inline with the rest of content.
Forum: Plugins
In reply to: [a3 Lazy Load] Youtube – Defer parsing of JavaScriptLooks like if a Youtube video is near the top – visible on first load of page – it gets loaded.
For those pages, I now use an alternate loading method which works great. I found it at https://www.labnol.org/internet/light-youtube-embeds/27941/ .
You need to take a snapshot of the YouTube video page and make an image. Then use code like:
<div class=”youtube-player” style=”margin-left: auto; margin-right: auto;” data-id=”xxxxxxxxxxxx”>
</div>Some script + styles also has to be added to the page.
Example: https://www.blackjackreview.com/wp/encyclopedia/xyz/
You will notice that the first video on the page uses the labnol.org technique and the next video uses the lazy load technique. It gets a A(97%) + A(96%) on GTmetrix and loads in 1.8 seconds. Before the labnol.org technique was added it got grades of B’s and an F for the “Defer parsing of JavaScript”.
Forum: Plugins
In reply to: [a3 Lazy Load] Youtube – Defer parsing of JavaScriptI have 4 Youtube videos on this page. Only one (the first one) caused the “Defer parsing of JavaScript” hit due to the base.js call.
When I move that video to the bottom of the page the page loads incredibly faster and I don’t get the GTMetrix hit.
Forum: Plugins
In reply to: [a3 Lazy Load] WEB PAGES FROM JUMPING AROUND WHILE IMAGES LOADYes, I have noticed this as well. Very annoying.
Sometimes the page load normally. Other times, the spinning wheel is seen BUT the allotted area given is “larger” than the image width and height.
I think it has to do with the ALT text. If the ALT text is long, the ALT text is seen before the image is displayed.
Can you force the ALT text to “not be seen” during load.
Success! I was able to move all my instances of the old [insert_php] code over to the [wbcr_php_snippet id=”xxx”] format.
https://www.blackjackreview.com/wp/historical-events/tool/
Thank you for your support!
I think I figured it out. I have to build the shortcode “string” and then pass it to the do_shortcode() function.
Example:
$tdih = “[tdih_tab month= ” . $Month . ” day= ” . $Day . ” year= ” . $Year . “]”;
echo do_shortcode($tdih);SNIPPET #1
$Month = “”; $Day = “”; $Year = “”; $Month = $_GET[“Month”]; $Day = $_GET[“Day”]; $Year = $_GET[“Year”];SNIPPET #2
echo “<input id=’myMonth’ style=’width: 110px;’ max=’12’ min=’1′ name=’Month’ type=’number’ value='”;echo $Month;echo”‘ />”;SNIPPET #3 AND #4 AND SAME WITH DAY AND YEAR
SNIPPET #5
echo do_shortcode(‘[tdih month= $Month day= $Day year= $Year]’);It appears that $Month $Day and $Year are not coming across. How do I pass variables into do_shortcode()?