Forum Replies Created

Viewing 15 replies - 16 through 30 (of 42 total)
  • Hi David,

    I have installed the Development Version (20201210) and it works perfectly!

    Issue resolved.

    Thank you for your outstanding customer service, as usual!

    Colin Ford
    Winework Solutions

    David,

    Thanks for the pointer. I think this may be what you’re looking for…

    [mla_term_list taxonomy=attachment_category child_of=26 mla_output=dropdown mla_option_value=”{+slug+}” show_count=true pad_counts=false ]

    [mla_gallery]
    attachment_category=”{+template:({+request:tax_input.attachment_category+}|kumeu-river)+}” posts_per_page=20 mla_output=”paginate_links, prev_next”
    mla_link_href='{+new_url+}?tax_input[attachment_category]=”{+query:attachment_category,text+}”‘
    [/mla_gallery]

    [mla_gallery]
    attachment_category=”{+template:({+request:tax_input.attachment_category+}|kumeu-river)+}” size=”thumbnail” posts_per_page=20 orderby=”title”
    [/mla_gallery]

    [mla_gallery]
    attachment_category=”{+template:({+request:tax_input.attachment_category+}|kumeu-river)+}” posts_per_page=20 mla_output=”paginate_links, prev_next”
    mla_link_href='{+new_url+}?tax_input[attachment_category]=”{+query:attachment_category,text+}”‘
    [/mla_gallery]

    Regards,

    Colin

    Hi David,

    Sorry, but I don’t know where to look for those sections of code. Can you guide me?

    I have the following templates showing under the Sortcodes tab in MLA settings.

    Name, Type, Term List

    default, Style, Gallery
    (default)

    default, Markup, Gallery
    (default)

    product, Style, Gallery

    product_mu, Markup, Gallery

    tag-cloud-dl, Markup, Tag Cloud
    (default)

    tag-cloud-ul, Markup, Tag Cloud
    (default)

    tag-cloud, Style, Tag Cloud
    (default)

    tag-cloud, Markup, Tag Cloud
    (default)

    term-list-checklist, Markup, Term List
    (default)

    term-list-dl, Markup, Term List
    (default)

    term-list-dropdown, Markup, Term List
    (default)

    term-list-ul, Markup, Term List
    (default)

    term-list, Style, Term List
    (default)

    Are any of these going to contain the code you’re looking for? Or am I looking in the wrong place?

    Colin

    • This reply was modified 5 years, 6 months ago by Winework.

    Hi David,

    I can confirm that my site is working with version 2.84.

    [term_list]
    Name: term-list
    Styles:
    <style type=’text/css’>
    #[+selector+] {
    margin: auto;
    width: 100%;
    }
    #[+selector+] .term-list-item {
    text-align: left;
    }
    #[+selector+] .term-list-caption {
    margin-left: 0;
    vertical-align: top;
    }

    #[+selector+].term-list-checklist {
    list-style: none;
    }
    /* see mla_term_list() in media-library-assistant/includes/class-mla-shortcode-support.php */
    </style>

    [gallery]
    Name:
    Default
    Open:
    <div id='[+selector+]’ class=’gallery galleryid-[+id+] gallery-columns-[+columns+] gallery-size-[+size_class+]’>
    Row Open:
    <!– row-open –>
    Item:
    <[+itemtag+] class=’gallery-item [+last_in_row+]’>
    <[+icontag+] class=’gallery-icon [+orientation+]’>
    [+link+]
    </[+icontag+]>
    [+captiontag_content+]
    </[+itemtag+]>
    Row Close:
    <br style=”clear: both” />

    Custom Templates

    [product_mu]
    Name:
    product_mu
    Open:
    <table id='[+selector+]’ class=’gallery galleryid-[+id+] gallery-columns-[+columns+]’>
    Row Open:
    <tr class=’gallery-row’>
    Item:
    <td class=’gallery-icon’>
    [+thumbnail_content+]
    </td>
    <td class=’wp-caption-text gallery-caption’>
    <font color=”black”>[+title+]</font><br />
    <br>
    File Name: [+file+]<br />
    File Type: [+terms:category+]<br />
    File Format: [+mime_type+]<br />
    Dimensions: [+dimensions+] px<br />
    File Size: [+file_size,commas+] bytes<br />
    </td>
    Row Close:
    </tr>

    [product]
    Name:
    product
    Styles:
    #[+selector+] .gallery-item {
    float: [+float+];
    margin: [+margin+];
    text-align: center;
    width: [+itemwidth+];
    </td>
    <td class=’wp-caption-text gallery-caption’ style=”border: none”>
    [+title+]<br />
    [+caption+]
    </td>

    I hope this is the info you meant… and hope it is helpful.

    Best regards,
    Colin

    Hello David,

    I have used MLA for years on my site and it has been the backbone of our downloadable media library.

    However, today I too discovered that my Product Image Library (https://www.winework.com/our-services/winework-solutions-images/product-image-library/) stopped working after recently installing plugin updates. The last date I can identify it as working correctly is 02 December 2020.

    The fault produced was such that selecting the desired brand from the Drop Down Menu, and clicking the GO button, did not return the images for the brand selected.

    The issue is resolved by rolling back to version 2.84.

    Please let me know if I can provide additional info that may help you resolve the issue in a new update.

    Kind regards,

    Colin Ford
    Winework Solutions

    Will the addition of add_filter( 'big_image_size_threshold', '__return_false' ); to functions.php be overwritten each time WordPress updates?

    Thread Starter Winework

    (@winework)

    David,

    That works perfectly!

    Best plugin support on WordPress!

    Many thanks,

    Colin

    Thread Starter Winework

    (@winework)

    Hi David,

    Thank you once again.

    I have tried the code as you suggested, but replacing [+downloadlink+] results in the thumbnail (which is also the download “button”) failing to display, which means the file cannot be downloaded by the user.

    Do you have a suggested edit?

    I think we’re really close to success!

    Colin

    Thread Starter Winework

    (@winework)

    Hi David,

    Firstly, apologies for being so slow to respond to your help. I too have been away recently.

    I think I understand your instructions, here’s what I have done…

    1) Changed my analytics plugin from MonsterInsights to Google Analyticator.

    2) Edited the “Item” section of my custom product_mu template to add the onclick handler, as follows….

    <td class='gallery-icon'>
        [+downloadlink+]
      </td>
      <td class='wp-caption-text gallery-caption'>
    <font color="black"><strong>[+title+]</strong></font><br />
    <br>     
    <strong>File Name:</strong> [+file+]<br />
    <strong>File Type:</strong> [+terms:category+]<br />
    <strong>File Format:</strong> [+mime_type+]<br />
    <strong>Dimensions:</strong> [+dimensions+] px<br />
    <strong>File Size:</strong> [+file_size,commas+] bytes<br />
    <onclick="ga('send', 'event', 'download', '[+query:attachment_category,single+]', '[+file+]');">
    </td>

    I’m not sure if I have the syntax of the onclick handler correct. Can you comment?

    My thanks in advance.

    Thread Starter Winework

    (@winework)

    Hi David,

    Really appreciate you coming back to me and your offer of help.

    Yes, I am using a custom markup template. I can send you the details if you wish.

    To answer your questions…

    1) Yes, I think tracking as an event is the better option.

    2) Don’t really know what my options are… but how about these?

    Category: Image Library
    Action: Download
    Label: [File Name]
    Value: [att category id]

    3) I’m using Universal Analytics.

    Thanks in advance.

    Colin

    Thread Starter Winework

    (@winework)

    Thread Starter Winework

    (@winework)

    OK. Thanks for explaining.

    Thread Starter Winework

    (@winework)

    Can you even tell me why Onepress doesn’t work with Unique Header plugin?

    Anyone else here know how to do it?

    Thread Starter Winework

    (@winework)

    That works perfectly. You rock!

    Thank you.

    Thread Starter Winework

    (@winework)

    OK… I have sorted the issue in the case of catalogue images, but still having trouble with the single product pages.

Viewing 15 replies - 16 through 30 (of 42 total)