How to Add Couch Mode to WordPress?

You might’ve come across several blogs where advertisements dominate the content. This makes the user feel irritated and obviously he moves on to another website. What if he was given an option to read the web pages in a clutter-free environment? Yes, I recently came across several of such blogs wherein they’ve provided an additional option to read the posts without any advertisements and unwanted widgets. I found it interesting and so decided to implement it on this blog. If you wanted to implement it on your blog, do follow the below steps.

Read WordPress Posts in Couch Mode

How to Implement Couch Mode Feature on WordPress Blogs?

  1. Go to your WordPress dashboard and create a new page with the name “Reader Friendly” (something similar). You can leave the body empty and click “Publish”.
  2. Next, using FileZilla or any FTP software, open your .htaccess file and add the following code at the top.

    RewriteRule ^read/([0-9]+)/?$ /read/?u=$1 [QSA,L]

  3. Now, copy-paste the text in the page-read.php.txt file into a notepad file and save it as “page-read.php” (select save as type: “all files’’)
  4. Next, copy this file into your WordPress theme folder (currently active theme).
  5. From your WordPress dashboard, go to Appearance > Editor and open your single.php file.
  6. Paste the following line of code wherever you required to appear in your post. I prefer adding this below your post title and click “Save”.

    <a href=”/read/<?php the_ID(); ?>/”>Read story without the clutter</a>

That’s it! From now on, your users will have the choice to read lengthy posts in the couch mode. This increases the user interaction very much.

Couch Mode Full Credits: @labnol

6 Comments

  1. I’m not that much of a online reader to be honest but your blogs
    really nice, keep it up! I’ll go ahead and bookmark your website to come back later on. Many thanks

  2. This is a really informative post. I believe if you want to offer a better reading experience in your WordPress blog or site, Couch mode to blog is the best way to do this. There is a facility to offer Couch mode to your blog readers in different styles also.

  3. Hey Krishna, Very Impressive step by step guide to implement the couch mode.I will be lmplementing this on my blog Morningtadka.Keep up the good work

Leave a Reply

Your email address will not be published.


*


Unable to load the Are You a Human PlayThru™. Please contact the site owner to report the problem.