';
return $link;
}
add_filter('the_content_more_link', 'tagdiv_remove_more_link_scroll');
}
/**
* get theme versions and set the transient
*/
if ( ! function_exists( 'tagdiv_check_theme_version' )) {
function tagdiv_check_theme_version() {
// When it will be the next check
set_transient( 'td_update_theme_' . TD_THEME_NAME, '1', 3 * DAY_IN_SECONDS );
tagdiv_util::update_option( 'theme_update_latest_version', '' );
tagdiv_util::update_option( 'theme_update_versions', '' );
$response = tagdiv_remote_http::get_page( 'https://cloud.tagdiv.com/wp-json/wp/v2/media?search=.zip' );
if ( false !== $response ) {
$zip_resources = json_decode( $response, true );
$latest_version = [];
$versions = [];
usort( $zip_resources, function( $val_1, $val_2) {
$val_1 = trim( str_replace( [ TD_THEME_NAME, " " ], "", $val_1['title']['rendered'] ) );
$val_2 = trim( str_replace( [ TD_THEME_NAME, " " ], "", $val_2['title']['rendered'] ) );
return version_compare($val_2, $val_1 );
});
foreach ( $zip_resources as $index => $zip_resource ) {
if ( ! empty( $zip_resource['title']['rendered'] ) && ! empty( $zip_resource['source_url'] ) && false !== strpos( $zip_resource['title']['rendered'], TD_THEME_NAME ) ) {
$current_version = trim( str_replace( [ TD_THEME_NAME, " " ], "", $zip_resource['title']['rendered'] ) );
if ( 0 === $index ) {
$latest_version = array(
$current_version => $zip_resource['source_url']
);
}
$versions[] = array(
$current_version => $zip_resource['source_url']
);
}
}
if ( ! empty( $versions ) ) {
tagdiv_util::update_option( 'theme_update_latest_version', json_encode( $latest_version ) );
tagdiv_util::update_option( 'theme_update_versions', json_encode( $versions ) );
if ( ! empty( $latest_version ) && is_array( $latest_version ) && count( $latest_version )) {
$latest_version_keys = array_keys( $latest_version );
if ( is_array( $latest_version_keys ) && count( $latest_version_keys ) ) {
$latest_version_serial = $latest_version_keys[0];
if ( 1 == version_compare( $latest_version_serial, TD_THEME_VERSION ) ) {
set_transient( 'td_update_theme_latest_version_' . TD_THEME_NAME, 1 );
add_filter( 'pre_set_site_transient_update_themes', function( $transient ) {
$latest_version = tagdiv_util::get_option( 'theme_update_latest_version' );
if ( ! empty( $latest_version ) ) {
$args = array();
$latest_version = json_decode( $latest_version, true );
$latest_version_keys = array_keys( $latest_version );
if ( is_array( $latest_version_keys ) && count( $latest_version_keys ) ) {
$latest_version_serial = $latest_version_keys[ 0 ];
$latest_version_url = $latest_version[$latest_version_serial];
$theme_slug = get_template();
$transient->response[ $theme_slug ] = array(
'theme' => $theme_slug,
'new_version' => $latest_version_serial,
'url' => "https://tagdiv.com/" . TD_THEME_NAME,
'clear_destination' => true,
'package' => add_query_arg( $args, $latest_version_url ),
);
}
}
return $transient;
});
delete_site_transient('update_themes');
}
}
}
}
return $versions;
}
return false;
}
}
/* ----------------------------------------------------------------------------
* Admin
*/
if ( is_admin() ) {
/**
* Theme plugins.
*/
require_once TAGDIV_ROOT_DIR . '/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php';
add_action('tgmpa_register', 'tagdiv_required_plugins');
if( !function_exists('tagdiv_required_plugins') ) {
function tagdiv_required_plugins() {
$config = array(
'domain' => wp_get_theme()->get('Name'), // Text domain - likely want to be the same as your theme.
'default_path' => '', // Default absolute path to pre-packaged plugins
//'parent_menu_slug' => 'themes.php', // DEPRECATED from v2.4.0 - Default parent menu slug
//'parent_url_slug' => 'themes.php', // DEPRECATED from v2.4.0 - Default parent URL slug
'parent_slug' => 'themes.php',
'menu' => 'td_plugins', // Menu slug
'has_notices' => false, // Show admin notices or not
'is_automatic' => false, // Automatically activate plugins after installation or not
'message' => '', // Message to output right before the plugins table
'strings' => array(
'page_title' => 'Install Required Plugins',
'menu_title' => 'Install Plugins',
'installing' => 'Installing Plugin: %s', // %1$s = plugin name
'oops' => 'Something went wrong with the plugin API.',
'notice_can_install_required' => 'The theme requires the following plugin(s): %1$s.',
'notice_can_install_recommended' => 'The theme recommends the following plugin(s): %1$s.',
'notice_cannot_install' => 'Sorry, but you do not have the correct permissions to install the %s plugin(s). Contact the administrator of this site for help on getting the plugin installed.',
'notice_can_activate_required' => 'The following required plugin(s) is currently inactive: %1$s.',
'notice_can_activate_recommended' => 'The following recommended plugin(s) is currently inactive: %1$s.',
'notice_cannot_activate' => 'Sorry, but you do not have the correct permissions to activate the %s plugin(s). Contact the administrator of this site for help on getting the plugin activated.',
'notice_ask_to_update' => 'The following plugin(s) needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.',
'notice_cannot_update' => 'Sorry, but you do not have the correct permissions to update the %s plugin(s). Contact the administrator of this site for help on getting the plugin updated.',
'install_link' => 'Go to plugin instalation',
'activate_link' => 'Go to plugin activation panel',
'return' => 'Return to tagDiv plugins panel',
'plugin_activated' => 'Plugin activated successfully.',
'complete' => 'All plugins installed and activated successfully. %s', // %1$s = dashboard link
'nag_type' => 'updated' // Determines admin notice type - can only be 'updated' or 'error'
)
);
tgmpa( tagdiv_global::$theme_plugins_list, $config );
}
}
if ( current_user_can( 'switch_themes' ) ) {
// add panel to the wp-admin menu on the left
add_action( 'admin_menu', function() {
/* wp doc: add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position ); */
add_menu_page('Theme panel', TD_THEME_NAME, "edit_posts", "td_theme_welcome", function (){
require_once TAGDIV_ROOT_DIR . '/includes/wp-booster/wp-admin/tagdiv-view-welcome.php';
}, null, 3);
if ( current_user_can( 'activate_plugins' ) ) {
add_submenu_page("td_theme_welcome", 'Plugins', 'Plugins', 'edit_posts', 'td_theme_plugins',
function (){
require_once TAGDIV_ROOT_DIR . '/includes/wp-booster/wp-admin/tagdiv-view-theme-plugins.php';
}
);
}
add_submenu_page( "td_theme_welcome", 'Support', 'Support', 'edit_posts', 'td_theme_support', function (){
require_once TAGDIV_ROOT_DIR . '/includes/wp-booster/wp-admin/tagdiv-view-support.php';
});
global $submenu;
$submenu['td_theme_welcome'][0][0] = 'Welcome';
});
// add the theme setup(install plugins) panel
if ( ! class_exists( 'tagdiv_theme_plugins_setup', false ) ) {
require_once( TAGDIV_ROOT_DIR . '/includes/wp-booster/wp-admin/plugins/class-tagdiv-theme-plugins-setup.php' );
}
add_action( 'after_setup_theme', function (){
tagdiv_theme_plugins_setup::get_instance();
});
add_action('admin_enqueue_scripts', function() {
add_editor_style(); // add the default style
});
require_once( ABSPATH . 'wp-admin/includes/file.php' );
WP_Filesystem();
}
}রুদ্র প্রসাদ বন্দ্যোপাধ্যায় – rudrabarta.com
https://rudrabarta.com
Tue, 13 Jan 2026 21:45:31 +0000en-US
hourly
1 https://wordpress.org/?v=6.9.4153837941768340627
https://rudrabarta.com/153837941768340627-2/
Tue, 13 Jan 2026 21:45:31 +0000https://rudrabarta.com/?p=21261153837941768340627
]]>শুরু হলো নতুন বছরের সকাল
https://rudrabarta.com/%e0%a6%b6%e0%a7%81%e0%a6%b0%e0%a7%81-%e0%a6%b9%e0%a6%b2%e0%a7%8b-%e0%a6%a8%e0%a6%a4%e0%a7%81%e0%a6%a8-%e0%a6%ac%e0%a6%9b%e0%a6%b0%e0%a7%87%e0%a6%b0-%e0%a6%b8%e0%a6%95%e0%a6%be%e0%a6%b2/
https://rudrabarta.com/%e0%a6%b6%e0%a7%81%e0%a6%b0%e0%a7%81-%e0%a6%b9%e0%a6%b2%e0%a7%8b-%e0%a6%a8%e0%a6%a4%e0%a7%81%e0%a6%a8-%e0%a6%ac%e0%a6%9b%e0%a6%b0%e0%a7%87%e0%a6%b0-%e0%a6%b8%e0%a6%95%e0%a6%be%e0%a6%b2/#respondSat, 01 Jan 2022 04:35:42 +0000https://rudrabarta.com/?p=122ইংরাজি নতুন বছর 2022 শুরু হলো। একদিকে আমাদের কাছে এটা কল্পতরু দিবস হিসাবেও পরিচিত।
বিগত দু বছর ধরে করোনা নিয়ে নাজেহাল থাকা মানুষ, হাঁফ ছেড়ে বাঁচতে চাইছে। অবশ্য এরই মধ্যে আবারও করোনার তৃতীয় ঢেউ আছড়ে পরতে চলেছে। আশঙ্কা আর আশা দুই মিলেই শুরু হলো এই বছরের সুত্রপাত।
পশ্চিম বঙ্গে এই বছরেই হতে চলেছে বিভিন্ন পৌর সভার নির্বাচন। যদিও এখনও বিচারের আওতায় রয়েছে আদালতের লাল ফিতের ফাঁসে নির্বাচন সংক্রান্ত বিষয়।
আবার সাধারন মানুষ আশায় আছে সারদা রোজভ্যালী নামক চিট ফান্ড কাণ্ডে প্রতারণা করা দোষীদের শাস্তি হবে এটা ভেবে।
ভালো কাটুক আপনাদের সারা বছর আর পাশে থাকুন আমাদের সাথে আপনজন হয়ে। কমেন্টস করে জানাবেন আপনাদের কথা।
]]>https://rudrabarta.com/%e0%a6%b6%e0%a7%81%e0%a6%b0%e0%a7%81-%e0%a6%b9%e0%a6%b2%e0%a7%8b-%e0%a6%a8%e0%a6%a4%e0%a7%81%e0%a6%a8-%e0%a6%ac%e0%a6%9b%e0%a6%b0%e0%a7%87%e0%a6%b0-%e0%a6%b8%e0%a6%95%e0%a6%be%e0%a6%b2/feed/0রুদ্রবার্তা চ্যানেলএ স্বাগত
https://rudrabarta.com/%e0%a6%b8%e0%a7%8d%e0%a6%ac%e0%a6%be%e0%a6%97%e0%a6%a4/
https://rudrabarta.com/%e0%a6%b8%e0%a7%8d%e0%a6%ac%e0%a6%be%e0%a6%97%e0%a6%a4/#respondFri, 26 Nov 2021 08:07:57 +0000http://rudrabarta.com/?p=1Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eros ante, placerat ac pulvinar at, iaculis a quam. Duis ut risus lobortis diam molestie vehicula. Nunc aliquet lectus at egestas tristique. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut commodo vel quam sit amet aliquam. Nulla facilisi. Sed enim libero, pellentesque euismod hendrerit sed, vestibulum nec mi. Integer aliquam purus blandit eleifend auctor. Maecenas porttitor eros at pulvinar lobortis. Donec arcu ante, fringilla id orci id, dignissim mollis sapien. Aenean vehicula justo mauris, eget interdum turpis dapibus a.
Quisque massa mauris, imperdiet in nisl vitae, mollis faucibus enim. Suspendisse mollis tempus enim, id tincidunt velit lacinia eget. Nam tincidunt lorem sit amet malesuada aliquet. Morbi pellentesque pharetra turpis vel mattis. Proin vulputate aliquet tincidunt. Nulla sed urna consequat, aliquam diam in, congue metus. Nullam sit amet aliquam orci.
Donec lorem metus, pulvinar sit amet augue ut, tristique euismod neque. Nullam vitae hendrerit tellus, sit amet maximus lorem. Praesent commodo orci ut venenatis dictum. Pellentesque odio quam, rutrum a mi sed, aliquet ullamcorper ipsum. Phasellus bibendum elit ligula, sed placerat diam hendrerit non. Suspendisse commodo tempus leo at congue. Curabitur aliquet efficitur nisi, eu dignissim dui consectetur vitae. Aenean eget magna quis est tincidunt maximus. Nunc non metus vitae sem imperdiet scelerisque. Aenean egestas euismod ante, id congue ligula egestas sed. Quisque eros enim, dignissim non efficitur posuere, viverra in velit. Aliquam ac pretium sem. Suspendisse fringilla mattis orci in consequat. Mauris quis nulla sed dui volutpat semper eget at neque.