Can’t get the_content of the parent page from its single post?

I think you need to do two things

  1. add ‘echo‘ to last line

<?php echo $parent->post_content; ?>

  1. add ‘global $post;‘, before accessing the $post.

let me know if this does not work.

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