Skip to content

Commit 429869f

Browse files
fix post rating
1 parent 878282c commit 429869f

33 files changed

+2133
-1844
lines changed

animation-addons-for-elementor.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Animation Addons
44
* Description: Animation Addons for Elementor comes with GSAP Animation Builder, Customizable Widgets, Header Footer, Single Post, Archive Page Builder, and more.
55
* Plugin URI: https://animation-addons.com/
6-
* Version: 2.3.9
6+
* Version: 2.3.10
77
* Author: Wealcoder
88
* Author URI: https://animation-addons.com/
99
* License: GPL v2 or later
@@ -26,7 +26,7 @@
2626
/**
2727
* Plugin Version.
2828
*/
29-
define( 'WCF_ADDONS_VERSION', '2.3.9' );
29+
define( 'WCF_ADDONS_VERSION', '2.3.10' );
3030
}
3131
if ( ! defined( 'WCF_ADDONS_FILE' ) ) {
3232
/**
@@ -90,7 +90,7 @@ final class WCF_ADDONS_Plugin {
9090
* @since 1.0.0
9191
* @var string The plugin version.
9292
*/
93-
const VERSION = '2.3.9';
93+
const VERSION = '2.3.10';
9494

9595
/**
9696
* Minimum Elementor Version
@@ -237,7 +237,7 @@ function enqueue_elementor_install_script() {
237237
'wcf-install-elementor-script',
238238
plugin_dir_url(__FILE__) . 'assets/js/install-elementor.js', // Replace with your JS file path
239239
['jquery'], // Dependencies
240-
'2.1', // Version
240+
'2.10', // Version
241241
true // Load in footer
242242
);
243243

assets/css/widgets/nav-menu.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
z-index: 1000;
8585
background-color: rgba(0, 0, 0, 0.5);
8686
height: 100vh;
87-
width: 100%;
87+
width: 100vw;
8888
transition: 0.4s;
8989
opacity: 0;
9090
visibility: hidden;

assets/css/widgets/nav-menu.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/admin-post-rating.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
document.addEventListener('DOMContentLoaded', function () {
2+
const titleField = document.getElementById('title');
3+
if (titleField) {
4+
titleField.setAttribute('readonly', 'readonly');
5+
titleField.style.backgroundColor = '#f9f9f9';
6+
}
7+
const page_title = document.querySelector('.page-title-action');
8+
if(page_title){
9+
page_title.style.display = 'none';
10+
}
11+
});
12+

assets/js/admin-post-rating.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/wcf-admin.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,8 @@
401401
};
402402

403403
WCFAdmin.init();
404-
404+
405+
// Post rating handler
406+
405407

406408
})(jQuery);

assets/src/js/admin-post-rating.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
document.addEventListener('DOMContentLoaded', function () {
2+
const titleField = document.getElementById('title');
3+
if (titleField) {
4+
titleField.setAttribute('readonly', 'readonly');
5+
titleField.style.backgroundColor = '#f9f9f9';
6+
}
7+
const page_title = document.querySelector('.page-title-action');
8+
if(page_title){
9+
page_title.style.display = 'none';
10+
}
11+
});
12+

assets/src/js/wcf-admin.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,8 @@
401401
};
402402

403403
WCFAdmin.init();
404-
404+
405+
// Post rating handler
406+
405407

406408
})(jQuery);

changelog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11

22
== Changelog ==
33

4+
= Animation Addons for Elementor v2.3.10 – 04 auguest 2025 =
5+
- 🆕 **Added:** Date and category filter in search widgets
6+
- 🆕 **Added:** 10 new pre built template
7+
- 🎨 **Updated:** Optimize js , css
8+
- 🎨 **optimize:** Improve asset on demand in search widget
9+
410
= Animation Addons for Elementor v2.3.3 – 02 june 2025 =
511
- 🆕 **Added:** Date and category filter in search widgets
612
- 🆕 **Added:** 10 new pre built template

class-plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ private function include_files()
824824
include_once WCF_ADDONS_PATH . 'inc/trait-wcf-post-query.php';
825825
include_once WCF_ADDONS_PATH . 'inc/trait-wcf-button.php';
826826
include_once WCF_ADDONS_PATH . 'inc/trait-wcf-slider.php';
827+
include_once WCF_ADDONS_PATH . 'inc/post-rating-handler.php';
827828

828829
//extensions
829830
$this->register_extensions();

0 commit comments

Comments
 (0)