id ye göre tekil post listele


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. $post_id = 26;
  3. $queried_post = get_post($post_id);
  4. $title = $queried_post->post_title;
  5. echo $title;
  6. echo $queried_post->post_content;
  7. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.