Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Todd Garrison

    (@toddgarrison)

    Agreed. Thank you once again for your considerable time put into helping me.

    -Todd

    Thread Starter Todd Garrison

    (@toddgarrison)

    Wow, amazing–thank you for the (again) detailed response.

    Your suggestion of passing parameters from the gallery page through to the attachment page are precisely what I need. I can then configure my modified function to stay within that term so the tax terms don’t get all jumbled up.

    I’m assuming I’d have to pass the same parameter on to the prev/next links as well, so that’s something I’ll try to figure out.

    I’m going to read through your suggestions again and see if I can get my bearings. I’m still learning PHP, so each step requires a little perseverance on my part, but I enjoy troubleshooting and making WP do new things.

    Basically, my goal is this:
    – Set up galleries based on taxonomy terms
    – link thumbnails to attachment page
    – provide prev/next navigation at the attachment page level, staying within the same term, although many images belong to multiple terms.

    If you think it’s possible, I’ll continue forging ahead. Thank you again so much for your patience and willingness to lend a hand!

    -Todd

    Thread Starter Todd Garrison

    (@toddgarrison)

    Hi David, and thank you for the quick, thorough and thoughtful response. Let’s see:

    Ideally, I’d like for my client to be able to “create galleries” simply by checking the appropriate boxes for the taxonomy terms upon upload with the Media Library Assistant. It saves a lot of tedious work. It also allows him to check off multiple taxonomy term boxes via this method (hierarchical taxonomy).

    The [mla_gallery] shortcode does need to link to an attachment page and not an overlay or other lightbox-type effect, due primarily to the fact that there is additional information on the page (description, location, purchase information, sizing options, etc.)

    Before using the MLA Gallery, I simply created galleries via a taxonomy archive page, whereby each tax term displayed thumbnails of all the images in that term. The thumbnail linked to an attachment page (image.php), and this was fine, except navigation was an issue due the problems you already mentioned. I got around this to a certain extent by creating a new function (a modified adjacent_image_link) that used a tax query to pull the next/previous images in the same term (using menu_order to sort). It works great except for the fact that if an image belongs to more than one term, the image.php page doesn’t know which term to use, and results are again unreliable.

    I was hoping that the MLA Gallery plugin would somehow allow me to isolate images within a gallery, avoiding the “multiple terms” issue.

    I certainly DO NOT expect you to solve this problem for me, but I was curious if perhaps you might have a suggestion that would allow me to plod forward. I really love this plugin, and I think a breakthrough is somewhere close, but I need a nudge ??

    Thank you again, David, for taking the time to reply to my earlier question.

    -Todd

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