Viewfinder Design Support Forum » Downloads

Book Review not displaying

(12 posts)
  • Started 3 years ago by alternateroute
  • Latest reply from Hazman
  • This topic is not a support question

  1. alternateroute
    Member

    Hi,

    I have installed and activated the book review plugin, and told it to use the category "books". I have edited a post and added the authro etc, but these details don't appear in the post.
    I have put the book_reviews_page.php in my theme directory. What else do I need to do to get the book review to display? Do I need to edit my theme some more?

    Posted: 2007-02-07 01:40:35 #
  2. Have you created a page using the book_review_page as the template?

    Daft question, but I have to ask, have you added any book reviews?

    Posted: 2007-02-07 09:08:15 #
  3. alternateroute
    Member

    OK,
    I went to Write-Write Book Review and wrote a review. filled in recommendation, link to book etc.
    Published it.
    The review appeared loooking the same as a normal post. The book title was the title of the post, but the author was not showing, nor the recommendation or book link.
    It had been assigned to the category "Books"
    If I list the Books category it appears there (as a normal post)
    If I go to Manage-Manage Book Reviews, the post does not appear in that list.
    Some previous book reviews are in the Manage Book Reviews list, and it displays the author in this list, but it does show up when you dispaly the review.
    I am a bit confused.
    AJ

    Posted: 2007-02-08 04:56:07 #
  4. I am having the same problem. I have written and published a book review following the directions in the readme file. The published post contains custom fields with title, author, etc. information but it is not displayed in the post.

    I have copied the book_reviews_page.php file into my theme directory, but it appears that book reviews are not using the template.

    Also, if I go to Manage --> Book Reviews, it says that I don't have any book reviews despite having just made one.

    Posted: 2007-06-27 20:39:31 #
  5. Check it's in the correct category (go to Manage->posts), reassign if necessary.

    I take it you have chosen a category to assign posts to?

    For the book reviews page you need to copy the book_reviews_page.php into your templates folder, then create a page (call it whatever you like) in WordPress and select Book Reviews from the page template dropdown options.

    Posted: 2007-06-27 21:04:02 #
  6. Okay, I think I see now. The template is for creating a page which creates an index for all your book reviews.

    The impression that I was under (and I believe alternateroute as well) is that when we wrote a book review it would create a post for that book review according to the template.

    Is there a way to get new book review posts to use a template?

    Posted: 2007-06-27 21:26:41 #
  7. Basically what happens is that the book review plugin stores extra data against a post in specific custom fields.

    All you need to do is show it.

    The single.php file included in the package probably does more what you want. It will look at the post and, if in the relevant category, then display the additional data (such as author).

    Backup your current single.php before overwriting it though!

    Posted: 2007-06-27 21:43:24 #
  8. Yes, that's what I was looking for. The single.php file does not display the recommended field.

    Posted: 2007-06-27 22:03:14 #
  9. Put the code in this file wherever you want it to appear.

    Posted: 2007-06-27 22:15:53 #
  10. No effect. I can confirm that I have "recommended" "no" as a custom field and the post.

    I looked at the README.txt file and it says to use the variable in an img tag, so I also tried to do that using the Book Link code as an example, also with no effect.

    Posted: 2007-06-28 16:07:26 #
  11. Hi Lee,

    I'm still trying to get the recommended field to show with no luck. Can you confirm that the code you posted works when pasted into single.php?

    Posted: 2007-07-10 04:09:53 #
  12. I think i am having the same error too with 2.5.

    Posted: 2008-06-30 02:22:34 #

RSS feed for this topic

Reply

You must login to post.