Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon optimization #1149

Merged
merged 336 commits into from
Aug 29, 2022
Merged
Changes from 1 commit
Commits
Show all changes
336 commits
Select commit Hold shift + click to select a range
7210b8a
JS/optimize: added masonry in all listings (#724)
devShamim Feb 22, 2022
a830d8a
masonary
kowsar89 Feb 22, 2022
10109d4
masonary2
kowsar89 Feb 22, 2022
3df6ecf
masonry2
kowsar89 Feb 22, 2022
37de985
masonry3
kowsar89 Feb 22, 2022
b4776a2
color picker
kowsar89 Feb 22, 2022
83d80c7
improved
kowsar89 Feb 22, 2022
e979166
improved
kowsar89 Feb 22, 2022
22e44cb
map
kowsar89 Feb 23, 2022
5844721
improved
kowsar89 Feb 23, 2022
60441b2
Js/optimize: OS map files refactor (#727)
devShamim Feb 23, 2022
065f3aa
Delete Helper.php
kowsar89 Feb 23, 2022
b600acb
Delete Scripts.php
kowsar89 Feb 23, 2022
9b62377
js updated
kowsar89 Feb 23, 2022
3f5df19
improved
kowsar89 Feb 23, 2022
9e89e6d
Js/optimize (#728)
devShamim Feb 23, 2022
7f0bd8a
Merge branch 'improve/asset2' of github.com:sovware/directorist into …
kowsar89 Feb 23, 2022
55ea165
improved
kowsar89 Feb 23, 2022
6065df2
map
kowsar89 Feb 24, 2022
1a0c247
improved
kowsar89 Feb 24, 2022
3aa24af
improved
kowsar89 Feb 24, 2022
637c008
improved
kowsar89 Feb 24, 2022
bd15951
improved
kowsar89 Feb 24, 2022
51c0a07
improved
kowsar89 Feb 24, 2022
92a196e
JS/optimize: OpenStreet map data refactored in map-view (#729)
devShamim Feb 24, 2022
c1f0b80
script option
kowsar89 Feb 24, 2022
8bc5d9c
JS/optimize (#730)
devShamim Feb 24, 2022
4acb003
gmap
kowsar89 Feb 24, 2022
b3b7801
cleanup
kowsar89 Feb 24, 2022
a17b0a9
JS optimize: map files restructured (#732)
devShamim Feb 27, 2022
8249bf6
Fixed mising google map contents (#692)
kowsar89 Feb 13, 2022
9a4a54e
improved
kowsar89 Feb 27, 2022
3e1923e
improved
kowsar89 Feb 27, 2022
1b5e9f2
improved
kowsar89 Feb 27, 2022
fc41759
add
kowsar89 Feb 27, 2022
fdf98bf
improved
kowsar89 Feb 27, 2022
f8e0e11
improved
kowsar89 Feb 27, 2022
612ffc3
improved
kowsar89 Feb 27, 2022
48dfaed
missing js
kowsar89 Feb 27, 2022
49f5251
uplaod
kowsar89 Feb 27, 2022
39b0cb6
improved
kowsar89 Feb 27, 2022
5abb020
improved
kowsar89 Feb 27, 2022
252af89
map
kowsar89 Feb 27, 2022
f03f5aa
improved
kowsar89 Feb 27, 2022
23c5e2d
improved
kowsar89 Feb 27, 2022
fd66a0f
Add listing files (#734)
devShamim Feb 27, 2022
f887244
JS optimize: atbd prefix removed from file name, code indentation fix…
devShamim Feb 28, 2022
bed04f5
img upload
kowsar89 Mar 1, 2022
3daa749
revise
kowsar89 Mar 1, 2022
a2b8139
single
kowsar89 Mar 1, 2022
059b09c
map
kowsar89 Mar 1, 2022
a9ca4d6
related
kowsar89 Mar 1, 2022
00812b7
style
kowsar89 Mar 1, 2022
5868537
JS optimize: ez-media-uploader.js refactored (#741)
devShamim Mar 2, 2022
e298022
JS Optimize: OS and Google map refactor (#744)
devShamim Mar 3, 2022
b2cfbc6
single map data
kowsar89 Mar 3, 2022
9eea966
map2
kowsar89 Mar 3, 2022
d9d4587
map
kowsar89 Mar 3, 2022
ccfbef8
JS optimize: Maps (#747)
devShamim Mar 6, 2022
59a5e7a
dash
kowsar89 Mar 6, 2022
3be468f
sweet
kowsar89 Mar 6, 2022
40abe7d
shortcode
kowsar89 Mar 6, 2022
61d0a06
authors
kowsar89 Mar 6, 2022
d67fd58
dash
kowsar89 Mar 6, 2022
0b68d60
taxonomy
kowsar89 Mar 6, 2022
bc276ed
Update
kowsar89 Mar 6, 2022
c208a95
sw
kowsar89 Mar 6, 2022
57fec8a
Update
kowsar89 Mar 6, 2022
7207cd2
dash
kowsar89 Mar 7, 2022
8802db9
JS optimize (#750)
devShamim Mar 10, 2022
a6ad69b
account
kowsar89 Mar 10, 2022
95ec726
Update
kowsar89 Mar 10, 2022
8d970a1
JS Optimize (#751)
devShamim Mar 10, 2022
9be2d81
Update
kowsar89 Mar 10, 2022
9de4740
checkout
kowsar89 Mar 10, 2022
c179ab2
Js/optimize (#753)
devShamim Mar 10, 2022
ab71930
Update
kowsar89 Mar 10, 2022
9f33643
Update
kowsar89 Mar 10, 2022
e11c620
JS Optimize (#755)
devShamim Mar 10, 2022
7a35ac2
admin
kowsar89 Mar 10, 2022
13a43f1
Merge branch 'improve/asset2' of github.com:sovware/directorist into …
kowsar89 Mar 10, 2022
a86065d
admin
kowsar89 Mar 10, 2022
f45adb1
Update
kowsar89 Mar 13, 2022
88f99b2
Update
kowsar89 Mar 13, 2022
7b1dd82
Update
kowsar89 Mar 14, 2022
b828505
Update
kowsar89 Mar 14, 2022
a8ab673
Update
kowsar89 Mar 16, 2022
a417acd
Optimize/asset (#766)
syedgalib Mar 16, 2022
9b17f6d
Update
kowsar89 Mar 16, 2022
32bcee7
Update
kowsar89 Mar 16, 2022
fe25cb1
Update
kowsar89 Mar 16, 2022
74562f0
Update
kowsar89 Mar 16, 2022
66a926a
Update
kowsar89 Mar 16, 2022
f61222d
Update
kowsar89 Mar 16, 2022
478d076
Js/optimize (#771)
devShamim Mar 16, 2022
764730a
Update
kowsar89 Mar 16, 2022
d259526
Update
kowsar89 Mar 16, 2022
15716ab
Optimize/asset 3 (#772)
syedgalib Mar 16, 2022
c590220
Update
kowsar89 Mar 16, 2022
c096027
unicopn
kowsar89 Mar 19, 2022
ca06658
t
kowsar89 Mar 19, 2022
bbd6a00
js optimize (#780)
devShamim Mar 20, 2022
912fea3
Update
kowsar89 Mar 20, 2022
f58659d
Update
kowsar89 Mar 20, 2022
161d28f
Update
kowsar89 Mar 20, 2022
c877cdc
Update
kowsar89 Mar 20, 2022
3289db2
Update
kowsar89 Mar 20, 2022
1cd9720
Update
kowsar89 Mar 20, 2022
ee3eb6c
Update
kowsar89 Mar 20, 2022
47266d4
Update
kowsar89 Mar 20, 2022
6558f3b
Update
kowsar89 Mar 20, 2022
eee556a
cleanup
kowsar89 Mar 20, 2022
49704c6
Update
kowsar89 Mar 20, 2022
9dcbf86
Update
kowsar89 Mar 20, 2022
9f8dcdf
JS optimize (#782)
devShamim Mar 20, 2022
92c2426
Update
kowsar89 Mar 20, 2022
f9d4218
JS optimize (#783)
devShamim Mar 21, 2022
7456fdc
widget template added
kowsar89 Mar 27, 2022
10280be
location asset
kowsar89 Mar 27, 2022
54ef3c1
enq
kowsar89 Mar 28, 2022
aaf9a49
Update
kowsar89 Mar 28, 2022
2c05072
Update
kowsar89 Mar 28, 2022
65fa316
Update
kowsar89 Mar 28, 2022
c79a42a
Update
kowsar89 Mar 28, 2022
13db4cb
Update
kowsar89 Mar 28, 2022
5d0add5
JS Optimize: Widgets js and maps widget js refactored (#808)
devShamim Mar 28, 2022
b8ce85b
Update
kowsar89 Mar 28, 2022
c1f7ea3
Update
kowsar89 Mar 28, 2022
e2420df
Update
kowsar89 Mar 28, 2022
afb4950
Update
kowsar89 Mar 28, 2022
87d132a
Update
kowsar89 Mar 28, 2022
3d8868c
Update
kowsar89 Mar 28, 2022
61d3413
remove unused files (#817)
vairafiq Mar 30, 2022
b2bd138
Cleanup/files (#822)
vairafiq Mar 30, 2022
004a2eb
Js/optimize: color picker issue (#818)
devShamim Apr 5, 2022
0a6544b
Fixed listings masonry issue (#862)
devShamim Apr 17, 2022
30da2e6
refactor
kowsar89 Apr 18, 2022
dc86ecd
Update
kowsar89 Apr 18, 2022
3f861a3
Update
kowsar89 Apr 18, 2022
b8565e4
Update
kowsar89 Apr 18, 2022
6d564ac
Update
kowsar89 Apr 18, 2022
dc3f944
removed unused js
kowsar89 Apr 18, 2022
6d711c8
built files
kowsar89 Apr 18, 2022
de95568
atbdp_admin_data
kowsar89 Apr 18, 2022
30a40f8
remove combined
kowsar89 Apr 18, 2022
3371337
Removed unused files (#867)
devShamim Apr 20, 2022
f4b779a
data loading
kowsar89 Apr 20, 2022
77369d8
removed unused files
kowsar89 Apr 20, 2022
4e44bf8
Unused file issue resolved (#869)
devShamim Apr 21, 2022
b0e3be2
managed atbdp_public_data
kowsar89 Apr 24, 2022
13face5
import
kowsar89 Apr 24, 2022
c491078
Update
kowsar89 Apr 24, 2022
ca41110
options
kowsar89 Apr 24, 2022
c14f96b
Widget refactoring (#811)
kowsar89 Apr 24, 2022
0fb332b
merge conflict fix
kowsar89 May 10, 2022
d916a2f
Fixed errors on build (#877)
devShamim May 10, 2022
31f5f85
asset fix
kowsar89 May 10, 2022
c7879db
Added sweetalert.css file (#878)
devShamim May 12, 2022
66806b1
fixed localization
kowsar89 May 12, 2022
1258420
build
kowsar89 May 12, 2022
a123ff8
Updated ez-media-uploader.min.js file (#881)
devShamim May 12, 2022
c994104
instant search
kowsar89 May 12, 2022
22fc6f9
build
kowsar89 May 12, 2022
b758a38
Updated instant search js (#882)
devShamim May 12, 2022
cc71da7
build
kowsar89 May 12, 2022
0bf5cd5
fix merge conflicts
kowsar89 May 15, 2022
0f0e47d
build
kowsar89 May 15, 2022
4f2cf59
Merge branch 'alpha' into alpha24-temp
kowsar89 May 15, 2022
59d9509
template version updated
kowsar89 May 15, 2022
1c160d2
Update
kowsar89 May 15, 2022
95bdace
Block editor comp (#887)
obiPlabon May 18, 2022
4d01bb5
Add/wpml integration (#885)
syedgalib May 18, 2022
a332e19
fixed undefined index error (#892)
syedgalib May 22, 2022
0d3e9e5
unicon support
kowsar89 May 22, 2022
ebd8edb
Fixed few issues (#896)
devShamim May 25, 2022
8c1143b
Update
kowsar89 May 25, 2022
d645958
Fixed add listing frontend submission issue (#905)
devShamim May 29, 2022
f9dab07
build
kowsar89 May 29, 2022
6d4caae
fixed favorite btn issue in author profile page (#907)
devShamim May 30, 2022
27d0847
Fixed range slider issue (#908)
devShamim May 31, 2022
6e36731
merge with alpha
kowsar89 May 31, 2022
8e28f45
dev build
kowsar89 May 31, 2022
017f2fc
merge error fix
kowsar89 May 31, 2022
42d28e8
build
kowsar89 May 31, 2022
6804ea9
Merge branch 'alpha' into alpha24-temp
kowsar89 May 31, 2022
e5418c6
improved
syedgalib May 31, 2022
8e555a8
Update
kowsar89 Jun 1, 2022
621d3fc
image
kowsar89 Jun 1, 2022
bbc3571
Update
kowsar89 Jun 2, 2022
dabe53b
fontaw
kowsar89 Jun 2, 2022
3927d11
Update
kowsar89 Jun 2, 2022
118ba7a
unicons
kowsar89 Jun 2, 2022
59a48d0
css
kowsar89 Jun 2, 2022
51d22d2
Update
kowsar89 Jun 2, 2022
475d225
Update
kowsar89 Jun 2, 2022
b8b0d2f
Update
kowsar89 Jun 2, 2022
8c7ecd9
build
kowsar89 Jun 5, 2022
2a4e37d
rename
kowsar89 Jun 5, 2022
36753eb
refactor
kowsar89 Jun 6, 2022
6580be9
icon font update
kowsar89 Jun 6, 2022
52bcec7
refactor
kowsar89 Jun 15, 2022
38e764c
icon refactored
kowsar89 Jun 15, 2022
11c351f
icon refactored 2
kowsar89 Jun 15, 2022
9c49ed1
icon refactored 3
kowsar89 Jun 15, 2022
41252b9
icon refactored 4
kowsar89 Jun 16, 2022
ed1dd1b
Merge from alpha (#993)
kowsar89 Jul 5, 2022
a7268ab
merge from alpha 05adf6a
kowsar89 Aug 14, 2022
1910ba9
build after alpha maerge
kowsar89 Aug 14, 2022
c3feac1
security recheck
kowsar89 Aug 14, 2022
3e33e32
archive gs
kowsar89 Aug 14, 2022
e41fe7b
template v update
kowsar89 Aug 14, 2022
62ac5da
Update
kowsar89 Aug 14, 2022
f66bf20
sync with alpha
kowsar89 Aug 17, 2022
3f03990
unicons path updated
kowsar89 Aug 17, 2022
48978b9
unicons refactored
kowsar89 Aug 17, 2022
08c77c9
Update
kowsar89 Aug 17, 2022
ff1aa43
Improved
kowsar89 Aug 18, 2022
3016226
Icon picker added (#929)
devShamim Aug 21, 2022
17f8172
improved icon picker code
kowsar89 Aug 21, 2022
85733ff
category icon
kowsar89 Aug 22, 2022
681d767
dashboard
kowsar89 Aug 22, 2022
d482660
dashboard 2
kowsar89 Aug 22, 2022
8d9a64d
share
kowsar89 Aug 22, 2022
74b4379
widgets
kowsar89 Aug 22, 2022
97a0fe7
dash
kowsar89 Aug 22, 2022
6581a64
phpcs
kowsar89 Aug 22, 2022
fb05881
star
kowsar89 Aug 23, 2022
1689725
Update
kowsar89 Aug 23, 2022
8ec1c1f
Update
kowsar89 Aug 23, 2022
2d5e8d5
Fix: Icon issues (#1138)
devShamim Aug 23, 2022
e25a34e
Update
kowsar89 Aug 23, 2022
e83ed33
Update
kowsar89 Aug 23, 2022
0d9b732
Fixed icons issue (#1140)
devShamim Aug 23, 2022
bf49d02
Update
kowsar89 Aug 23, 2022
ea11ca0
remove settings
kowsar89 Aug 23, 2022
aa41bb4
Merge branch 'alpha' into icon-optimize
kowsar89 Aug 24, 2022
a5b62bc
legacy
kowsar89 Aug 24, 2022
b7e2e5b
refactor
kowsar89 Aug 24, 2022
3c2fbd9
Improved
kowsar89 Aug 24, 2022
a7cd1d2
Improved
kowsar89 Aug 24, 2022
a461667
Update
kowsar89 Aug 25, 2022
8d0e0b0
caticon
kowsar89 Aug 25, 2022
d67f377
Update
kowsar89 Aug 25, 2022
f7d7ad6
Merge branch 'alpha' into icon-optimize
kowsar89 Aug 25, 2022
6fbe110
Update
kowsar89 Aug 25, 2022
7cacb67
Fixed: icons issue (#1146)
devShamim Aug 25, 2022
fb76b35
Update
kowsar89 Aug 25, 2022
5d4df34
admin icon replaced to lineawesome
kowsar89 Aug 25, 2022
0d8ad66
migration icon
kowsar89 Aug 25, 2022
f04b90a
Merge branch 'alpha' into icon-optimize
kowsar89 Aug 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update
  • Loading branch information
kowsar89 committed Apr 18, 2022
commit 6d564acc430599f2056e77080cc6cb0b1f7d4c3c
29 changes: 28 additions & 1 deletion includes/asset-loader/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

class Asset_Loader {

/**
* Initialize
*
* @return void
*/
public static function init() {
// Frontend scripts
add_action( 'wp_enqueue_scripts', array( __CLASS__, 'register_scripts' ) );
Expand All @@ -23,10 +28,15 @@ public static function init() {
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_scripts' ), 12 );
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'localized_data' ), 15 );

// Enqueue conditional scripts based on templates
// Enqueue conditional scripts depending on loaded template
add_action( 'before_directorist_template_loaded', array( __CLASS__, 'load_template_scripts' ) );
}

/**
* Enqueue all styles to all pages.
*
* @return void
*/
public static function enqueue_styles() {
// Map CSS
self::enqueue_map_styles();
Expand All @@ -48,6 +58,11 @@ public static function enqueue_styles() {
wp_add_inline_style( 'directorist-main-style', Helper::dynamic_style() );
}

/**
* Enqueue scripts in Single listing page.
*
* @return void
*/
public static function enqueue_single_listing_scripts() {
if ( ! is_singular( ATBDP_POST_TYPE ) ) {
return;
Expand All @@ -62,6 +77,13 @@ public static function enqueue_single_listing_scripts() {
}
}

/**
* Enqueue conditional scripts depending on loaded template.
*
* @param string $template
*
* @return void
*/
public static function load_template_scripts( $template ) {

if ( Helper::is_widget_template( $template ) && !wp_script_is( 'directorist-widgets' ) ) {
Expand Down Expand Up @@ -194,6 +216,11 @@ public static function load_template_scripts( $template ) {
}
}

/**
* Enqueue conditional admin scripts depending on current admin screen.
*
* @return void
*/
public static function admin_scripts() {
if ( Helper::is_admin_page( 'builder-archive' ) ) {
wp_enqueue_style( 'directorist-admin-style' );
Expand Down