Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
NAP-wordpress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marwa Sfari
NAP-wordpress
Commits
c6dcac16
Commit
c6dcac16
authored
Aug 30, 2017
by
Marwa Sfari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix]JIRA : Nap-62 -> Remove description cover when empty
parent
ee7adbb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
archive-product.php
wp-content/themes/nap/woocommerce/archive-product.php
+2
-0
No files found.
wp-content/themes/nap/woocommerce/archive-product.php
View file @
c6dcac16
...
...
@@ -125,7 +125,9 @@ $child_category = get_terms('product_cat', array('parent' => $cateID, 'child_of'
?>
<div
class=
"cover-wrapper abs-full transition"
data-cat =
"#cat
<?php
echo
$value
->
term_id
?>
"
style =
"background-image: url('
<?php
echo
nap_category_image
(
$value
->
term_id
)
?>
')"
>
<div
class=
"cover-desc-wrapper"
>
<?php
if
(
$value
->
description
){
?>
<p>
<?php
echo
$value
->
description
;
?>
</p>
<?php
}
?>
</div>
</div>
<?php
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment