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
daaa61eb
Commit
daaa61eb
authored
Jun 19, 2019
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: files of children categories
parent
dd6897bf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
153 additions
and
0 deletions
+153
-0
category-27.php
category-27.php
+51
-0
category-28.php
category-28.php
+51
-0
category-29.php
category-29.php
+51
-0
No files found.
category-27.php
0 → 100644
View file @
daaa61eb
<?php
get_header
();
?>
<ul>
<?php
childrens_of_member_category
();
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'category_name'
=>
'epci-mutualisant'
);
$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
();
?>
</ul>
<?php
//get_sidebar();
get_footer
();
?>
category-28.php
0 → 100644
View file @
daaa61eb
<?php
get_header
();
?>
<ul>
<?php
childrens_of_member_category
();
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'category_name'
=>
'ville'
);
$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
();
?>
</ul>
<?php
//get_sidebar();
get_footer
();
?>
category-29.php
0 → 100644
View file @
daaa61eb
<?php
get_header
();
?>
<ul>
<?php
childrens_of_member_category
();
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'category_name'
=>
'association'
);
$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
();
?>
</ul>
<?php
//get_sidebar();
get_footer
();
?>
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