Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Commonwell
/
broker-site
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
afd6dedf
authored
2023-01-12 12:23:40 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
clean up
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
64a4dd30
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
wp-content/themes/commonwell-broker/functions.php
wp-content/themes/commonwell-broker/functions.php
View file @
afd6ded
...
...
@@ -74,8 +74,6 @@ function theme_broker_enqueue_scripts()
||
is_page_template
(
"broker_notifications_archive.php"
)
||
is_page_template
(
"broker_account_pages.php"
)
||
get_post_type
()
==
'notifications'
)
{
wp_enqueue_style
(
'global'
,
get_bloginfo
(
'template_url'
)
.
'/styles/brokers/landing-page/broker_landing.css'
,
[],
"0.0.67"
);
wp_enqueue_style
(
'broker_new'
,
get_bloginfo
(
'template_url'
)
.
'/styles/broker_new.css'
,
[],
"0.0.71"
);
...
...
@@ -102,6 +100,7 @@ function theme_broker_enqueue_scripts()
wp_enqueue_style
(
'global'
,
get_bloginfo
(
'template_url'
)
.
'/styles/brokers/secondary-page/broker.css'
,
array
(),
'0.0.64'
);
wp_enqueue_style
(
'broker_new'
,
get_bloginfo
(
'template_url'
)
.
'/styles/broker_new.css'
,
[],
"0.0.7"
);
}
if
(
is_page_template
(
"broker_landing_page.php"
)
||
is_page_template
(
"broker_pages.php"
)
...
...
@@ -313,10 +312,7 @@ function handle_preflight()
}
add_role
(
'cwl_staff'
,
__
(
'CWL Staff'
),
'cwl_staff'
,
__
(
'CWL Staff'
),
array
(
'read'
=>
true
,
// Allows user to read
'create_posts'
=>
true
,
// Allows user to create new posts
...
...
@@ -339,9 +335,6 @@ function ja_theme_setup()
function
enable_extended_upload
(
$mime_types
=
array
())
{
// The MIME types listed here will be allowed in the media library.
// You can add as many MIME types as you want.
$mime_types
[
'gz'
]
=
'application/x-gzip'
;
$mime_types
[
'zip'
]
=
'application/zip'
;
$mime_types
[
'rtf'
]
=
'application/rtf'
;
...
...
@@ -351,8 +344,6 @@ function enable_extended_upload($mime_types = array())
$mime_types
[
'svg'
]
=
'image/svg+xml'
;
$mime_types
[
'xlsm'
]
=
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
;
// If you want to forbid specific file types which are otherwise allowed,
// specify them here. You can add as many as possible.
unset
(
$mime_types
[
'exe'
]);
unset
(
$mime_types
[
'bin'
]);
...
...
Please
register
or
sign in
to post a comment