• Resolved cristiano771

    (@cristiano771)


    Hi David!
    I am using this code

    [mla_gallery columns=0 mla_style="responsive" size="thumbnail" my_custom_sql="attachment_category='codibugnolo' orderby=date order=DESC"  posts_per_page=30 mla_link_href='/visualizza-specie/?current_id={+attachment_ID+}&specie={+parent+}&title={+parent_title+}&attachment_category=codibugnolo']
    <hr style="border-top: 1px dotted #666;">
    <div style="clear: both; text-align: center; color: #333;">[mla_gallery attachment_category="codibugnolo" posts_per_page=30 mla_output="paginate_links,prev_next" mla_nolink_text="galleria su pagina unica"]</div>
    <hr style="border-top: 1px dotted #666;">

    with the option mla_nolink_text="galleria su pagina unica" to show a text when the gallery has less than 30 images… but it works only on some pages, and often I see nothing… I am going crazy but can’t find the bug… If you see this page: https://www.cristianotedesco.com/foto-di-airone-cenerino/ it works fine and the code is the same, it’s different just the attachment_category in every page…
    Thank you so much!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your report and for including the complete source text of your shortcodes; very helpful. Your shortcodes are fine. You have uncovered a defect in the current MLA version.

    I have uploaded a new MLA Development Version dated 20220115 that contains a fix for your issue. You can find step-by-step instructions for using the Development Version in this earlier topic:

    PHP Warning on media upload with Polylang

    Once the Development Version is installed you can rerun your “single page” gallery. The updated code will be part of my next MLA version, but in the interim it would be great if you could install the Development Version and let me know if it works for you. Thanks for uncovering and reporting this MLA defect.

    Thread Starter cristiano771

    (@cristiano771)

    Thank you for the support… I have installed the 2022015 Dev. Version and now I see all pages working… Fine work, as ever!

    Thank you again.
    Cristiano

    Plugin Author David Lingren

    (@dglingren)

    I have released MLA version 2.99, which contains the fixes developed for this topic.

    I am marking the topic resolved, but please update it if you have any problems or further questions regarding the fixes in the new version. Thanks for working with me on this topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘mla_nolink_text working only sometimes?’ is closed to new replies.