Changeset 3402181
- Timestamp:
- 11/25/2025 03:55:00 AM (3 weeks ago)
- Location:
- duplicate-page-or-post/trunk
- Files:
-
- 6 edited
-
admin/css/duplicate_post_menu.css (modified) (7 diffs)
-
admin/css/featured_plugins_css.css (modified) (6 diffs)
-
admin/css/hire_expert.css (modified) (6 diffs)
-
admin/js/duplicate_post_menu.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wpdevart-duplicate-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
duplicate-page-or-post/trunk/admin/css/duplicate_post_menu.css
r2218607 r3402181 1 #save_all_parametrs{ 2 margin-right:20px; 3 } 4 .save_all_paramss{ 5 width: 160px; 6 display: inline-block; 7 float: right; 1 #save_all_parametrs { 2 margin-right: 20px; 8 3 } 9 4 10 .main_parametrs_group_div{ 11 float:left; 12 background-color:#fafafa; 13 display:inline-block; 14 width:100%; 5 .save_all_paramss { 6 width: 160px; 7 display: inline-block; 8 float: right; 9 } 10 11 .main_parametrs_group_div { 12 float: left; 13 background-color: #fafafa; 14 display: inline-block; 15 width: 100%; 15 16 box-sizing: border-box; 16 17 position: relative; 17 18 min-width: 430px; 18 19 border: 1px solid #e5e5e5; 19 -webkit-box-shadow: 0 1px 1px rgba(0, 0,0,.04);20 box-shadow: 0 1px 1px rgba(0, 0,0,.04);20 -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 21 box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 21 22 margin-bottom: 20px; 22 23 padding: 0; … … 25 26 } 26 27 27 .main_parametrs_group_div:hover {28 .main_parametrs_group_div:hover { 28 29 border: 1px solid #D5D5D5; 29 30 } 30 .head_panel_div{ 31 cursor:pointer; 32 border-bottom:1px solid #e5e5e5; 31 32 .head_panel_div { 33 cursor: pointer; 34 border-bottom: 1px solid #e5e5e5; 33 35 } 34 .main_parametrs_group_div.closed_params .head_panel_div{ 35 border-bottom:0px; 36 37 .main_parametrs_group_div.closed_params .head_panel_div { 38 border-bottom: 0px; 36 39 } 37 .title_parametrs_group{ 40 41 .title_parametrs_group { 38 42 display: inline-block; 39 43 -webkit-user-select: none; … … 41 45 -ms-user-select: none; 42 46 user-select: none; 43 font-weight: bold;47 font-weight: bold; 44 48 font-size: 15px; 45 49 padding: 8px 12px; … … 47 51 line-height: 1.4; 48 52 } 49 .open_or_closed{ 50 float:right; 51 height:20px; 53 54 .open_or_closed { 55 float: right; 56 height: 20px; 52 57 right: 10px; 53 58 color: #aaa; … … 59 64 -webkit-font-smoothing: antialiased; 60 65 -moz-osx-font-smoothing: grayscale; 61 text-decoration: none !important;66 text-decoration: none !important; 62 67 } 63 .head_panel_div:hover .open_or_closed{ 64 color:#777 68 69 .head_panel_div:hover .open_or_closed { 70 color: #777 65 71 } 66 .open_or_closed:before{ 72 73 .open_or_closed:before { 67 74 content: '\f142'; 68 75 69 76 } 70 .main_parametrs_group_div.closed_params .open_or_closed:before{ 77 78 .main_parametrs_group_div.closed_params .open_or_closed:before { 71 79 content: '\f140'; 72 80 } 73 .main_parametrs_group_div.closed_params .inside_information_div{ 74 display:none; 81 82 .main_parametrs_group_div.closed_params .inside_information_div { 83 display: none; 75 84 } 76 .section_parametrs_table{ 77 border:0px !important; 85 86 .section_parametrs_table { 87 border: 0px !important; 78 88 } 79 .section_parametrs_table td{ 89 90 .section_parametrs_table td { 80 91 display: table-cell !important; 81 92 } 82 .section_parametrs_table > tbody > tr:nth-child(odd){ 83 background-color:rgba(176, 176, 176, 0.07); 93 94 .section_parametrs_table>tbody>tr:nth-child(odd) { 95 background-color: rgba(176, 176, 176, 0.07); 84 96 } 85 .section_parametrs_table > tbody > tr td{ 86 vertical-align:middle !important; 97 98 .section_parametrs_table>tbody>tr td { 99 vertical-align: middle !important; 87 100 } 88 .section_parametrs_table > tbody > tr>td:nth-child(1){ 89 width:320px; 101 102 .section_parametrs_table>tbody>tr>td:nth-child(1) { 103 width: 320px; 90 104 } 105 91 106 .saving_in_progress { 92 position: relative;93 display: none;94 width: 20px;95 height: 20px;96 margin-left: 12px;97 top: 4px;98 background-image: url(../images/loading.gif);99 background-size: 100% 100%;107 position: relative; 108 display: none; 109 width: 20px; 110 height: 20px; 111 margin-left: 12px; 112 top: 4px; 113 background-image: url(../images/loading.gif); 114 background-size: 100% 100%; 100 115 } 101 .padding_loading{ 116 117 .padding_loading { 102 118 width: 130px !important; 103 119 } 104 .sucsses_save{ 120 121 .sucsses_save { 105 122 position: relative; 106 display: none;123 display: none; 107 124 width: 20px; 108 125 height: 20px; … … 110 127 top: 4px; 111 128 background-image: url(../images/success.png); 112 background-size: 100% 100%;129 background-size: 100% 100%; 113 130 } 114 .error_in_saving{ 131 132 .error_in_saving { 115 133 position: relative; 116 display: none;134 display: none; 117 135 width: 20px; 118 136 height: 20px; … … 120 138 top: 4px; 121 139 background-image: url(../images/remove_element.png); 122 background-size: 100% 100%;140 background-size: 100% 100%; 123 141 } 124 .error_massage{ 142 143 .error_massage { 125 144 color: #BB1E1E; 126 145 font-size: 18px; 127 146 font-weight: bold; 128 147 padding-left: 21px; 129 display: block;148 display: block; 130 149 } -
duplicate-page-or-post/trunk/admin/css/featured_plugins_css.css
r3222777 r3402181 1 .featured_plugin_main {1 .featured_plugin_main { 2 2 background-color: #ffffff; 3 3 -webkit-box-sizing: border-box; … … 9 9 width: calc((100% - 90px)/3); 10 10 border-radius: 15px; 11 box-shadow: 1px 1px 7px rgba(0, 0,0,0.04);11 box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.04); 12 12 padding: 20px 25px; 13 13 text-align: center; 14 -webkit-transition: -webkit-transform 0.3s;15 -moz-transition: -moz-transform 0.3s;16 transition: transform 0.3s;14 -webkit-transition: -webkit-transform 0.3s; 15 -moz-transition: -moz-transform 0.3s; 16 transition: transform 0.3s; 17 17 -webkit-transform: translateY(0); 18 -moz-transform: translateY 0);18 -moz-transform: translateY(0); 19 19 transform: translateY(0); 20 20 min-height: 344px; 21 } 22 .wpda_featured_plugins_title{ 21 } 22 23 .wpda_featured_plugins_title { 23 24 text-align: center; 24 25 font-size: 50px; … … 27 28 margin: 20px auto 25px; 28 29 line-height: 1.2; 29 } 30 .featured_plugin_main:hover{ 30 } 31 32 .featured_plugin_main:hover { 31 33 -webkit-transform: translateY(-2px); 32 34 -moz-transform: translateY(-2px); 33 35 transform: translateY(-2px); 34 } 35 .featured_plugin_image{ 36 } 37 38 .featured_plugin_image { 36 39 max-width: 128px; 37 40 margin: 0 auto; 38 41 } 39 .blue_button{ 40 display: inline-block; 41 font-size: 15px; 42 text-decoration: none; 43 border-radius: 5px; 44 color: #ffffff; 45 font-weight: 400; 46 opacity: 1; 47 -webkit-transition: opacity 0.3s; 48 -moz-transition: opacity 0.3s; 49 transition: opacity 0.3s; 50 background-color: #7052fb; 51 padding: 10px 22px; 52 text-transform: uppercase; 42 43 .blue_button { 44 display: inline-block; 45 font-size: 15px; 46 text-decoration: none; 47 border-radius: 5px; 48 color: #ffffff; 49 font-weight: 400; 50 opacity: 1; 51 -webkit-transition: opacity 0.3s; 52 -moz-transition: opacity 0.3s; 53 transition: opacity 0.3s; 54 background-color: #7052fb; 55 padding: 10px 22px; 56 text-transform: uppercase; 53 57 } 58 54 59 .blue_button:hover, 55 60 .blue_button:focus { 56 color: #ffffff;61 color: #ffffff; 57 62 box-shadow: none; 58 63 outline: none; 59 64 } 60 .featured_plugin_image img{ 65 66 .featured_plugin_image img { 61 67 max-width: 100%; 62 68 } 63 .featured_plugin_image a{ 69 70 .featured_plugin_image a { 64 71 display: inline-block; 65 72 } 66 .featured_plugin_information{ 73 74 .featured_plugin_title { 75 color: #7052fb; 76 font-size: 18px; 77 display: inline-block; 78 } 79 80 .featured_plugin_title a { 81 text-decoration: none; 82 font-size: 19px; 83 line-height: 22px; 84 color: #7052fb; 67 85 68 86 } 69 .featured_plugin_title{ 70 color: #7052fb; 71 font-size: 18px; 72 display: inline-block; 87 88 .featured_plugin_title h4 { 89 margin: 0px; 90 margin-top: 20px; 91 min-height: 44px; 73 92 } 74 .featured_plugin_title a{ 75 text-decoration:none; 76 font-size: 19px; 77 line-height: 22px; 78 color: #7052fb; 79 93 94 .featured_plugin_description { 95 font-size: 14px; 96 min-height: 63px; 80 97 } 81 .featured_plugin_title h4{ 82 margin: 0px; 83 margin-top: 20px; 84 min-height: 44px; 85 } 86 .featured_plugin_description{ 87 font-size: 14px; 88 min-height: 63px; 89 } 90 @media screen and (max-width: 1460px){ 98 99 @media screen and (max-width: 1460px) { 91 100 .featured_plugin_main { 92 101 margin-right: 20px; … … 95 104 padding: 20px 10px; 96 105 } 106 97 107 .featured_plugin_description { 98 108 font-size: 13px; … … 100 110 } 101 111 } 102 @media screen and (max-width: 1279px){ 112 113 @media screen and (max-width: 1279px) { 103 114 .featured_plugin_main { 104 115 width: calc((100% - 60px)/2); 105 116 padding: 20px 20px; 106 117 min-height: 363px; 107 } 118 } 108 119 } 109 @media screen and (max-width: 768px){ 120 121 @media screen and (max-width: 768px) { 110 122 .featured_plugin_main { 111 123 width: calc(100% - 30px); … … 114 126 margin: 0 auto 20px; 115 127 float: none; 116 } 117 .featured_plugin_title h4{ 128 } 129 130 .featured_plugin_title h4 { 118 131 min-height: auto; 119 } 120 .featured_plugin_description{ 132 } 133 134 .featured_plugin_description { 121 135 min-height: auto; 122 font-size: 14px;123 } 136 font-size: 14px; 137 } 124 138 } -
duplicate-page-or-post/trunk/admin/css/hire_expert.css
r3222777 r3402181 1 2 .wpda_hire_exp_h1{ 1 .wpda_hire_exp_h1 { 3 2 text-align: center; 4 3 font-size: 50px; … … 8 7 line-height: 1.2; 9 8 } 10 .hire_expert_main{ 11 background-color:white; 12 width:calc(100% - 20px); 13 padding:20px; 14 text-align: center; 15 box-sizing: border-box; 9 10 .hire_expert_main { 11 background-color: white; 12 width: calc(100% - 20px); 13 padding: 20px; 14 text-align: center; 15 box-sizing: border-box; 16 16 padding-left: 60px; 17 17 } 18 18 19 .wpdevart_hire_main { 19 20 color: #060606; … … 34 35 transform: translateY(0); 35 36 min-height: 380px; 36 background-image: linear-gradient(#1d2327, #2b2350);37 background-image: linear-gradient(#1d2327, #2b2350); 37 38 vertical-align: top; 38 cursor: pointer;39 cursor: pointer; 39 40 } 40 .wpda_hire_buklet:hover,.wpda_hire_buklet:active,.wpda_hire_buklet{ 41 color:#060606; 42 text-decoration:none; 41 42 .wpda_hire_buklet:hover, .wpda_hire_buklet:active, .wpda_hire_buklet { 43 color: #060606; 44 text-decoration: none; 43 45 } 44 @media screen and (max-width: 1850px){ 45 .wpdevart_hire_main { 46 margin-right: 25px; 47 width: calc((100% - 125px)/5); 46 47 @media screen and (max-width: 1850px) { 48 .wpdevart_hire_main { 49 margin-right: 25px; 50 width: calc((100% - 125px)/5); 51 } 48 52 } 53 54 @media screen and (max-width: 1450px) { 55 .wpdevart_hire_main { 56 margin-right: 25px; 57 width: calc((100% - 100px)/4); 58 } 49 59 } 50 @media screen and (max-width: 1450px){ 51 .wpdevart_hire_main { 52 margin-right: 25px; 53 width: calc((100% - 100px)/4); 60 61 @media screen and (max-width: 1150px) { 62 .wpdevart_hire_main { 63 margin-right: 30px; 64 width: calc((100% - 90px)/3); 65 } 54 66 } 67 68 @media screen and (max-width: 900px) { 69 .wpdevart_hire_main { 70 margin-right: 30px; 71 width: calc((100% - 60px)/2); 72 } 55 73 } 56 @media screen and (max-width: 1150px){ 57 .wpdevart_hire_main { 58 margin-right: 30px; 59 width: calc((100% - 90px)/3); 74 75 @media screen and (max-width: 500px) { 76 .wpdevart_hire_main { 77 margin-right: 0px; 78 width: 100%; 79 } 80 81 .hire_expert_main { 82 width: 100%; 83 } 60 84 } 61 } 62 @media screen and (max-width: 900px){ 63 .wpdevart_hire_main { 64 margin-right: 30px; 65 width: calc((100% - 60px)/2); 66 } 67 } 68 @media screen and (max-width: 500px){ 69 .wpdevart_hire_main { 70 margin-right: 0px; 71 width: 100%; 72 } 73 .hire_expert_main{ 74 width:100%; 75 } 76 } 85 77 86 .wpdevart_hire_main:hover { 78 87 box-shadow: 0 6px 20px 1px #151d22; 79 88 } 89 80 90 .wpdevart_hire_image { 81 91 max-width: 128px; 82 92 margin: 0 auto; 83 93 } 94 84 95 .wpdevart_hire_image img { 85 96 max-width: 100%; 86 97 } 98 87 99 .wpdevart_hire_title { 88 100 color: #ffffff; … … 92 104 margin-top: 15px; 93 105 } 106 94 107 .wpdevart_hire_description { 95 108 font-size: 14px; … … 97 110 color: #ffffff; 98 111 } 99 .wpda_hire_button{ 112 113 .wpda_hire_button { 100 114 background-color: #2b2350; 101 115 border: none; … … 108 122 cursor: pointer; 109 123 } 110 .wpda_hire_button:visited,.wpda_hire_button:hover,.wpda_hire_button:active,.wpda_hire_button{ 111 color: #ffffff; 124 125 .wpda_hire_button:visited, .wpda_hire_button:hover, .wpda_hire_button:active, .wpda_hire_button { 126 color: #ffffff; 112 127 text-decoration: none; 113 128 font-size: 18px; 114 129 font-weight: bold; 115 border-radius:3px;130 border-radius: 3px; 116 131 } 117 .wpda_hire_button:hover{ 118 box-shadow: 0px 4px 11px 0px #151d22; 132 133 .wpda_hire_button:hover { 134 box-shadow: 0px 4px 11px 0px #151d22; 119 135 } -
duplicate-page-or-post/trunk/admin/js/duplicate_post_menu.js
r2218607 r3402181 1 1 2 function wpdevart_duplicate_post_save_admin_menu_parametrs() {2 function wpdevart_duplicate_post_save_admin_menu_parametrs() { 3 3 jQuery('#wpdevart_save_in_databese').addClass('padding_loading'); 4 jQuery('#wpdevart_save_in_databese').prop('disabled', true); 5 jQuery('#wpdevart_save_in_databese .saving_in_progress').css('display', 'inline-block');6 jQuery('#wpdevart_save_in_databese').attr('data-clickabel', 'no');4 jQuery('#wpdevart_save_in_databese').prop('disabled', true); 5 jQuery('#wpdevart_save_in_databese .saving_in_progress').css('display', 'inline-block'); 6 jQuery('#wpdevart_save_in_databese').attr('data-clickabel', 'no'); 7 7 var clickabel 8 var wpdevart_data ={};9 jQuery("#wpdevart_parametrs_table > tbody > tr input").each(function (){10 wpdevart_data[jQuery(this).attr("id")] =jQuery(this).val();8 var wpdevart_data = {}; 9 jQuery("#wpdevart_parametrs_table > tbody > tr input").each(function () { 10 wpdevart_data[jQuery(this).attr("id")] = jQuery(this).val(); 11 11 }); 12 jQuery("#wpdevart_parametrs_table > tbody > tr select").each(function (){13 wpdevart_data[jQuery(this).attr("id")] =jQuery(this).val();14 }); 15 12 jQuery("#wpdevart_parametrs_table > tbody > tr select").each(function () { 13 wpdevart_data[jQuery(this).attr("id")] = jQuery(this).val(); 14 }); 15 16 16 jQuery.ajax({ 17 type: 'POST',18 url: wpdevart_js_object.ajax_url +'?action=wpdevart_duplicate_post_parametrs_save_in_db',17 type: 'POST', 18 url: wpdevart_js_object.ajax_url + '?action=wpdevart_duplicate_post_parametrs_save_in_db', 19 19 data: wpdevart_data, 20 }).done(function (date) {21 jQuery('#wpdevart_save_in_databese .saving_in_progress').css('display', 'none');22 if (date=="1"){23 jQuery('#wpdevart_save_in_databese .sucsses_save').css('display', 'inline-block');24 setTimeout(function (){jQuery('#wpdevart_save_in_databese').attr('data-clickabel','yes');jQuery('#wpdevart_save_in_databese .sucsses_save').hide('fast');jQuery('#wpdevart_save_in_databese').removeClass('padding_loading');jQuery('#wpdevart_save_in_databese').prop('disabled', false); },1800);25 jQuery('#wpdevart_save_in_databese').attr('data-clickabel', 'no');20 }).done(function (date) { 21 jQuery('#wpdevart_save_in_databese .saving_in_progress').css('display', 'none'); 22 if (date == "1") { 23 jQuery('#wpdevart_save_in_databese .sucsses_save').css('display', 'inline-block'); 24 setTimeout(function () { jQuery('#wpdevart_save_in_databese').attr('data-clickabel', 'yes'); jQuery('#wpdevart_save_in_databese .sucsses_save').hide('fast'); jQuery('#wpdevart_save_in_databese').removeClass('padding_loading'); jQuery('#wpdevart_save_in_databese').prop('disabled', false); }, 1800); 25 jQuery('#wpdevart_save_in_databese').attr('data-clickabel', 'no'); 26 26 } 27 else {28 jQuery('#wpdevart_save_in_databese .error_in_saving').css('display', 'inline-block');27 else { 28 jQuery('#wpdevart_save_in_databese .error_in_saving').css('display', 'inline-block'); 29 29 jQuery('#wpdevart_save_in_databese').parent().find('.error_massage').eq(0).html(date); 30 30 } 31 31 }); 32 32 } 33 jQuery(document).ready(function(){ 34 jQuery("#wpdevart_save_in_databese").click(function(){ 35 if(jQuery('#wpdevart_save_in_databese').attr('data-clickabel')=="yes"){ 36 wpdevart_duplicate_post_save_admin_menu_parametrs(); 37 } 38 }) 33 jQuery(document).ready(function () { 34 jQuery("#wpdevart_save_in_databese").click(function () { 35 if (jQuery('#wpdevart_save_in_databese').attr('data-clickabel') == "yes") { 36 wpdevart_duplicate_post_save_admin_menu_parametrs(); 37 } 39 38 }) 39 }) -
duplicate-page-or-post/trunk/readme.txt
r3308912 r3402181 4 4 Tags: duplicate page, duplicate post, clone, clone page, clone post 5 5 Requires at least: 3.4.0 6 Tested up to: 6.8 7 Stable tag: 1.6. 46 Tested up to: 6.8.3 7 Stable tag: 1.6.5 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 335 335 336 336 * tested 337 338 = 1.6.4 = 339 340 * code improved -
duplicate-page-or-post/trunk/wpdevart-duplicate-post.php
r3308912 r3402181 5 5 * Author URI: https://wpdevart.com/ 6 6 * Description: Duplicate Page or Post is an great tool that allow to duplicate pages and posts. Now you can do it in one click. 7 * Version: 1.6. 47 * Version: 1.6.5 8 8 * Author: wpdevart 9 9 * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset
for help on using the changeset viewer.