Posts by Guicafe • 3 points
2 posts
-
0
votes1
answer31
viewsQ: PHP inside the Array
I’m creating a loop where I want to display only content that contains the Slug page. I’m not sure which variable to put inside the array $args to make the Slug of the page itself be the category to…
-
0
votes0
answers150
viewsQ: Echo within an Array
I have the following situation: <?php $args = array('post_type'=>'post', 'showposts'=>-1); $my_posts = get_posts( $args ); $count = 0 ; if($my_posts) : foreach ($my_posts as $post) :…