Title: Display the full post content
Last modified: August 22, 2016

---

# Display the full post content

 *  Resolved [Json Koning](https://wordpress.org/support/users/minion08/)
 * (@minion08)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/display-the-full-post-content/)
 * Hi there,
    I need to be able to display the full post content as opposed to just
   a list of links on my favorites page – the reason for that is I would like to
   be able to print/save this page (made up of those favorites) as a single PDF.
   I’m happy to modify the plugin to make it part of my theme, just wondering if
   I could find a little guidance as to what code to change? Can anyone help at 
   all? Thanks, Jason
 * [https://wordpress.org/plugins/wp-favorite-posts/](https://wordpress.org/plugins/wp-favorite-posts/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Simon Barnett](https://wordpress.org/support/users/simbasounds/)
 * (@simbasounds)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661201)
 * I did this by editing the plugin file: wpfp-page-template.php
 * Search for the line
    `while ( have_posts() ) : the_post();`
 * Then add WordPress functions like:
    `the_content();` `the_post_thumbnail();`
 *  Thread Starter [Json Koning](https://wordpress.org/support/users/minion08/)
 * (@minion08)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661205)
 * Thanks Simon, I appreciate that 🙂
 *  [Simon Barnett](https://wordpress.org/support/users/simbasounds/)
 * (@simbasounds)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661206)
 * Cool 🙂 I think this plugin is a great starting point for various things.
 *  Thread Starter [Json Koning](https://wordpress.org/support/users/minion08/)
 * (@minion08)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661207)
 * Agreed, I’m actually using it as a way to add multiple posts to an archive, which
   can then be output as a single PDF file. So far so good.
 *  [keshavnaidu](https://wordpress.org/support/users/keshavnaidu/)
 * (@keshavnaidu)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661267)
 * How to view all favorites post, after login ?
    From wer i can find the view all
   favorites link ?
 *  [blessone](https://wordpress.org/support/users/blessone/)
 * (@blessone)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661271)
 * Hi guys,
 * Im still struggling with this as you can see i just went ahead before giving 
   up and replacing everything in sight with **the_content**.
 * Not quite sure how to get the content to show. Help would be appricited.
 *     ```
       while ( have_posts() ) : the_content();
                   echo "<li><a href='".the_content()."' title='". get_the_content() ."'>" . get_the_content() ."</a> ";
                   wpfp_remove_favorite_link(get_the_ID());
                   echo "</li>";
               endwhile;
       ```
   
 *  [blessone](https://wordpress.org/support/users/blessone/)
 * (@blessone)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661272)
 * Need to change line in wp-favorite-posts-extended/**wpfp-your-favs-widget.php**
   for Extended i think. This works for me fine:)
    ‘ echo “[post_title .”‘>” . $p->post_title . $p->post_content . “](https://wordpress.org/support/topic/display-the-full-post-content/".get_permalink($post_id)."?output_format=md)“;‘
 *  [kayfaberockstar](https://wordpress.org/support/users/kayfaberockstar/)
 * (@kayfaberockstar)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661273)
 * Per what Simon said above, I see what you’re talking about and where to change
   it. I’ve created a page template to get my favorites to display and want to show
   various things, thumbnail, custom fields, etc. … what do I put in the page template
   to call the favorites/changes to the wpfp-page-template.php?
 *  [Simon Barnett](https://wordpress.org/support/users/simbasounds/)
 * (@simbasounds)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661274)
 * In my test case I think it was literally replacing the section:
 *     ```
       while ( have_posts() ) : the_post();
           echo "<li><a href='".get_permalink()."' title='". get_the_title() ."'>" . get_the_title() . "</a> ";
           wpfp_remove_favorite_link(get_the_ID());
           echo "</li>";
       endwhile;
       ```
   
 * with:
 *     ```
       while ( have_posts() ) : the_post();
           echo "<li><a href='".get_permalink()."' title='". get_the_title() ."'>" . get_the_title() . "</a> ";
           the_content();
           the_post_thumbnail();
           wpfp_remove_favorite_link(get_the_ID());
           echo "</li>";
       endwhile;
       ```
   
 * My client no longer has need for this functionality so I deleted the test site(
   and plugin), which means I can’t offer much help beyond that.
 *  [kayfaberockstar](https://wordpress.org/support/users/kayfaberockstar/)
 * (@kayfaberockstar)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661275)
 * I get what you’re saying on the plugin edit, but I’ve made a page template to
   list the favorites. I was looking for the code that replaces the loop. I’ve found
   that, finally …
 * `<?php $my_query = new WP_Query('post_type=any&meta_key=wpfp_favorites'); ?>
   
   <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
 * However, it will show both favorited and unfavorited posts … someone said it 
   had something to do with the meta_value and that I should add an argument to 
   my query …
 * `<?php
    $args = array( 'post_type' => 'post', 'meta_key' => 'wpfp_favorites','
   meta_value' => 1 ); $my_query = new WP_Query( $args); ?>
 * Now if I could make these two work together, I might solve my problem, but I 
   guess I don’t understand how to use all of this code as one snippet. Perhaps 
   you could help me make one snippet out of it so it’ll work … LOL. I appreciate
   your feedback!
 *  [kayfaberockstar](https://wordpress.org/support/users/kayfaberockstar/)
 * (@kayfaberockstar)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661276)
 * Here’s the original post to what I am referencing above, but I cannot get it 
   to work:
 * [https://wordpress.org/support/topic/display-favorite-post-using-your-theme-loop-blog-template?replies=5](https://wordpress.org/support/topic/display-favorite-post-using-your-theme-loop-blog-template?replies=5)

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Display the full post content’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-favorite-posts.svg)
 * [WP Favorite Posts](https://wordpress.org/plugins/wp-favorite-posts/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-favorite-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-favorite-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-favorite-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-favorite-posts/reviews/)

 * 11 replies
 * 5 participants
 * Last reply from: [kayfaberockstar](https://wordpress.org/support/users/kayfaberockstar/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/display-the-full-post-content/#post-5661276)
 * Status: resolved