renames posts#permalink to posts#show_post
compares post_type and post_status as symbols