page not updating with database
Maybe instead of using a tag, you could use get_post_meta() to retrieve a custom field? Set a meta field like featured and test to see if it’s set to one or something. $featured = get_post_meta($post->ID, ‘featured’, true); if ($featured === ‘yes’) echo ‘selected’; I hope I understood your question the right way and that this … Read more