Home › Forums › General Issues › Parameters in url: array returns bool (false) › Reply To: Parameters in url: array returns bool (false)
Hi James,
As you may notice, I’m new to php 🙂
Ok when you visit: http://demo.starrenburg.net/category/herenschoenen/
on this page I’m calling the function like mention above
<?php filter_herenschoenen(); ?>
I also include the var dumps:
<?php
$brand = get_field_object('field_583503060dc55');
echo '<pre>';
var_dump( $brand );
echo '</pre>';
?>
So when I var dump &brand without parameters in the url, I can see the array
however when there are parameters in the url the array returns false. (if I’m correct)
in the field config:
field_key: field_583503060dc55
field_name: brand
type: select
I will update the archive.php with the example code
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.