Custom footer

How to change custom footer for multilingual sites?
My website is using three languages, but the footer is the same, I want it to get changed.
URL: http://shavandi.ir
many thanks for everything that you’ve prepare for us
U R the Best :slight_smile:

Hi @ptotir,

I hope you are well today and thank you for your question.

Which plugin are you using if any to translate your site?

If that plugin provides and conditional shortcodes then use that shortcode along with translated footer text in the Footer information theme option on the following path.

Admin Area -> Appearance -> Customize -> Sparkling Options -> Footer

Best Regards,
Movin

Hi Movin
It is for a few days that my copyright footer doesn’t appear.
I’m using a child theme
and this is whole coding in (footer.php)`


<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after
 *
 * @package sparkling
 */
?>
		</div><!-- close .row -->
	</div><!-- close .container -->
</div><!-- close .site-content -->
<div class="cfa">
	<div class="container">
		<div class="col-sm-12">
<html>
<body>
<a href="http://www.shavandi.ir" target="_blank">
<img border="0" src="http://shavandi.ir/wp-content/uploads/keys.png" style="width:1920px;height:120px;border:0" />
</a>
</p>
</a>

</body>
</html>
		</div>
	</div>
</div>	
	<div id="footer-area">
		<div class="container footer-inner">
			<div class="row">
				<?php get_sidebar( 'footer' ); ?>
			</div>
		</div>

		<footer id="colophon" class="site-footer" role="contentinfo">
			<div class="site-info container">
				<div class="row">
					<?php if( of_get_option('footer_social') ) sparkling_social_icons(); ?>
					<nav role="navigation" class="col-md-6">
						<?php sparkling_footer_links(); ?>
					</nav>
					<div class="copyright col-md-6">
						<?php echo of_get_option( 'custom_footer_text', 'تمامی حقوق این سایت برای نویسندگان و تولید کنندگان محتوای آن محفوظ و قابل پیگیری می باشد. ' ); ?>
						<?php //  sparkling_footer_info(); ?>
					</div>
				</div>
			</div><!-- .site-info -->
			<div class="scroll-to-top"><i class="fa fa-angle-up"></i></div><!-- .scroll-to-top -->
		</footer><!-- #colophon -->
	</div>
</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>

To display copyright footer try editing the following line of code in your above shared code

// sparkling_footer_info();

as below

sparkling_footer_info();

this is the modified version:

<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after
 *
 * @package sparkling
 */
?>
		</div><!-- close .row -->
	</div><!-- close .container -->
</div><!-- close .site-content -->
<div class="cfa">
	<div class="container">
		<div class="col-sm-12">
<html>
<body>
<a href="http://www.shavandi.ir" target="_blank">
<img border="0" src="http://shavandi.ir/wp-content/uploads/keys.png" style="width:1920px;height:120px;border:0" />
</a>
</p>
</a>

</body>
</html>
		</div>
	</div>
</div>	
	<div id="footer-area">
		<div class="container footer-inner">
			<div class="row">
				<?php get_sidebar( 'footer' ); ?>
			</div>
		</div>

		<footer id="colophon" class="site-footer" role="contentinfo">
			<div class="site-info container">
				<div class="row">
					<?php if( of_get_option('footer_social') ) sparkling_social_icons(); ?>
					<nav role="navigation" class="col-md-6">
						<?php sparkling_footer_links(); ?>
					</nav>
					<div class="copyright col-md-6">
						<?php echo of_get_option( 'custom_footer_text', 'تمامی حقوق این سایت برای نویسندگان و تولید کنندگان محتوای آن محفوظ و قابل پیگیری می باشد. ' ); ?>
						<?php sparkling_footer_info(); ?>
					</div>
				</div>
			</div><!-- .site-info -->
			<div class="scroll-to-top"><i class="fa fa-angle-up"></i></div><!-- .scroll-to-top -->
		</footer><!-- #colophon -->
	</div>
</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>

but as you see it doesn’t show my custom footer copyright text, which is:
( ‘custom_footer_text’, 'تمامی حقوق این سایت برای نویسندگان و تولید کنندگان محتوای آن محفوظ و قابل پیگیری می باشد. ’ )
instead of that it shows :
پوسته توسط Colorlib قدرت گرفته از WordPress

Thanks for the support

As said above you have to add translated footer text in the Footer information theme option on the following path and not in the above footer.php file.

Admin Area -> Appearance -> Customize -> Sparkling Options -> Footer