Follow

How can I remove logo from footer in options panel?

This function is not provided in this theme, but it’s nice idea, so we propose next solution. You should edit two files.
1) \wp-content\themes\pol\admin\options-init.php.

In this file need find code:

                    array(
                        'id' => 'footer_socials',

and add next code above:

                    array(
                        'id' => 'footer_logo',
                        'type' => 'switch',
                        'title' => __('Show logo in footer?', 'redux-framework-demo'),
                        'subtitle' => __('Show logo in footer?', 'redux-framework-demo'),
                        'default' => true
                    ),

2) \wp-content\themes\pol\footer.php.

In file you should replace code:

        <div class="footer-logo pull-left">
            	<?php get_template_part('part-logo'); ?>
        </div>

with new:

    	<?php if (ggt_theme_option('footer_logo')) { ?>
        	<div class="footer-logo pull-left">
            		<?php get_template_part('part-logo'); ?>
        	</div>
        <?php } ?>

Now you can disable logo in footer via Theme Options.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.