musicman847
Forum Replies Created
-
Thank you! Your reply is invaluable. I very much appreciate your support, totally solved my issue.
Forum: Fixing WordPress
In reply to: WP 6.5 evaluating functionWorks perfectly. Thank you so much for solving this issue for me. Very much appreciate your help ??
Forum: Plugins
In reply to: [Code Snippets] Issue With WP 6.5Yes, I disabled every single plugin. After creating a staging site and disabling every plugin, and activating the default theme, the problem still persists. Is it possible that WP 6.5 would evaluate this function differently? Thanks.
Forum: Plugins
In reply to: [Yoast SEO] SEO Data Optimization Conflict With Page Builder By SiteOriginAwesome! Thanks for your help with this!:)
Forum: Plugins
In reply to: [Yoast SEO] SEO Data Optimization Conflict With Page Builder By SiteOriginHi there – Thanks for your help! I’m using the default theme. WP and Yoast are current. No errors in JS console. And my host is not blocking the REST API.
But after further testing, I found it’s not PageBuilder. It’s actually the combination of 2 other plugins. It fails when these two specific plugins are active.
My question is: Can I disable one of these plugins temporarily (the SEO optimization completes if only 1 is on, but not both), run the optimization, and then turn the plugin back on after it completes? Or, once I activate both plugins, will Yoast stop indexing posts/pages correctly in the future?
Thanks ??
Forum: Plugins
In reply to: [DD Last Viewed] Undefined index – PHP NoticeHi There – I also see this error:
[20-Feb-2021 19:12:27 UTC] PHP Notice: Undefined index: lastViewed_cookieByJs in /home/mysite/public_html/wp-content/plugins/dd-lastviewed/last-viewed.php on line 597
Forum: Plugins
In reply to: [Code Snippets] Function create_function() is deprecated in 7.2+Awesome! Thank you for your help ??
Forum: Plugins
In reply to: [Code Snippets] Function create_function() is deprecated in 7.2+Awe I see. Thank you!! Can you recommend how I might rewrite this using an anonymous function?
add_filter(‘single_template’, create_function(
‘$the_template’, ‘foreach( (array) get_the_category() as $cat ) {
if ( file_exists(TEMPLATEPATH . “/single-{$cat->term_id}.php”) )
return TEMPLATEPATH . “/single-{$cat->term_id}.php”; }
return $the_template;’)
);