footer logo and white-bg-overlay in editor

This commit is contained in:
2023-07-26 20:05:21 -07:00
parent bc874f7159
commit e79c775a61
6 changed files with 14 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ if (!isset($content_width)) {
}
if (!function_exists('transsocial-theme_setup')) :
if (!function_exists('transsocialtheme_setup')) :
/**
* Sets up theme defaults and registers support for various
@@ -27,7 +27,7 @@ if (!function_exists('transsocial-theme_setup')) :
* hook, which runs before the init hook. The init hook is too late
* for some features, such as indicating support post thumbnails.
*/
function transsocial-theme_setup()
function transsocialtheme_setup()
{
// /**
@@ -71,6 +71,7 @@ if (!function_exists('transsocial-theme_setup')) :
}
add_theme_support('align-wide');
// Add support for block styles.
// add_filter('render_block', function ($blockContent, $block) {
@@ -83,13 +84,13 @@ if (!function_exists('transsocial-theme_setup')) :
// return preg_replace($pattern, $replacement, $blockContent);
// }, 10, 2);
}
endif; // transsocial-theme_setup
add_action('after_setup_theme', 'transsocial-theme_setup');
endif; // transsocialtheme_setup
add_action('after_setup_theme', 'transsocialtheme_setup');
if (!function_exists('transsocial-theme_enqueue')) :
function transsocial-theme_enqueue()
if (!function_exists('transsocialtheme_enqueue')) :
function transsocialtheme_enqueue()
{
wp_enqueue_style('style', get_stylesheet_uri());
}
endif;
add_action('wp_enqueue_scripts', 'transsocial-theme_enqueue');
add_action('wp_enqueue_scripts', 'transsocialtheme_enqueue');