projects
/
WP-Themes
/
francejourneys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c879c01
)
fixing post id value as function parameter
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 30 Jun 2016 14:13:58 +0000
(10:13 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 30 Jun 2016 14:13:58 +0000
(10:13 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
2007b3d
..
833fd23
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-200,7
+200,7
@@
function glm_get_header() {
echo '<div';
if(is_product()){
- $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(10
0
), "full");
+ $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(10
1
), "full");
echo ' style="background-image: url('.$image_data[0].');height: 670px;padding:0;padding-bottom:20%;background-position:center center;background-size: cover;background-repeat:no-repeat; "';
}
else if ( has_post_thumbnail($post_id) && is_post_type('page')) {