Support » Plugin: Read Later Buttons » How to add Read Later Buttons to posts?

  • I’ve successfully installed the Read Later Buttons plugin as well as the Kindle plugin. However, I’d rather have it display at the end of posts than as a sidebar/footer widget.

    Can you please tell me exactly what code to add to what file (e.g. function do_shortcode( $content ) to functions.php?) of my TwentyTwelve child theme to get the buttons to show up at the end of each post? I like the styling you’ve provided, so no change to CSS necessary.

Viewing 3 replies - 1 through 3 (of 3 total)
  • It is rather simple.
    I like to have those buttons on a single post, so not on the home page, so I edit this file:


    …somewhere below:

    <?php the_title(); ?>

    add the following:

    <!-- Read Later Buttons -->
    <?php echo do_shortcode('[read_later_buttons]'); ?>
    <!-- end Read Later Buttons -->

    …personally I only need two buttons so I use this:

    <!-- Read Later Buttons -->
    <?php echo do_shortcode('[read_later_buttons readability kindle]'); ?>
    <!-- end Read Later Buttons -->

    …and as you can see from the image below I insert it a little bit lower than just below the title:

    I also very strongly recommend NOT to edit the content-single.php of your theme, but rather to create a child-theme and edit the content-single.php in the child-theme.

    Take a look around the web. Child Themes should be learned by everyone.

    Otherwise the first time your theme is updated you lose all your edits.

    Thanks! And yes, as posted in my original query, I am definitely using a child theme.:)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add Read Later Buttons to posts?’ is closed to new replies.