jennnjennjen
Forum Replies Created
-
Hi Peter, thanks for the helpful information! I went ahead inserted the code you specified in the two files, but the .htaccess file is still causing the 500 internal server error.
(I should also mention for clarification, I’m running Apache 2.4, specifically)
I toyed around with and it seems that this line seems to be causing the error:
Require all denied
I’m not sure why. Would appreciate any ideas as to why I’m not able to include it! Currently my .htaccess includes the following (basically exactly what you had above with that one line removed) and it works without the server error and shows as being optimized:
# Wordfence WAF <Files ".user.ini"> <IfModule mod_authz_core.c> </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </Files> # END Wordfence WAF
Is it ok if I leave it out or does that defeat the purpose? Is there an alternative I could use instead?
Really appreciate the assistance!
- This reply was modified 9 months, 2 weeks ago by jennnjennjen.
- This reply was modified 9 months, 2 weeks ago by jennnjennjen.
- This reply was modified 9 months, 2 weeks ago by jennnjennjen.
- This reply was modified 9 months, 2 weeks ago by jennnjennjen.
- This reply was modified 9 months, 2 weeks ago by jennnjennjen.
- This reply was modified 9 months, 2 weeks ago by jennnjennjen.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Premium Content SubscriberThank you bruce, I’ll see if I can make that work!
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Premium Content SubscriberHi Michelle — I’m not asking anyone to code anything for me.
I just want to know if a php function exists within Jetpack that returns whether a given user is a premium subscriber? If so, can you tell me what it is?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Premium Content SubscriberHi Bruce,
Thanks for your response. I’m looking for a WordPress/php function (similar to
is_user_logged_in()
except for paid subscribers) that will return whether or not a user is a paid subscriber.I see that I have the ability to view the list in the dashboard, but I’m looking specifically for a php function to use in the code.
Is there something like that? I’ve found that the forums have been a better place to get help regarding coding questions than the Jetpack support, but perhaps I will try asking them, too.
- This reply was modified 3 years, 1 month ago by jennnjennjen.
- This reply was modified 3 years, 1 month ago by jennnjennjen.
Hi Michelle,
I’m using a plug in to increase website speed, but it delays javascript execution. As a result, sometimes the javascript is firing too slowly to log page visits.
If I can identify the javascript file associated with jetpack stats, I can exclude it from the plug in.
Thanks,
JennOh wow, I’m am idiot haha. I must have accidentally turned it off at some point.
Thank you for your help, sorry about the bother!
Hmm it’s possible I’m just missing it somehow, but it doesn’t appear to be there in the classic editor either. And I don’t think my subscriptions are being sent out.
Is there any way for me to debug this without potentially spamming my subscribers?
Forum: Plugins
In reply to: [Lazy Load for Comments] Reply Button Not WorkingHi Joel, sure! https://the-bibliofile.com/the-great-alone/
And thank you in advance!
Forum: Developing with WordPress
In reply to: Calling wp_mail() with AJAXOK got it to work. This guide was really helpful, if anyone else ever comes across this with the same issue.
Forum: Developing with WordPress
In reply to: Calling wp_mail() with AJAXHi Joy thanks for the response.
Yeah, I realize I’m not invoking it the way WordPress needs me to do it to get it to work, I just don’t understand what I need to do to fix it. If anyone has some pointers, would greatly appreciate it.
- This reply was modified 5 years, 7 months ago by jennnjennjen.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Is Lazy Load Working?ahh ok thanks for the explanation. The post listing https://the-bibliofile.com/tag/books/ actually relies on an infinite scroll script which is why it loads later, but I think that answers my question anyway so thanks!
Forum: Plugins
In reply to: [Yoast SEO] “Product Archive – Title” How do i change this?thank you thank you thank you @chrisplaneta I was ready to throw something against a wall trying to fix this
- This reply was modified 6 years, 1 month ago by jennnjennjen. Reason: typo
UPDATE: OK I figured it out with some tweaks on the code snipped posted by a user here: https://www.ads-software.com/support/topic/incorrect-number-of-wordpress-followers/
In case anyone else is interested, the following works but you’ll have to subtract out or disconnect the other subscribers connected via Publicize (twitter, tumblr, etc.)
<?php $subs_count = get_transient('wpcom_subscribers_total'); if (FALSE === $subs_count || 'failed' == $subs_count['status']) { Jetpack:: load_xml_rpc_client(); $xml = new Jetpack_IXR_Client(array('user_id' => JETPACK_MASTER_USER,)); $xml->query('jetpack.fetchSubscriberCount'); if ($xml->isError()) { // error $subs_count = array( 'status' => 'failed', 'code' => $xml->getErrorCode(), 'message' => $xml->getErrorMessage(), 'value'=>(isset($subs_count['value']))?$subs_count['value'] : 0, ); } else { $subs_count = array( 'status' => 'success', 'value' => $xml->getResponse(), ); } set_transient('wpcom_subscribers_total', $subs_count, 3600); // cache } echo $subs_count[value];?>