Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter davidjhk

    (@davidjhk)

    ps) I have reinstalled previous version of AAM 5.7.1 and the error was gone.
    But trying with AAM 5.7.2 causes the same error still.

    * To clarify the problem, here is my current settings.

    Wordpress : 5.02

    Theme: DIVI 3.19
    By Elegant Themes

    Plugins:

    Auto Login New User After Registration
    Version 1.6.2 | By Jeff Sherk

    Classic Editor
    Version 1.3 | By WordPress Contributors

    Count Per Day
    Version 3.6.1 | By EasyPlugin (Jon Highham)

    Custom Tag Cloud
    Version 1.0.0 | By The Krotek

    Debug Bar
    Version 1.0 | By wordpressdotorg

    Disable Gutenberg
    Version 1.5.2 | By Jeff Starr

    EWWW Image Optimizer
    Version 4.5.3 | By Exactly WWW

    Exifography
    Version 1.3.1 | By kristarella

    Formidable Forms
    Version 3.04.03 | By Strategy11

    Formidable Forms Pro
    Version 3.04.02 | By Strategy11

    Hello Dolly
    Version 1.7 | By Matt Mullenweg

    KBoard : Comment
    Version 4.4.6 | By 코스모스팜 – Cosmosfarm

    KBoard : Forum
    Version 5.3.11 | By 코스모스팜 – Cosmosfarm

    Login-Logout
    Version 3.8 | By webvitaly

    MailOptin – Lite
    Version 1.2.11.2 | By MailOptin Team

    ManageWP – Worker
    Version 4.6.3 | By ManageWP | View connection key

    Media Library Assistant
    Version 2.75 | By David Lingren, Fair Trade Judaica

    Media Search Enhanced
    Version 0.8.0 | By 1fixdotio

    Members
    Version 2.1.0 | By Justin Tadlock

    MLA tax query Example
    Version 1.05 | By David Lingren

    Post Views Counter
    Version 1.2.14 | By dFactory

    Profile Builder – Custom Profile Menus Add-On
    Version 1.0.7 | By Cozmoslabs, Cristophor Hurduban

    Profile Builder Pro
    Version 2.8.2 | By Cozmoslabs, Madalin Ungureanu, Antohe Cristian, Barina

    Radio Buttons for Taxonomies
    Version 1.8.3 | By Kathy Darling

    Regenerate Thumbnails
    Version 3.0.2 | By Alex Mills (Viper007Bond)

    Restrict Author Posting
    Version 2.1.5 | By Jam Việt

    Scripts n Styles
    Version 3.4.5 | By unFocus Projects

    Shortcake (Shortcode UI)
    Version 0.7.3 | By Fusion Engineering and community

    Slider Revolution
    Version 5.3.1.5 | By ThemePunch

    TinyMCE Advanced
    Version 4.8.2 | By Andrew Ozz
    Version 1.16.0 | By UpdraftPlus.Com, DavidAnderson

    Widget Shortcode
    Version 0.3.3 | By Hassan Derakhshandeh

    Wordfence Security
    Version 7.1.18 | By Wordfence

    Select WP Lightbox 2
    Version 3.0.6.2 | By Syed Balkhi

    WP User Avatar
    Version 2.1.6 | By flippercode

    Thread Starter davidjhk

    (@davidjhk)

    Hi David,

    Thank you for the help.
    Now the sorting works as expected after following your suggestion.
    Filtering by author is one of the key features for the web site.
    So adding it to the plugin will be a great help to me.

    p.s. I just want to let you know that I have donated to Community Partners for this wonderful plugin via PayPal.

    • This reply was modified 8 years, 10 months ago by davidjhk.
    • This reply was modified 8 years, 10 months ago by davidjhk.
    Thread Starter davidjhk

    (@davidjhk)

    Hi David,

    I found that the MLA tax query example plugin from the examples folder in MLA Plugin Folder.
    So I installed the plugin and played around with it.
    Now I found a way to make my gallery super fast but found one problem.
    It has a parameter “orderby” and “order” and it seems working weirdly.
    Here is my test code.

    [mla_gallery post_parent="all" my_custom_sql="attachment_category=nature" posts_per_page="20" mla_caption="{+title+}<br />{+caption+}" size="medium" orderby="id" order="DESC" mla_debug="true"]
    [mla_gallery post_parent="all" my_custom_sql="attachment_category=nature" posts_per_page="20" mla_caption="{+title+}<br />{+caption+}" size="medium" orderby="id" order="DESC" mla_output="paginate_links" ]

    And here is the actual web page including this shortcode.

    http://roynjanephoto.com/test-test/

    I expected all the images being sorted in reverse order by ID field for pagination.
    But the sorting happened AFTER pagination not BEFORE pagination.
    which means…

    Let’s say I have 1,2,3,4……40.

    My expected order was 40,39,38…21 on page 1.
    And 20,19,18…1 on page 2.

    But actual result was 20,19,18….1 on page 1
    And 40,39,38….21 on page 2.

    Any suggestion?

    2. Another question is…

    It seems the “author_name” parameter doesn’t work well with pagination.
    The filtering by author name happens after pagination not before pagination.
    If there are 10 images by an author “goldenpond” within ID 1~20,
    and there are 10 more images within ID page 21~40,
    The page 1 only shows 10 images on page 1.
    But it should show all 20 images on page 1 because ‘posts_per_page’ is set to 20.

    • This reply was modified 8 years, 10 months ago by davidjhk.
    • This reply was modified 8 years, 10 months ago by davidjhk.
    • This reply was modified 8 years, 10 months ago by davidjhk.
    • This reply was modified 8 years, 10 months ago by davidjhk.
    • This reply was modified 8 years, 10 months ago by davidjhk.
    Thread Starter davidjhk

    (@davidjhk)

    Hi David,

    Thank you for the quick response.
    I caught your point.
    Can I try the “MLA tax query Example” plugin?

    Thread Starter davidjhk

    (@davidjhk)

    Hi Greg,

    Here is the website URL.
    http://roynjanephoto.com/

    The average image size is…

    Full size : 1000 x 668
    Thumbnail -> Medium Large : 768 x 513

    Using thumbnail is not an option because I didn’t want to show the cropped image as it will destroy the original ratio.

    When fully loaded, total size of a page with 20 thumbnails + header images is around 4MB.

    It is very fast to load a page when cache is applied.
    But for uncached page, it is very slow to load.

    You can try a page which is not cached yet, ie.,
    http://roynjanephoto.com/landscape/?mla_paginate_current=14
    http://roynjanephoto.com/landscape/?mla_paginate_current=15
    http://roynjanephoto.com/landscape/?mla_paginate_current=16
    * You can change the mla_paginate_current parameter to open another uncached pages.

    I doubt that when MLA plugin retrieve a gallery, it seems like querying all the records in the same category, instead of just counting the number of items.

    • This reply was modified 8 years, 10 months ago by davidjhk.
    • This reply was modified 8 years, 10 months ago by davidjhk.
    • This reply was modified 8 years, 10 months ago by davidjhk.
    • This reply was modified 8 years, 10 months ago by davidjhk.
Viewing 5 replies - 1 through 5 (of 5 total)