Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes
Accepted

How to disable Yoast meta description for all pages

This should do the job: <?php /** Plugin Name: wpse425362 Description: Site specific code changes for example.com */ if (!defined('ABSPATH')) exit; // Exit if accessed directly /** * Removes ...
Chris Cox's user avatar
  • 1,294
0 votes

Why isn't my embed_video WYSIWYG field updating when using update_post_meta?

I found the issue. The issue is with Advanced Custom Fields(ACF). update_post_meta did not work for this field. ACF wanted me to reference the field by ID rather than title and to use update_field ...
DJZEEGLER's user avatar
  • 119
0 votes

Convert post meta to custom taxonomy?

I just had to do this, so I'm sharing the code I wrote to move the author name for a book from post meta to its custom taxonomy. Maybe is not perfect but it does the job. I've placed this code in ...
Enrique's user avatar
0 votes

WordPress is stripping escape backslashes from JSON strings in post_meta

I know this is an old question, but it's still an issue impacting developers today. So as a reference, here's a good thread from the wordpress core issues tracker that I found informative: https://...
jvp's user avatar
  • 1

Top 50 recent answers are included