Using the child theme functions.php to change the customizer.php on parent theme

Put this code in function.php. create custom section in customizer for logo : <?php add_action(‘customize_register’, ‘theme_footer_customizer’); function theme_footer_customizer($wp_customize){ //adding section in wordpress customizer $wp_customize->add_section(‘footer_settings_section’, array( ‘title’ => ‘Footer Text Section’ )); //adding setting for footer logo $wp_customize->add_setting(‘footer_logo’); $wp_customize->add_control(new WP_Customize_Upload_Control($wp_customize,’footer_logo’,array( ‘label’ => ‘Footer Logo’, ‘section’ => ‘footer_settings_section’, ‘settings’ => ‘footer_logo’, ))); }

How can I reactivate a plugin without access to my dashboard?

You can do this by editing the database via PhpMyAdmin. Go to your database’s Options table and find a row called active_plugins. You should see something like this… a:10:{ i:0;s:49:”1and1-wordpress-wizard/1and1-wordpress-wizard.php”; i:1;s:29:”acf-repeater/acf-repeater.php”; i:2;s:30:”advanced-custom-fields/acf.php”; i:3;s:45:”limit-login-attempts/limit-login-attempts.php”; i:4;s:27:”redirection/redirection.php”; i:6;s:33:”w3-total-cache/w3-total-cache.php”; i:7;s:41:”wordpress-importer/wordpress-importer.php”; i:8;s:24:”wordpress-seo/wp-seo.php”; i:9;s:34:”wpml-string-translation/plugin.php”; } You can add a new row for your plugin. You will need to know the following. … Read more

WordPress HTTP 500 Error

You’ve got an SSL certificate on the site. So start by telling people to go to https://brothas.online instead of the link above 😉 More importantly: Second go ‘Settings‘ -> ‘General‘ and set both ‘WordPress Address (URL)‘ and ‘Site Address (URL)‘ to ‘https://brothas.online‘ Then go to ‘Settings‘ -> ‘Permalinks‘ and save you settings again. This should … Read more