add ability to change home user in menu

This commit is contained in:
2024-07-15 20:47:48 -07:00
parent 8f5a7a693f
commit 3f5fb31e99
2 changed files with 14 additions and 3 deletions

View File

@ -1,9 +1,7 @@
<?php
function add_opengraph_tags() {
// Get Sophia's user ID
$author_id = 1; // Replace with the actual user ID of Sophia
$author_id = get_option('sophia_after_dark_home_og_user', 1); // Default to user ID 1 if not set
// Retrieve Sophia's bio
$author_bio = get_the_author_meta('description', $author_id);
if (is_front_page()) {