Title: Back button
Last modified: August 31, 2016

---

# Back button

 *  Resolved [Pritam Naskar](https://wordpress.org/support/users/pritam-naskar/)
 * (@pritam-naskar)
 * [10 years ago](https://wordpress.org/support/topic/back-button-12/)
 * How to add a back button that will take us to listing of news on the full content
   news?
 * [https://wordpress.org/plugins/sp-news-and-widget/](https://wordpress.org/plugins/sp-news-and-widget/)

Viewing 1 replies (of 1 total)

 *  [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * (@anoopranawat)
 * [10 years ago](https://wordpress.org/support/topic/back-button-12/#post-7320011)
 * Hello,
 * You can try following code in your theme single.php file:
 *     ```
       <?php global $post;
          if ($post->post_type == 'news') { ?>
             <a href="LINK FOR NEWS PAGE">Back to News</a>
       <?php } ?>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Back button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sp-news-and-widget_91aebb.svg)
 * [WP News and Scrolling Widgets](https://wordpress.org/plugins/sp-news-and-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sp-news-and-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sp-news-and-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/sp-news-and-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sp-news-and-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sp-news-and-widget/reviews/)

## Tags

 * [back button](https://wordpress.org/support/topic-tag/back-button/)

 * 1 reply
 * 2 participants
 * Last reply from: [anoopranawat](https://wordpress.org/support/users/anoopranawat/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/back-button-12/#post-7320011)
 * Status: resolved