Fixed Notice error in custom post “Announcement” and each “Ranking” detail page

【Contents of the correction】
■Fixed Notice error in custom post “Announcement” and each “Ranking”.
(An unnecessary description was left at the bottom of the post, causing a Notice error, but it has been fixed so that the settings for the social buttons below the post are applied.)

【Modified file】
single-news.php
single-ranking_post.php
single-ranking_post2.php
single-ranking_post3.php
style.css