Browse
For agents
About
MaxGalleria
/
2.6
MaxGalleria
v2.6
Switch version
6.5.3
trunk
2.0.0
2.0.1
2.1.0
2.2.0
2.2.1
2.2.2
2.3
2.4
2.5
2.6
2.6.1
3.0.0
3.0.1
3.0.2
3.0.3
3.1.0
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.1.7
All 135 releases
Overview
Code
maxgalleria
/
single-maxgallery.php
single-maxgallery.php
in MaxGalleria 2.6, at single-maxgallery.php
14 lines
389 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
get_header
(
)
?
>
2
3
<
?
php
if
(
have_posts
(
)
)
{
?
>
4
<
?
php
while
(
have_posts
(
)
)
:
the_post
(
)
;
?
>
5
<
?
php
if
(
$
post
->
post_type
==
MAXGALLERIA_POST_TYPE
)
{
?
>
6
<
div
class
=
"
mg-container
"
>
7
<
h1
class
=
"
mg-title
"
>
<
?
php
echo
the_title
(
)
?
>
<
/
h1
>
8
<
?
php
echo
do_shortcode
(
'
[maxgallery id="
'
.
$
post
->
ID
.
'
"]
'
)
?
>
9
<
/
div
>
10
<
?
php
}
?
>
11
<
?
php
endwhile
;
?
>
12
<
?
php
}
?
>
13
14
<
?
php
get_footer
(
)
?
>