Browse
For agents
About
Getwid – Gutenberg Blocks
/
1.8.7
Getwid – Gutenberg Blocks
v1.8.7
Switch version
3.0.2
3.0.1
3.0.0
2.1.0
2.1.1
2.1.2
2.1.3
2.2.0
trunk
1.8.7
1.9.1
2.0.10
2.0.11
2.0.12
2.0.13
2.0.14
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
Overview
Code
getwid
/
includes
/
templates
/
template-parts
/
post-button.php
post-button.php
in Getwid – Gutenberg Blocks 1.8.7, at includes/templates/template-parts/post-button.php
12 lines
535 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
2
3
//
extract styles & classes
4
extract
(
$
extra_attr
)
;
5
?
>
6
7
<
div
class
=
"
<?php echo esc_attr(
$
wrapper_class
); ?>
"
<
?
php
if
(
!
empty
(
$
wrapper_style
)
)
{
?
>
style
=
"
<?php echo esc_attr(
$
wrapper_style
); ?>
"
<
?
php
}
?
>
>
8
<
a
href
=
"
<?php echo esc_url( get_permalink() ); ?>
"
<
?
php
if
(
!
empty
(
$
link_style
)
)
{
?
>
style
=
"
<?php echo esc_attr(
$
link_style
); ?>
"
<
?
php
}
if
(
!
empty
(
$
link_class
)
)
{
?
>
class
=
"
<?php echo esc_attr(
$
link_class
); ?>
"
<
?
php
}
?
>
>
9
<
?
php
echo
wp_kses_post
(
$
attributes
[
'
buttonText
'
]
)
;
?
>
10
<
/
a
>
11
<
/
div
>
12