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
4fa9d076
Commit
4fa9d076
authored
Jul 20, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix] map index start from 0
parent
4180106a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
contact.php
wp-content/themes/nap/contact.php
+1
-1
No files found.
wp-content/themes/nap/contact.php
View file @
4fa9d076
...
@@ -51,7 +51,7 @@ $post_ID = 157;
...
@@ -51,7 +51,7 @@ $post_ID = 157;
<?php
<?php
if
(
get_field
(
'zones_commerciaux'
,
$post_ID
))
:
if
(
get_field
(
'zones_commerciaux'
,
$post_ID
))
:
$i
=
1
;
$i
=
0
;
while
(
has_sub_field
(
'zones_commerciaux'
,
$post_ID
))
:
while
(
has_sub_field
(
'zones_commerciaux'
,
$post_ID
))
:
?>
?>
<div
class=
"commercial commercial-details"
data-zone =
"zone
<?php
echo
$i
;
?>
"
>
<div
class=
"commercial commercial-details"
data-zone =
"zone
<?php
echo
$i
;
?>
"
>
...
...
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