Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Adullact
Theme-WordPress-Adullact-org
Commits
4ea4fc19
Commit
4ea4fc19
authored
Jun 19, 2019
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit forgotten code in members list files
parent
daaa61eb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
60 deletions
+96
-60
category-27.php
category-27.php
+32
-20
category-28.php
category-28.php
+32
-20
category-29.php
category-29.php
+32
-20
No files found.
category-27.php
View file @
4ea4fc19
<?php
get_header
();
?>
<ul>
<?php
<?php
$order
=
"asc"
;
childrens_of_member_category
();
childrens_of_member_category
();
if
(
isset
(
$_GET
[
"order"
])){
$order
=
$_GET
[
"order"
];
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'category_name'
=>
'epci-mutualisant'
);
if
(
$order
!=
"asc"
&&
$order
!=
"desc"
){
$order
=
"asc"
;
}
}
$myposts
=
get_posts
(
$args
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
?>
<li>
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'category_name'
=>
'epci-mutualisant'
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
?>
<?php
//echo "url : " . $_SERVER['REQUEST_URI'];
$myposts
=
get_posts
(
$args
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
?>
<li>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_tags
(
$before
=
''
);
?>
</a>
</li>
<?php
endforeach
;
wp_reset_postdata
();
?>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_tags
(
$before
=
''
);
?>
</a>
</li>
<?php
endforeach
;
wp_reset_postdata
();
?>
</ul>
...
...
category-28.php
View file @
4ea4fc19
<?php
get_header
();
?>
<ul>
<?php
<?php
$order
=
"asc"
;
childrens_of_member_category
();
childrens_of_member_category
();
if
(
isset
(
$_GET
[
"order"
])){
$order
=
$_GET
[
"order"
];
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'category_name'
=>
'ville'
);
if
(
$order
!=
"asc"
&&
$order
!=
"desc"
){
$order
=
"asc"
;
}
}
$myposts
=
get_posts
(
$args
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
?>
<li>
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'category_name'
=>
'ville'
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
?>
<?php
//echo "url : " . $_SERVER['REQUEST_URI'];
$myposts
=
get_posts
(
$args
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
?>
<li>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_tags
(
$before
=
''
);
?>
</a>
</li>
<?php
endforeach
;
wp_reset_postdata
();
?>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_tags
(
$before
=
''
);
?>
</a>
</li>
<?php
endforeach
;
wp_reset_postdata
();
?>
</ul>
...
...
category-29.php
View file @
4ea4fc19
<?php
get_header
();
?>
<ul>
<?php
<?php
$order
=
"asc"
;
childrens_of_member_category
();
childrens_of_member_category
();
if
(
isset
(
$_GET
[
"order"
])){
$order
=
$_GET
[
"order"
];
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'category_name'
=>
'association'
);
if
(
$order
!=
"asc"
&&
$order
!=
"desc"
){
$order
=
"asc"
;
}
}
$myposts
=
get_posts
(
$args
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
?>
<li>
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'category_name'
=>
'association'
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
?>
<?php
//echo "url : " . $_SERVER['REQUEST_URI'];
$myposts
=
get_posts
(
$args
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
?>
<li>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_tags
(
$before
=
''
);
?>
</a>
</li>
<?php
endforeach
;
wp_reset_postdata
();
?>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_tags
(
$before
=
''
);
?>
</a>
</li>
<?php
endforeach
;
wp_reset_postdata
();
?>
</ul>
...
...
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