Change order of posts

Your question is not very detailed. It is hard to work out exactly what you are doing but I am assuming that you are trying to sort posts by a custom meta meta_key/meta_value. This the formula for that (annotated but basically lifted from the Codex): $args = array( ‘post_type’ => ‘your_post_type’, // I don’t know … Read more

How to Output which matched meta_keys were found from custom_type_posts?

Let me see if I understand your question correctly: You have the meta values of the player this page belongs to. Then in the loop you have the corresponding meta value of each matched player. All you need to do is compare them: if($player_position == get_post_meta($post->ID, ‘player_position’, true)){ // This player is on the same … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)