FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cherryframework4/sidebar.php at develop · CherryFramework/cherryframework4 · GitHub
CherryFramework
/
cherryframework4
Public
Notifications
You must be signed in to change notification settings
Fork
30
Star
55
Code
Issues
23
Pull requests
3
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
cherryframework4
/
sidebar.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
37 lines (31 loc) · 743 Bytes
Breadcrumbs
cherryframework4
/
sidebar.php
Copy path
File metadata and controls
37 lines (31 loc) · 743 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* The general template for all theme sidebars.
*/
/**
* Fires before sidebar wrapper are opened.
*
* @since 4.0.5.2
* @param string $name The name of the specialised sidebar.
*/
do_action
(
'
cherry_sidebar_before
'
,
$
name
);
printf
(
'
<div %s>
'
,
cherry_get_attr
(
'
sidebar
'
,
$
name
) );
if
(
is_active_sidebar
(
$
name
) ) {
dynamic_sidebar
(
$
name
);
}
else
{
/**
* Fires if sidebar are empty.
*
* @since 4.0.5.2
* @param string $name The name of the specialised sidebar.
*/
do_action
(
'
cherry_sidebar_empty
'
,
$
name
);
}
echo
'
</div>
'
;
/**
* Fires after sidebar wrapper are closed.
*
* @since 4.0.5.2
* @param string $name The name of the specialised sidebar.
*/
do_action
(
'
cherry_sidebar_after
'
,
$
name
);
Back
|
FazBrowse Home
|
New Git URL