apmeyer
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Notice: wp_enqueue_scriptThis is not fixed, though the issue was closed on Github.
Forum: Developing with WordPress
In reply to: Set default image in block templateSeems this is the solution:
array( 'core/image', array( 'align' => 'wide', 'id' => 81, 'url' => wp_get_attachment_url(81), 'caption' => 'Image caption', 'className' => 'is-style-bottom-accent', ) ),
And this is a handy reference:
https://design.oit.ncsu.edu/docs/gutenberg/block-attributes/#block-coreimage- This reply was modified 4 years, 7 months ago by apmeyer.
Got it. Thanks for the quick follow up.
Thanks for the info!
No worries! I appreciate the speedy follow up! Your plugin has been a valuable resource on many projects. I appreciate your hard work!
Awesome. Thanks!
I searched for the topic before posting but didn’t run across anything.
I’ll keep an eye out for the update.
Cheers!
Forum: Plugins
In reply to: [Download Monitor] Direct Link Still Works When Member Only CheckedA solution described by Easy Digital Downloads seems to work here as well – for anyone else with WPEngine (and NGINX).
https://docs.easydigitaldownloads.com/article/683-protecting-file-downloads-on-wp-engine
Thanks for this tip jasom
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Adding meta to searchI’ll give that a shot. Thanks.
Forum: Fixing WordPress
In reply to: Redirecting Spammers (comments and pings)Right. The big thing I’m looking for is a global solution to permanently disabling comments and pings since the site has no need for comments. The above solution seems to be working:
1. Redirect /wp-comments-post.php and wp-trackback.php (preferably to some other domain, assuming it could throw off analytics if it redirects to the homepage) via the .htaccess file
2. Use a little SQL to update disable comments and trackbacks on existing site content (rather than manually going through all content)
3. Disable comments and pings for future content in “discussion” settings
Disabling comments shouldn’t be necessary if the redirect in step 1 is in place, but just doing it to be safe.
I don’t see a downside to this approach for my particular situation, but I might be missing something.
Forum: Fixing WordPress
In reply to: Redirecting Spammers (comments and pings)Running a bit of SQL against the database to disable ping_status on old content seems to have stopped the ones that were finding their way through – I had already done that for for comment_status.
Forum: Fixing WordPress
In reply to: Redirecting Spammers (comments and pings)Also, even with these redirects in place, spam pings find their way through. What other files allow direct access to processing automated comments and trackbacks?
Forum: Fixing WordPress
In reply to: WordPress 3.4 Bug – Page TemplatesSimply moving the comment to its own line also worked for me. Thanks all.
<?php
/* Template Name: TEMPLATENAME */
?>Forum: Fixing WordPress
In reply to: Form Post Method to Page Not WorkingI am also having trouble accessing POST variables. I can’t seem to find any help on the topic either.
Forum: Plugins
In reply to: Cannot seem to create a tableI’m having the same issue. Have you found a solution by any chance? Thanks.