Forum Replies Created
-
AuthorPosts
-
Dante CervantesMemberWhen i print the “curso_parroquias” field, i get this
Array ( [parroquia] => 17724 [info_curso] => Array ( [curso_date] => Array ( [0] => 2013-10-03 [1] => 2013-10-03 [2] => 2013-10-03 ) [curso_hour] => Array ( [0] => 02:04 [1] => 02:04 [2] => 02:04 ) ) ) Array ( [parroquia] => 17732 [info_curso] => Array ( [curso_date] => Array ( [0] => 2016-09-03 ) [curso_hour] => Array ( [0] => 03:57 ) ) )how can i know what array display? i mean, in my code above i selected a group field that contains a date and hour and one church can have one or more dates and hours, i explain myself? and this array is not orderer correctly to display the data like this
Church 17724
————
Courses =>
———— 2013-10-03 at 02:04
———— 2013-10-03 at 02:04
———— 2013-10-03 at 02:04Church 17732
————
Courses =>
———— 2016-09-03 at 03:57could you please help me?
thanks a lot 🙂
Dante CervantesMember@Steve –
its working now! thank you very much! i <3 piklist 😀
Dante CervantesMemberdelete the field, and the information has disappeared, which is not good, if I put the information back field, I guess that’s the structure I had in the beginning, but then it is not no way to do a search with the structure today, and I must change all post? : (
Dante CervantesMemberthe problem is that I have a very large data base, too many post, then I need to change each and every one of the posts in order to get that, there is a better way?
Dante CervantesMemberI need to do a search of all posts are within a selectable option element “muni” but piklist is a “group” then, as I do to get the post?
Dante CervantesMemberi need to filter my cpt by the field named “muni” in the front end with wp query, but i dont know how
Dante CervantesMemberany one know how can i filter this “group” type of piklist? 🙁
Dante CervantesMemberHello Steve, yep in my theme im using this code
$args_sitios = array( 'post_type' => 'sitios', 'posts_per_page' => -1, 'meta_query' => array( array( 'key' => 'muni', 'value' => 68 , 'type' => 'numeric', 'compare' => 'IN' ) ) );but there is no results
-
AuthorPosts