Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
/** START || Fix MetForm issue in Header/Footer Template */ function remove_jkit_header_footer_default_filter() { remove_action( 'jkit_header', array( Jeg\Elementor_Kit\Templates\Template::instance(), 'render_header' ) ); remove_action( 'jkit_footer', array( Jeg\Elementor_Kit\Templates\Template::instance(), 'render_footer' ) ); } add_action( 'wp', 'remove_jkit_header_footer_default_filter' ); function add_custom_jkit_header_template() { $class_template = Jeg\Elementor_Kit\Templates\Template::instance(); $post_id = get_the_ID(); $headers = $class_template->get_header_template(); $header_id = null; foreach ( $headers as $header ) { $flag = $class_template->check_conditions( $post_id, $header['id'] ); if ( $flag ) { $header_id = $header['id']; break; } } if ( $header_id ) { ?>
get_header_content( $header_id ); ?>
get_footer_template(); $footer_id = null; foreach ( $footers as $footer ) { $flag = $class_template->check_conditions( $post_id, $footer['id'] ); if ( $flag ) { $footer_id = $footer['id']; break; } } if ( $footer_id ) { ?>
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)