thos
Forum Replies Created
-
i found the issue
It was a problem with a plugin used for performance, that minimify the js, css, …
i hope it can help someone else
Forum: Hacks
In reply to: List post with a particular custom fieldBecause I don’t want my users have to choose the region and the departement when they create a post ^^ ( it’s a second hand sale site where people can post their own items )
Forum: Hacks
In reply to: List post with a particular custom fieldHi
I tried
query_posts('meta_value=Bas-Rhin,Haut-Rhin');andquery_posts('meta_value=Bas-Rhin,Haut-Rhin&meta_key=cp_dpartement');but it didn’t worked
I’ve done this and it’s working :
$querystr = " SELECT wposts.*,wpostmeta.* FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = 'cp_dpartement' AND ($dep) AND wposts.post_status = 'publish' AND wposts.post_type = 'post' ORDER BY wposts.post_date DESC "; $pageposts = $wpdb->get_results($querystr, OBJECT); foreach($pageposts as $post): ... endforeachBut i don’t know how to paginate this, and now to have my adress
http://www.mysite.com/carte/alsaceForum: Plugins
In reply to: [More Fields] [Plugin: More Fields] contact form 7 and more field ?Worked great, thank you !
i used this
$col2 = more_fields(“contcol2″,””,””,true);
I post it in case someone has the same problem as me 🙂
Thank you again
Thomas
Forum: Plugins
In reply to: [More Fields] [Plugin: More Fields] contact form 7 and more field ?Hi
Thank you for fast reply.
Could you explain me how to do that ? I’m not very familiar with the filters 🙁