• Resolved tooltrainer

    (@tooltrainer)


    When I originally installed this theme a couple years ago, I put my company address in the footer. Since then the address has changed, and I need to update the site.

    But I can’t seem to figure out how you edit the footer content! I found it in the DB, but editing it there caused some major problems and I had to revert from a backup. I can’t find any feature anywhere in the theme or in WP itself, for editing the footer.

    What am I missing? How can this simple thing be done?

Viewing 1 replies (of 1 total)
  • Hi there,

    Please to go inc/customizer.php and replace the code below:
    $wp_customize->add_panel( ‘decode_footer’, array(
    ‘priority’ => 40,
    ‘capability’ => ‘edit_theme_options’,
    ‘theme_supports’ => ”,
    ‘title’ => esc_html__( ‘Footer Settings’, ‘decode’ ),
    ) );

    $wp_customize->add_control( ‘show_theme_info’, array(
    ‘label’ => __( ‘Show Theme Info (display a line of text about the theme and its creator at the bottom of pages)’, ‘decode’ ),
    ‘section’ => ‘decode_footer_copyright’,
    ‘type’ => ‘checkbox’,
    ) );

    $wp_customize->add_control( ‘site_colophon’, array(
    ‘label’ => __( ‘Text (colophon, copyright, credits, etc.) for the footer of the site’, ‘decode’ ),
    ‘section’ => ‘decode_footer_copyright’,
    ‘settings’ => ‘site_colophon’,
    ‘type’ => ‘textarea’,

    ) );

    with THIS ONE:

    $wp_customize->add_section( ‘decode_footer’, array(
    ‘priority’ => 40,
    ‘capability’ => ‘edit_theme_options’,
    ‘theme_supports’ => ”,
    ‘title’ => esc_html__( ‘Footer Settings’, ‘decode’ ),
    ) );

    $wp_customize->add_control( ‘show_theme_info’, array(
    ‘label’ => __( ‘Show Theme Info (display a line of text about the theme and its creator at the bottom of pages)’, ‘decode’ ),
    ‘section’ => ‘decode_footer’,
    ‘type’ => ‘checkbox’,
    ) );

    $wp_customize->add_control( ‘site_colophon’, array(
    ‘label’ => __( ‘Text (colophon, copyright, credits, etc.) for the footer of the site’, ‘decode’ ),
    ‘section’ => ‘decode_footer’,
    ‘settings’ => ‘site_colophon’,
    ‘type’ => ‘textarea’,

    ) );

    Then you will be able to change the footer info from the customizer.

    Please let me know how it goes.

    All the best,
    George

Viewing 1 replies (of 1 total)
  • The topic ‘How do you edit the footer?’ is closed to new replies.