Uname: Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 7.4.33 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.31.145
Your Ip: 216.73.216.182
User: homesquasz (91404) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : footer-tiktok.php
<?php
/**
 * Instagram Above Footer
 *
 * This template can be overridden by copying it to your-child-theme/templates/footers/footer-tiktok.php.
 *
 * HOWEVER, on occasion TieLabs will need to update template files and you
 * will need to copy the new files to your child theme to maintain compatibility.
 *
 * @author 		TieLabs
 * @version   7.0.0
 */

defined( 'ABSPATH' ) || exit; // Exit if accessed directly


if( defined( 'QLTTF_PLUGIN_NAME' ) && tie_get_option( 'footer_tiktok' ) && tie_get_option( 'footer_tiktok_source' ) && ! TIELABS_HELPER::is_mobile_and_hidden( 'footer_tiktok' ) ) {

	$feeds = get_option( 'tiktok_feed_feeds' );
	if( empty( $feeds ) || ! is_array( $feeds ) ) {
		TIELABS_HELPER::notice_message( esc_html__( 'No accounts found, Go to TikTok Feed > Feeds to setup your account.', TIELABS_TEXTDOMAIN ) );
	}
	else{

		$id = tie_get_option( 'footer_tiktok_source' );
		$id = str_replace( 'tiktok-', '', $id );

		echo '<div id="footer-tiktok">';
		$tiktok = do_shortcode( '[tiktok-feed id="'. $id .'"]' );
		$tiktok = preg_replace( "/(&quot;limit&quot;:&quot;)(.*?)(&quot;)/",   '&quot;limit&quot;:&quot;6&quot;',   $tiktok );
		$tiktok = preg_replace( "/(&quot;columns&quot;:&quot;)(.*?)(&quot;)/", '&quot;columns&quot;:&quot;6&quot;', $tiktok );
		echo $tiktok;
		echo '</div>';
	}
	
}
© 2026 GrazzMean