Code on my Footer
-
The moment I deactivate MailPoet as Im not using MailPoet, [mailpoet_form id=”1″] appears at the end of my footer. I would really wish to not have to activate mailpoet just so that the that code can disappear from my footer. Is there any way I can get it away? Would really appreciate any help I can get.
-
hi @kaireiou
Can you share your footer.php file? I think this mailpoet plugin is appending some form by shortcode in your footer so need to remove this shortcode from the footer. So can you share it?
Thank you.
Hi Smit,
Im so sorry, may I know how to get there? There appears to have a lot of footer.php file.
This is what I see when I type in footer.php
any idea which one it may be?
Is it this?
<?php /** * @package WordPress * @subpackage Flower Shop * @version 1.0.5 * * Footer Template * Created by CMSMasters * */ $cmsmasters_option = flower_shop_get_global_options(); ?> <div class="footer_inner"> <div class="footer_in_inner"> <?php if ( $cmsmasters_option['flower-shop' . '_footer_type'] == 'default' && $cmsmasters_option['flower-shop' . '_footer_logo'] ) { flower_shop_footer_logo($cmsmasters_option); } if ( ( $cmsmasters_option['flower-shop' . '_footer_type'] == 'default' && $cmsmasters_option['flower-shop' . '_footer_html'] !== '' ) || ( $cmsmasters_option['flower-shop' . '_footer_type'] == 'small' && $cmsmasters_option['flower-shop' . '_footer_additional_content'] == 'text' && $cmsmasters_option['flower-shop' . '_footer_html'] !== '' ) ) { echo '<div class="footer_custom_html_wrap">' . '<div class="footer_custom_html">' . do_shortcode(wp_kses(stripslashes($cmsmasters_option['flower-shop' . '_footer_html']), 'post')) . '</div>' . '</div>'; } if ( has_nav_menu('footer') && ( ( $cmsmasters_option['flower-shop' . '_footer_type'] == 'default' && $cmsmasters_option['flower-shop' . '_footer_nav'] ) || ( $cmsmasters_option['flower-shop' . '_footer_type'] == 'small' && $cmsmasters_option['flower-shop' . '_footer_additional_content'] == 'nav' ) ) ) { echo '<div class="footer_nav_wrap">' . '<nav>'; wp_nav_menu(array( 'theme_location' => 'footer', 'menu_id' => 'footer_nav', 'menu_class' => 'footer_nav' )); echo '</nav>' . '</div>'; } if ( isset($cmsmasters_option['flower-shop' . '_social_icons']) && ( ( $cmsmasters_option['flower-shop' . '_footer_type'] == 'default' && $cmsmasters_option['flower-shop' . '_footer_social'] ) || ( $cmsmasters_option['flower-shop' . '_footer_type'] == 'small' && $cmsmasters_option['flower-shop' . '_footer_additional_content'] == 'social' ) ) ) { flower_shop_social_icons(); } ?> <span class="footer_copyright copyright"> <?php if (function_exists('the_privacy_policy_link')) { the_privacy_policy_link('', ' / '); } echo esc_html(stripslashes($cmsmasters_option['flower-shop' . '_footer_copyright'])); ?> </span> </div> </div>hi, @kaireiou can you share your page link in which this code in the footer is appearing? I want to inspect the page and want to see the HTML of it. By that, I can identify the footer file template.
You are using a commercial theme:
https://themeforest.net/item/flower-shop-florist-boutique-decoration-store-wordpress-theme/20190854These are not supported by this forum as described in the guidelines: https://ww.wp.xz.cn/support/guidelines/#do-not-post-about-commercial-products
I would therefore ask you to contact the developer of the theme directly if you have any questions.
However, a tip: what is displayed in the footer is regulated in many themes via the widgets under Appeareance > Widgets. The plugin has probably left an entry there that you only have to remove at this point. If this is not the case, the only option is the above-mentioned theme support.
@threadi Oh my, I have found it through your tips!! Once again, really appreciate it, u have helped me for several issues on my wordpress. The website was actually passed on to me, however there was just so many bugs and errors done by the developer of my website. Really thank you!!
-
This reply was modified 4 years, 3 months ago by
kaireiou.
-
This reply was modified 4 years, 3 months ago by
The topic ‘Code on my Footer’ is closed to new replies.