wp-content/themes/generatepress/inc/structure/footer.php:51:if ( ! function_exists( 'generate_footer_bar' ) ) {
wp-content/themes/generatepress/inc/structure/footer.php:52: add_action( 'generate_before_copyright', 'generate_footer_bar', 15 );
wp-content/themes/generatepress/inc/structure/footer.php:54: * Build our footer bar
wp-content/themes/generatepress/inc/structure/footer.php:58: function generate_footer_bar() {
wp-content/themes/generatepress/inc/structure/footer.php:73: * Add the copyright to the footer
wp-content/themes/generatepress/inc/structure/footer.php:78: $copyright = sprintf(
wp-content/themes/generatepress/inc/structure/footer.php:79: '
© %1$s %2$s • %4$s
%5$s',
wp-content/themes/generatepress/inc/structure/footer.php:88: echo apply_filters( 'generate_copyright', $copyright ); // phpcs:ignore
wp-content/themes/generatepress/inc/dashboard.php:120: 'url' => generate_get_premium_url( 'https://generatepress.com/premium/#copyright', false ),
wp-content/themes/generatepress/inc/dashboard.php:203: 'url' => admin_url( 'customize.php?autofocus[control]=custom_logo' ),
wp-content/themes/generatepress/inc/customizer/controls/js/customizer-live-preview.js:375: generatepress_classes_live_update( 'footer_bar_alignment', [ 'left', 'center', 'right' ], '.site-footer', 'footer-bar-align-' );
codex
Plan:
1. Download and import recovered brand/media assets, then set the site identity with a real title, tagline, and logo.
2. Create the required landing pages, legal pages, blog index, contact page, and the two legacy backlink pages with final slugs and polished visitor-facing copy.
3. Assign the front page/posts page, build the primary navigation, and add footer contact/legal links while removing the default theme credit path.
4. Add minimal site styling, verify public URLs and required link placements, then report restored and reserved targets.
exec
/bin/bash -lc "sed -n '70,120p' wp-content/themes/generatepress/inc/structure/footer.php" in /home/ubuntu/apps/administrativeessentials.com
succeeded in 0ms:
if ( ! function_exists( 'generate_add_footer_info' ) ) {
add_action( 'generate_credits', 'generate_add_footer_info' );
/**
* Add the copyright to the footer
*
* @since 0.1
*/
function generate_add_footer_info() {
$copyright = sprintf(
'
© %1$s %2$s • %4$s
%5$s',
date( 'Y' ), // phpcs:ignore
get_bloginfo( 'name' ),
esc_url( 'https://generatepress.com' ),
_x( 'Built with', 'GeneratePress', 'generatepress' ),
__( 'GeneratePress', 'generatepress' ),
'microdata' === generate_get_schema_type() ? ' itemprop="url"' : ''
);
echo apply_filters( 'generate_copyright', $copyright ); // phpcs:ignore
}
}
/**
* Build our individual footer widgets.
* Displays a sample widget if no widget is found in the area.
*
* @since 2.0
*
* @param int $widget_width The width class of our widget.
* @param int $widget The ID of our widget.
*/
function generate_do_footer_widget( $widget_width, $widget ) {
$widget_classes = sprintf(
'footer-widget-%s',
absint( $widget )
);
if ( ! generate_is_using_flexbox() ) {
$widget_width = apply_filters( "generate_footer_widget_{$widget}_width", $widget_width );
$tablet_widget_width = apply_filters( "generate_footer_widget_{$widget}_tablet_width", '50' );
$widget_classes = sprintf(
'footer-widget-%1$s grid-parent grid-%2$s tablet-grid-%3$s mobile-grid-100',
absint( $widget ),
absint( $widget_width ),
absint( $tablet_widget_width )
);
}
?>
exec
/bin/bash -lc "rg -n \"sidebar-layout-meta|content-container-type|footer-widget-meta|_generate\" wp-content/themes/generatepress/inc wp-content/themes/generatepress -g '*.php' | sed -n '1,220p'" in /home/ubuntu/apps/administrativeessentials.com
succeeded in 0ms:
wp-content/themes/generatepress/inc/theme-functions.php:51: $layout_meta = get_post_meta( get_the_ID(), '_generate-sidebar-layout-meta', true );
wp-content/themes/generatepress/inc/theme-functions.php:78: $widgets_meta = get_post_meta( get_the_ID(), '_generate-footer-widget-meta', true );
wp-content/themes/generatepress/inc/block-editor.php:37: $layout_meta = get_post_meta( get_the_ID(), '_generate-sidebar-layout-meta', true );
wp-content/themes/generatepress/inc/block-editor.php:57: $disable_title = get_post_meta( get_the_ID(), '_generate-disable-headline', true );
wp-content/themes/generatepress/inc/block-editor.php:161: $sidebar_layout = get_post_meta( get_the_ID(), '_generate_sidebar_layout', true );
wp-content/themes/generatepress/inc/block-editor.php:162: $content_area_type = get_post_meta( get_the_ID(), '_generate-full-width-content', true );
wp-content/themes/generatepress/inc/block-editor.php:249: 'true' === get_post_meta( get_the_ID(), '_generate-full-width-content', true )
wp-content/themes/generatepress/inc/theme-functions.php:51: $layout_meta = get_post_meta( get_the_ID(), '_generate-sidebar-layout-meta', true );
wp-content/themes/generatepress/inc/theme-functions.php:78: $widgets_meta = get_post_meta( get_the_ID(), '_generate-footer-widget-meta', true );
wp-content/themes/generatepress/inc/typography.php:803: add_action( 'wp_ajax_generate_get_all_google_fonts_ajax', 'generate_get_all_google_fonts_ajax' );
wp-content/themes/generatepress/inc/block-editor.php:37: $layout_meta = get_post_meta( get_the_ID(), '_generate-sidebar-layout-meta', true );
wp-content/themes/generatepress/inc/block-editor.php:57: $disable_title = get_post_meta( get_the_ID(), '_generate-disable-headline', true );
wp-content/themes/generatepress/inc/block-editor.php:161: $sidebar_layout = get_post_meta( get_the_ID(), '_generate_sidebar_layout', true );
wp-content/themes/generatepress/inc/block-editor.php:162: $content_area_type = get_post_meta( get_the_ID(), '_generate-full-width-content', true );
wp-content/themes/generatepress/inc/block-editor.php:249: 'true' === get_post_meta( get_the_ID(), '_generate-full-width-content', true )
wp-content/themes/generatepress/inc/general.php:236: $disable_title = get_post_meta( get_the_ID(), '_generate-disable-headline', true );
wp-content/themes/generatepress/inc/markup.php:77: $content_container = get_post_meta( get_the_ID(), '_generate-full-width-content', true );
wp-content/themes/generatepress/inc/typography.php:803: add_action( 'wp_ajax_generate_get_all_google_fonts_ajax', 'generate_get_all_google_fonts_ajax' );
wp-content/themes/generatepress/inc/general.php:236: $disable_title = get_post_meta( get_the_ID(), '_generate-disable-headline', true );
wp-content/themes/generatepress/inc/markup.php:77: $content_container = get_post_meta( get_the_ID(), '_generate-full-width-content', true );
wp-content/themes/generatepress/inc/dashboard.php:358: if ( 'appearance_page_generate-options' !== $screen->base ) {
wp-content/themes/generatepress/inc/dashboard.php:358: if ( 'appearance_page_generate-options' !== $screen->base ) {
wp-content/themes/generatepress/inc/class-dashboard.php:74: 'appearance_page_generate-options',
wp-content/themes/generatepress/inc/class-dashboard.php:125: 'class' => 'appearance_page_generate-options' === $screen->id ? 'active' : '',
wp-content/themes/generatepress/inc/class-dashboard.php:204: if ( 'appearance_page_generate-options' === $current_screen->id ) {
wp-content/themes/generatepress/inc/class-dashboard.php:74: 'appearance_page_generate-options',
wp-content/themes/generatepress/inc/class-dashboard.php:125: 'class' => 'appearance_page_generate-options' === $screen->id ? 'active' : '',
wp-content/themes/generatepress/inc/class-dashboard.php:204: if ( 'appearance_page_generate-options' === $current_screen->id ) {
wp-content/themes/generatepress/inc/meta-box.php:81: $stored_meta['_generate-sidebar-layout-meta'][0] = ( isset( $stored_meta['_generate-sidebar-layout-meta'][0] ) ) ? $stored_meta['_generate-sidebar-layout-meta'][0] : '';
wp-content/themes/generatepress/inc/meta-box.php:82: $stored_meta['_generate-footer-widget-meta'][0] = ( isset( $stored_meta['_generate-footer-widget-meta'][0] ) ) ? $stored_meta['_generate-footer-widget-meta'][0] : '';
wp-content/themes/generatepress/inc/meta-box.php:83: $stored_meta['_generate-full-width-content'][0] = ( isset( $stored_meta['_generate-full-width-content'][0] ) ) ? $stored_meta['_generate-full-width-content'][0] : '';
wp-content/themes/generatepress/inc/meta-box.php:84: $stored_meta['_generate-disable-headline'][0] = ( isset( $stored_meta['_generate-disable-headline'][0] ) ) ? $stored_meta['_generate-disable-headline'][0] : '';
wp-content/themes/generatepress/inc/meta-box.php:145: