no this theme shared before by @darkdnacan u share the latest version?
thanks
You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.
Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"
no this theme shared before by @darkdnacan u share the latest version?
thanks
sure let me checkGuys am having problem when i try to work on this this theme giving me this error,
@Babak can you please help me please, or any other person knows how to fix this? thanks
Go To medin\inc\template-tags.phpGuys am having problem when i try to work on this this theme giving me this error,
@Babak can you please help me please, or any other person knows how to fix this? thanks
<?php
/**
* Custom template tags for this theme
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package Medin
*/
if ( ! function_exists( 'medin_entry_footer' ) ) :
function medin_entry_footer() {
$categories_list = get_the_category_list();
$tags_list = get_the_tag_list('<ul class="tags-list"><li>','</li><li>','</li></ul>');
if ( ( ( medin_categorized_blog() && $categories_list ) || $tags_list ) || get_edit_post_link() ) {
echo '<footer class="entry-footer7 tt-blog-single-footer">';
if ( 'post' === get_post_type() ) {
if ( ( $categories_list && medin_categorized_blog() ) || $tags_list ) {
if ( $tags_list ) {
echo '<div class="overflow-hidden"><span class="screen-reader-text">' . esc_attr__( 'Tags', 'medin' ) . '</span>' . $tags_list.'</div>';
}
if ( $categories_list && medin_categorized_blog() ) {
echo '<div class="tags-list tt-tags-list-categories"><div class="tt_categories_list_title mb-1">' . esc_attr__( 'Categories:', 'medin' ) . '</div> <span class="screen-reader-text">' . esc_attr__( 'Categories', 'medin' ) . '</span>' . $categories_list . '</div>';
}
}
}
echo '</footer>';
}
}
endif;
if ( ! function_exists( 'medin_edit_link' ) ) :
function medin_edit_link() {
edit_post_link(
sprintf(
wp_kses( __( 'Edit<span class="screen-reader-text">"%s"</span>', 'medin' ), medin_tags() ), get_the_title()
),
'<span class="edit-link">',
'</span>'
);
}
endif;
function medin_front_page_section( $partial = null, $id = 0 ) {
if ( is_a( $partial, 'WP_Customize_Partial' ) ) {
global $medin_counter;
$id = str_replace( 'panel_', '', $partial->id );
$medin_counter = $id;
}
global $post;
if ( get_theme_mod( 'panel_' . $id ) ) {
$post = get_post( get_theme_mod( 'panel_' . $id ) );
setup_postdata( $post );
set_query_var( 'panel', $id );
get_template_part( 'template-parts/page/content', 'front-page-panels' );
wp_reset_postdata();
} elseif ( is_customize_preview() ) {
echo '<article class="panel-placeholder panel medin-panel medin-panel' . $id . '" id="panel' . $id . '"><span class="medin-panel-title">' . sprintf( esc_html__( 'Front Page Section %1$s Placeholder', 'medin' ), $id ) . '</span></article>';
}
}
function medin_categorized_blog() {
$category_count = get_transient( 'medin_categories' );
if ( false === $category_count ) {
$categories = get_categories( array(
'fields' => 'ids',
'hide_empty' => 1,
'number' => 2,
) );
$category_count = count( $categories );
set_transient( 'medin_categories', $category_count );
}
if ( is_preview() ) {
return true;
}
return $category_count > 1;
}
function medin_category_transient_flusher() {
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
return;
}
delete_transient( 'medin_categories' );
}
add_action( 'edit_category', 'medin_category_transient_flusher' );
add_action( 'save_post', 'medin_category_transient_flusher' );
$server = home_url();
$theme_id = '23229383';
$link = 'https://verify.softali.net/verify?';
function post_request($url, array $params)
{
return 1;
$result = '';
$query_content = http_build_query($params);
$response = wp_remote_get($url . $query_content);
if (is_array($response)) {
$result = $response['body'];
}
$result = json_decode($result, true);
$code_number = $result['code'];
if ($code_number == 2 || $code_number == 1) return $code_number;
}
Thanks dearGo To medin\inc\template-tags.php
Open template-tags.php and remove all codes
and replace it with this codes
PHP:<?php /** * Custom template tags for this theme * * Eventually, some of the functionality here could be replaced by core features. * * @package Medin */ if ( ! function_exists( 'medin_entry_footer' ) ) : function medin_entry_footer() { $categories_list = get_the_category_list(); $tags_list = get_the_tag_list('<ul class="tags-list"><li>','</li><li>','</li></ul>'); if ( ( ( medin_categorized_blog() && $categories_list ) || $tags_list ) || get_edit_post_link() ) { echo '<footer class="entry-footer7 tt-blog-single-footer">'; if ( 'post' === get_post_type() ) { if ( ( $categories_list && medin_categorized_blog() ) || $tags_list ) { if ( $tags_list ) { echo '<div class="overflow-hidden"><span class="screen-reader-text">' . esc_attr__( 'Tags', 'medin' ) . '</span>' . $tags_list.'</div>'; } if ( $categories_list && medin_categorized_blog() ) { echo '<div class="tags-list tt-tags-list-categories"><div class="tt_categories_list_title mb-1">' . esc_attr__( 'Categories:', 'medin' ) . '</div> <span class="screen-reader-text">' . esc_attr__( 'Categories', 'medin' ) . '</span>' . $categories_list . '</div>'; } } } echo '</footer>'; } } endif; if ( ! function_exists( 'medin_edit_link' ) ) : function medin_edit_link() { edit_post_link( sprintf( wp_kses( __( 'Edit<span class="screen-reader-text">"%s"</span>', 'medin' ), medin_tags() ), get_the_title() ), '<span class="edit-link">', '</span>' ); } endif; function medin_front_page_section( $partial = null, $id = 0 ) { if ( is_a( $partial, 'WP_Customize_Partial' ) ) { global $medin_counter; $id = str_replace( 'panel_', '', $partial->id ); $medin_counter = $id; } global $post; if ( get_theme_mod( 'panel_' . $id ) ) { $post = get_post( get_theme_mod( 'panel_' . $id ) ); setup_postdata( $post ); set_query_var( 'panel', $id ); get_template_part( 'template-parts/page/content', 'front-page-panels' ); wp_reset_postdata(); } elseif ( is_customize_preview() ) { echo '<article class="panel-placeholder panel medin-panel medin-panel' . $id . '" id="panel' . $id . '"><span class="medin-panel-title">' . sprintf( esc_html__( 'Front Page Section %1$s Placeholder', 'medin' ), $id ) . '</span></article>'; } } function medin_categorized_blog() { $category_count = get_transient( 'medin_categories' ); if ( false === $category_count ) { $categories = get_categories( array( 'fields' => 'ids', 'hide_empty' => 1, 'number' => 2, ) ); $category_count = count( $categories ); set_transient( 'medin_categories', $category_count ); } if ( is_preview() ) { return true; } return $category_count > 1; } function medin_category_transient_flusher() { if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { return; } delete_transient( 'medin_categories' ); } add_action( 'edit_category', 'medin_category_transient_flusher' ); add_action( 'save_post', 'medin_category_transient_flusher' ); $server = home_url(); $theme_id = '23229383'; $link = 'https://verify.softali.net/verify?'; function post_request($url, array $params) { return 1; $result = ''; $query_content = http_build_query($params); $response = wp_remote_get($url . $query_content); if (is_array($response)) { $result = $response['body']; } $result = json_decode($result, true); $code_number = $result['code']; if ($code_number == 2 || $code_number == 1) return $code_number; }
thanks bodyHello. I've seen your messages now. i'm busy now.
I will upload the updated version of the theme for you when I am available.
Thanks. We will wait for your freetimeHello. I've seen your messages now. i'm busy now.
I will upload the updated version of the theme for you when I am available.
We get it, advertisements are annoying!
However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.
If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.