• Hello Kelli and Ben:

    I’m building a site for an author who’s published almost 100 books over fifty years. He’d much prefer to link directly to his various publishers’ online sales pages – rather than to Amazon, et al – when possible.

    Is there a way that I can add additional online bookseller links? I’ve been browsing the plugin folders/files, and while I’ve found where the logo images are stored, I haven’t found where the individual retailers (retailer_link?) are defined.

    Thanks!

    H.

    https://www.ads-software.com/plugins/totally-booked/

Viewing 5 replies - 1 through 5 (of 5 total)
  • I came up to ask this specific question. It would be great if we had ‘additional’ fields so we could add our publisher sites that would not normally show up. Or even sites like All Romance Ebooks.

    Hedley,

    I figured out a cheating workaround. The only thing about it is you have to remember which ‘bookstore’ is what icon.

    For instance, I know my books will never be in Christianbooks so I changed the image to my publisher image. There were two others that I figured I would never use and repurposed them as well. You just have to make new images and replace the current images with them. So keep the names – ie christianbook_icon.jpg, but use the image for the particular publisher you would need ??

    Thread Starter Hedley

    (@hedley)

    Thanks, dthianna, good idea. Limited if you have a lot of indie publishers, but it works.

    H.

    Thread Starter Hedley

    (@hedley)

    Okay, I figured out how to add new bookseller links. In this example, I’m adding a field for PayPal buy-now URLs.

    In the plugin folder, add the following to the relevant section of totally-booked.php:

    'paypal_url'          => array(
    'title'       => __( 'PayPal URL', 'totally-booked' ),
    'icon_url'    => TB_URI . 'assets/images/paypal-buy-now-button.jpg',
    'popup_class' => 'paypal'
    ),

    Then upload paypal-buy-now-button.jpg to totally-booked/assets/images.

    I didn’t succeed at getting this to work by placing the files in my child theme, so unfortunately it requires direct modification of the plugin files.

    H.

    Awesome, Hedley! Thanks! That will make it so much easier to track ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add new bookseller links’ is closed to new replies.