hazlett
Member
Posted 2 years ago #
When I click the image of the book I am currently reading the URL tries to go to the site on my domain to find the book.
i.e.:
http://hazlett.net/library/pat-shipman/femme-fatale-love-lies-and-the-unknown-life-of-mata-hari/
Shouldn't this go to Amazon.com instead ???
bgunnink
Member
Posted 2 years ago #
You can change this behavior by editing the sidebar template for NRR. By default, clicking a book link in the sidebar takes you to your site's library page (yours doesn't appear to be working right now---perhaps save your options again?), and each book's page will have a link to Amazon.
<?php book_url() ?> outputs the address to the book's Amazon page. <?php book_permalink() ?> outputs the address to the book's library page on the hosted domain. Per the bundled plugin instructions, try putting a copy of the template files in your active theme and editing them to fit your needs.
hazlett
Member
Posted 2 years ago #
Thanks for the suggestion. I put the files from Now Reading Template in the directory of my active theme.....and still no go......
I even went into manage books and resaved the books I have entered. No go......
bgunnink
Member
Posted 2 years ago #
Did you edit the templates to reflect the changes I suggested?
Boudiccae
Member
Posted 2 years ago #
Go into your widget editor, open up the sidebar.php, and search for where it calls your image. It should say <?php book_permalink() ?> next to an image, change that to <?php book_url() ?> to make a link to Amazon instead. (keep the preceding a href, etc.)