Title: $args problem
Last modified: August 30, 2016

---

# $args problem

 *  [kaimersh20](https://wordpress.org/support/users/kaimersh20/)
 * (@kaimersh20)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/args-help/)
 * Just a really quick question, I recently had to add ‘$args = false” before including
   a custom post loop to display some content and I literally have no idea why. 
   Can someone just explain to me in fool proof terms what this is doing and why
   it was needed as I don’t even know myself but I managed to use it successfully
   to get the result I was looking for!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Justin Tadlock](https://wordpress.org/support/users/greenshady/)
 * (@greenshady)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/args-help/#post-6849393)
 * I’ve never seen a need for such a thing. But, you might want to post your code
   to get some help with it.
 *  Thread Starter [kaimersh20](https://wordpress.org/support/users/kaimersh20/)
 * (@kaimersh20)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/args-help/#post-6849498)
 *     ```
       <?php
        $args = false;
       include "post_types/slider.php";
       ?>
   
       <?
       $args = false;
       include "post_types/ttk.php"
       ?>
       ```
   
 * there is no problem now, as this was the fix to begin with – i was just curious
   as to why this may have been needed in order for the content to display properly.
   It wouldnt display the correct content without this and it also wouldn’t display
   correctly when setting it to true/array. I just want to know what that is doing
   and why it was needed..

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘$args problem’ is closed to new replies.

## Tags

 * [args](https://wordpress.org/support/topic-tag/args/)
 * [argument](https://wordpress.org/support/topic-tag/argument/)
 * [parameter](https://wordpress.org/support/topic-tag/parameter/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [kaimersh20](https://wordpress.org/support/users/kaimersh20/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/args-help/#post-6849498)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
