WordPress.org

Ready to get started?Download WordPress

Forums

Totally Booked
[resolved] Audio Player in Book Archive (6 posts)

  1. Kyle McCarley
    Member
    Posted 10 months ago #

    I like the idea of this plugin, but I'm not sure yet if I can get it to work for what I need it for. I'm an audiobook narrator, and I'm looking for a good way to organize my titles so that site visitors can filter audio samples by genre. This can do the genre sorting I need, but the audio player I use (MediaElement.js) is only appearing on individual book pages. The shortcode for the player seems to be ignored on any archive view. Is there some way I can edit the code of the plugin to quickly alter this behavior? Thanks!

    http://wordpress.org/plugins/totally-booked/

  2. Kelli Standish
    Member
    Plugin Contributor

    Posted 10 months ago #

    Kyle,
    Can you post a link to one of your archive pages, so we can take a look for you?

    Thanks!
    Kelli

  3. Kyle McCarley
    Member
    Posted 10 months ago #

    Hi Kelli,

    I haven't implemented the plugin properly because I'm still working out how to make it function the way I need it to, but I do believe I will be soon. For now, the beginnings of it are at http://KyleMcCarley.com/books. I did manage a workaround to get the player to show in archive view by changing archive.php's <div class="entry-content"> to say <?php the_content(); ?> instead of <?php the_excerpt(); ?>. This would mean that any text I put for a description of the book will have to be rather short, because archives are going to be showing everything instead of just the first X number of words or characters, but I can live with that if I can't find a better fix.

    My next step is figuring out, ideally, a way to have the archives displayed in two columns and fill up the whole page, instead of just the right half. I suspect the current display has to do with the way the plugin is interacting with the site's theme

  4. Kyle McCarley
    Member
    Posted 10 months ago #

    Turns out the workaround I found introduces another interesting problem. Any text links I try to include in the description (where the audio player code is going) aren't clickable unless I put them in above the player. Nor are any Reader Extras clickable, in addition to displaying oddly behind the player. I can live without that, though, and links above the player actually works just fine for my purposes for now. Just thought I'd update in case anybody else is curious.

  5. Kyle McCarley
    Member
    Posted 10 months ago #

    I'm no longer on the original topic of this thread, so if I should start a new one, please let me know. I've tinkered with my theme code enough to fix the issue I was having with everything being confined to the right side of the page. I'm having trouble figuring out a way to make the books show up in two columns, though. Any thoughts?

  6. Kyle McCarley
    Member
    Posted 10 months ago #

    Starting a new thread for the two column question; this issue's been resolved for me.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.