Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    Thread Starter kaireiou

    (@kaireiou)

    Hi Smit,

    Im so sorry, may I know how to get there? There appears to have a lot of footer.php file.

    Thread Starter kaireiou

    (@kaireiou)

    Thread Starter kaireiou

    (@kaireiou)

    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.

    threadi

    (@threadi)

    You are using a commercial theme:
    https://themeforest.net/item/flower-shop-florist-boutique-decoration-store-wordpress-theme/20190854

    These are not supported by this forum as described in the guidelines: https://www.ads-software.com/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.

    Thread Starter kaireiou

    (@kaireiou)

    @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 3 years ago by kaireiou.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Code on my Footer’ is closed to new replies.