❕دوستانی که عضو دوره هستند این آموزش در فصل پیشرفته آموزش های خاص قرار گرفته
📌مشاهده در یوتیوب
https://youtube.com/watch?v=eF_-e9BxzoM
@niasir | nias.ir
با کانال تلگرامی Nias | نیاس آموزش های خاص و متمایز در زمینه طراحی سایت با استفاده از المنتور را بیاموزید. این کانال مناسب برای همه کسانی است که علاقه مند به یادگیری فنون حرفه ای طراحی وبسایت هستند. وبسایت رسمی Nias.ir نیز به عنوان منبع اصلی اطلاعات و مطالب ارائه شده در این کانال عرضه می شود. آیا شما هم عاشق دنیای وبسایت ها هستید؟ آیا می خواهید از تکنیک ها و روش های جدید طراحی سایت مطلع شوید؟ پس حتما به کانال Nias | نیاس ملحق شوید و از آموزش های ارزشمند آن بهره مند شوید. با پشتیبانی و امکان سفارش پروژه از طریق ارتباط با کاربر @Alireza_aliniya، همواره در کنار شما خواهیم بود تا به بهترین شکل ممکن در پرورش دانش و مهارت های شما در زمینه طراحی سایت کمک کنیم.
18 Feb, 11:28
15 Feb, 06:27
ul.e-n-menu-heading {
display: flex;
flex-direction: column!important;
gap: 20px!important;
}
.nias-right-header-vertical {
position: fixed;
right: 0;
z-index: 9;
width: 250px;
top: 0;
}
body {
margin-right: 250px;
}
.nias-right-header-vertical .e-n-menu-content.e-active {
position: fixed!important;
top: 0!important;
padding-right: 250px!important;
width: 100%!important;
height: 100vh!important;
backdrop-filter: blur(5px);
z-index: -1;
}
13 Feb, 06:04
26 Jan, 07:58
18 Jan, 16:57
06 Jan, 23:00
// Author: nias.ir
// Prevent Elementor from connecting to my.elementor.com
add_filter('elementor/connect/additional-connect-info', '__return_empty_array');
add_filter('elementor/connect/connect-url', '__return_empty_string');
add_filter('elementor/connect/remote-info-data', '__return_empty_array');
// Handle the base-app.php errors by providing default values
add_filter('elementor/connect/apps/get_client_data', function($client_data) {
if (is_wp_error($client_data)) {
return [
'client_id' => '',
'auth_secret' => '',
'redirect_uri' => '',
'callback' => '',
'admin_notice' => '',
];
}
return $client_data;
}, 10, 1);
// Prevent connection attempts entirely without showing error
add_filter('pre_http_request', function($pre, $parsed_args, $url) {
if (strpos($url, 'my.elementor.com') !== false) {
// Return a valid response to avoid the error
return [
'body' => '',
'response' => [
'code' => 200,
],
'headers' => [],
'cookies' => [],
];
}
return $pre;
}, 10, 3);
// Disable Elementor Connect Library
add_action('elementor/init', function() {
if (class_exists('\Elementor\Core\Common\Modules\Connect\Module')) {
remove_action('elementor/editor/before_enqueue_scripts', [
\Elementor\Core\Common\Modules\Connect\Module::class,
'enqueue_connect_scripts'
]);
}
});
// Remove Connect menu item
add_action('admin_menu', function() {
remove_submenu_page('elementor', 'elementor-connect');
}, 99);
// Disable library sync
add_filter('elementor/api/get_templates/body_args', '__return_empty_array');
// Prevent 404 errors on API routes
add_filter('elementor/api/get_info_data', '__return_empty_array');
// Suppress specific WP_Error notices
add_action('init', function() {
remove_action('admin_notices', [\Elementor\Core\Common\Modules\Connect\Module::class, 'admin_notice']);
});
// Author: nias.ir
06 Jan, 22:59
28 Dec, 07:18
28 Dec, 06:08
18 Dec, 09:29
07 Dec, 20:31
28 Nov, 20:10
28 Nov, 18:44
21 Nov, 07:58
14 Nov, 20:14
کد غیرفعال سازی آپدیت خودکار
// غیرفعال کردن آپدیتهای خودکار اصلی وردپرس
add_filter('automatic_updater_disabled', '__return_true');
add_filter('auto_update_core', '__return_false');
// غیرفعال کردن آپدیتهای خودکار افزونهها
add_filter('auto_update_plugin', '__return_false');
// غیرفعال کردن آپدیتهای خودکار پوستهها
add_filter('auto_update_theme', '__return_false');
14 Nov, 20:13
14 Nov, 06:59
selector{
filter:grayscale(100%) invert(100%);
}
11 Nov, 03:33
07 Nov, 16:49
07 Nov, 15:47
31 Oct, 05:47
27 Oct, 06:24
add_filter('auth_cookie_expiration', 'nias_keep_me_logged_in_for_1_year');
function nias_keep_me_logged_in_for_1_year($expirein) {
return 31556926; // 1 year in seconds
}
22 Oct, 19:11
20 Oct, 06:01
17 Oct, 07:22
*{
cursor: url('https://niasel.ir/wp-content/uploads/2024/10/4020210-1-2.png'), auto;
}
09 Oct, 18:57
function isUserFromIran() {
$userIP = $_SERVER['REMOTE_ADDR'];
$ch = curl_init();
$geolocationAPI = "http://ip-api.com/json/$userIP";
curl_setopt($ch, CURLOPT_URL, $geolocationAPI);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
$response = curl_exec($ch);
if ($response === false) {
exit();
}
curl_close($ch);
$data = json_decode($response);
if ($data->country == "Iran") {
return true;
}
return false;
}
add_action('woocommerce_before_checkout_form', 'displayVPNMessage');
function displayVPNMessage() {
if (!isUserFromIran()) {
echo '<ul class="woocommerce-error"><li>به نظر میرسه VPN شما روشنه. لطفاً برای جلوگیری از خطا در فرآیند پرداخت VPN خود را خاموش کنید و سپس پرداخت را انجام دهید</li></ul>';
}
}
09 Oct, 18:18
08 Oct, 16:31
.nias-mask img {
-webkit-mask: linear-gradient(-60deg,#000 30%,#0005,#000 50%) right / 300% 100%;
mask: linear-gradient(-60deg,#000 30%,#0005,#000 50%) right / 300% 100%;
animation: nsshine 3s infinite
}
@keyframes nsshine {
0% {
-webkit-mask-position: 140% 140%;
mask-position: 140% 140%
}
100% {
-webkit-mask-position: -20% -20%;
mask-position: -20% -20%
}
}
08 Oct, 16:30
01 Oct, 12:09
.nias-submit a.elementor-button.elementor-button-link.elementor-size-sm:before{
content:"";
background-color:white;/*این رنگ بورده*/
width:100%;
height:70%;
position:absolute;
top:calc(50% - 15px);
right:0;
border-radius:50px;
z-index:-1;
animation:niasboxshadow 3s linear infinite; /*مدت زمان انیمیشن*/
}
.nias-submit .elementor-button-wrapper {
display:flex;
padding:1px;/*کلفتی بوردر*/
overflow:hidden;
position:relative;
border-radius:50px;
}
@keyframes niasboxshadow{
from{
transform:rotate(0);
}to{
transform:rotate(360deg);
}
}
01 Oct, 12:09
22 Sep, 08:23
10 Sep, 09:39
25 Aug, 16:51