Skip to main content
13 events
when toggle format what by license comment
Jun 4, 2013 at 12:31 comment added Charitos @ngsonst I think that the problem is the Greek characters that i use. You are right, i use the Greek Word "Ναι" (means yes) instead of the "Yes" value. When i tested with "yes" it worked fine. How can i fix it so i can use Greek letters/characters?
Jun 3, 2013 at 21:53 comment added Nicolai Grossherr @Charitos: The code GhostToast gave you should work, if all the parameters are correct - is the post type really post? Is the name of the custom field really facebook? Is the value really yes/no or is it maybe true/false? I personally think it is unlikely related to ACF, it is one of the good ones, well maintained and documented. I used the plugin several times and never had any problems querying anything i wanted. Like i said, the problem is probably somehow related to what you ask for in your query - if you configured everything else correctly, of course.
Jun 3, 2013 at 17:44 comment added kaiser @Charitos "Gives me an error" is not a proper problem/error description.
Jun 3, 2013 at 16:35 comment added Charitos Again it gives me an error. Please check the page.php code
Jun 3, 2013 at 16:32 comment added Nicolai Grossherr I corrected a bit of the code - it should work now, at least I can't see why not. You could post the code, but I'm gone any second now, and I'm certain you can figure it out!
Jun 3, 2013 at 16:27 history edited Nicolai Grossherr CC BY-SA 3.0
added 2 characters in body
Jun 3, 2013 at 16:25 comment added Charitos I tried inserting the code (with wp_query) you gave me instead of the <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> but it gives me an error. Should i post in the question the theme's page.php code?
Jun 3, 2013 at 16:21 comment added Nicolai Grossherr It depends on which method you choose. Take a look at my answer and you will figure it out.
Jun 3, 2013 at 16:20 history edited Nicolai Grossherr CC BY-SA 3.0
added 67 characters in body
Jun 3, 2013 at 16:15 comment added Charitos do i have to change the: <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> With the code you gave me above?
Jun 3, 2013 at 16:12 history edited Nicolai Grossherr CC BY-SA 3.0
added 501 characters in body
Jun 3, 2013 at 16:01 history edited Nicolai Grossherr CC BY-SA 3.0
added 162 characters in body
Jun 3, 2013 at 15:56 history answered Nicolai Grossherr CC BY-SA 3.0