• Resolved redeclipse

    (@redeclipse)


    Hello, I’ve been a long time user of your awesome plugin, however I believe on the last update to the plugin, some code may have caused the navigation for the Back/Next Links to stop working/disappear. The page where I have the code is here: https://www.theforgottenlair.net/mobile-wallpapers/

    The navigation link for Back/Next used to show on top and below the gallery. Here was the code for that:

    <div style="clear: both; float: left">
    [mla_gallery my_custom_sql='attachment_category=mobile' posts_per_page=40 mla_output="previous_page,wrap" mla_link_text='&larr; LAST PAGE' mla_rollover_text="Previous/Last Page"]
    </div>
    
    <div style="float: right">
    [mla_gallery my_custom_sql='attachment_category=mobile' posts_per_page=40 mla_output="next_page,wrap" mla_link_text='NEXT PAGE &rarr;' mla_rollover_text="Next Page"]
    </div>

    Is there now a new way the links have to be written? Thanks.

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

    (@dglingren)

    Good to hear form you again! I regret the trouble you’re having with the new release. I’d like to get a bit more information so I can investigate further.

    1. Can you post the shortcode text for the third [mla_gallery] shortcode that displays the gallery images?
    2. Can you confirm the name and version number of the example plugin you are using to process the my_custom_sql parameter?
    3. I assume you are using MLA v2.40, the latest version; is that right?
    4. Did you update the example plugin (question 2) as well?

    Thanks for any additional information you can provide.

    Thread Starter redeclipse

    (@redeclipse)

    I am using plugin version 2.40. Are you referring to MLA tax query Example Version 1.01? I’m not sure what you were asking for the “example plugin.”
    This is basically everything on the page code-wise:

    <div style="clear: both; float: left">
    [mla_gallery my_custom_sql='attachment_category=mobile' posts_per_page=40 mla_output="previous_page,wrap" mla_link_text='&larr; LAST PAGE' mla_rollover_text="Previous/Last Page"]
    </div>
    
    <div style="float: right">
    [mla_gallery my_custom_sql='attachment_category=mobile' posts_per_page=40 mla_output="next_page,wrap" mla_link_text='NEXT PAGE &rarr;' mla_rollover_text="Next Page"]
    </div>
    
    <div style="clear:both; margin-top:0px; margin-bottom:20px;"></div>
    
    [mla_gallery my_custom_sql='attachment_category=mobile orderby=id order=DESC' size=medium link=file columns=4 mla_caption="<a href='https://www.theforgottenlair.net/mobile-wallpapers/?page_id={+parent+}'>{+parent_title+}</a>" mla_target='_blank' numberposts=40]
    
    <div style="clear: both; float: left">
    [mla_gallery my_custom_sql='attachment_category=mobile' posts_per_page=40 mla_output="previous_page,wrap" mla_link_text='&larr; LAST PAGE' mla_rollover_text="Previous/Last Page"]
    </div>
    
    <div style="float: right">
    [mla_gallery my_custom_sql='attachment_category=mobile' posts_per_page=40 mla_output="next_page,wrap" mla_link_text='NEXT PAGE &rarr;' mla_rollover_text="Next Page"]
    </div>
    Plugin Author David Lingren

    (@dglingren)

    Thanks for your update with the additional information – the “MLA tax query Example Version 1.01” reference was exactly what I needed.

    You have uncovered a defect in the current MLA version, but I believe the problem also existed in earlier MLA versions. I have uploaded a new MLA Development Version dated 20151213 that corrects the problem. To get the Development Version, follow the instructions in this earlier topic:

    Shortcode not working in (special) widget

    It would be great if you could install the Development Version and let me know if it works for you. The Development Version contains an updated “MLA tax query Example” plugin, although I tested the version you have and it still works fine.

    Thanks for alerting me to this problem.

    Thread Starter redeclipse

    (@redeclipse)

    It works again! Thank you so much for the speedy reply! Keep up the great work!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Suddenly Missing Next/Prev Page Links’ is closed to new replies.