davidjhk
Forum Replies Created
-
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 ThemesPlugins:
Auto Login New User After Registration
Version 1.6.2 | By Jeff SherkClassic Editor
Version 1.3 | By WordPress ContributorsCount Per Day
Version 3.6.1 | By EasyPlugin (Jon Highham)Custom Tag Cloud
Version 1.0.0 | By The KrotekDebug Bar
Version 1.0 | By wordpressdotorgDisable Gutenberg
Version 1.5.2 | By Jeff StarrEWWW Image Optimizer
Version 4.5.3 | By Exactly WWWExifography
Version 1.3.1 | By kristarellaFormidable Forms
Version 3.04.03 | By Strategy11Formidable Forms Pro
Version 3.04.02 | By Strategy11Hello Dolly
Version 1.7 | By Matt MullenwegKBoard : Comment
Version 4.4.6 | By 코스모스팜 – CosmosfarmKBoard : Forum
Version 5.3.11 | By 코스모스팜 – CosmosfarmLogin-Logout
Version 3.8 | By webvitalyMailOptin – Lite
Version 1.2.11.2 | By MailOptin TeamManageWP – Worker
Version 4.6.3 | By ManageWP | View connection keyMedia Library Assistant
Version 2.75 | By David Lingren, Fair Trade JudaicaMedia Search Enhanced
Version 0.8.0 | By 1fixdotioMembers
Version 2.1.0 | By Justin TadlockMLA tax query Example
Version 1.05 | By David LingrenPost Views Counter
Version 1.2.14 | By dFactoryProfile Builder – Custom Profile Menus Add-On
Version 1.0.7 | By Cozmoslabs, Cristophor HurdubanProfile Builder Pro
Version 2.8.2 | By Cozmoslabs, Madalin Ungureanu, Antohe Cristian, BarinaRadio Buttons for Taxonomies
Version 1.8.3 | By Kathy DarlingRegenerate Thumbnails
Version 3.0.2 | By Alex Mills (Viper007Bond)Restrict Author Posting
Version 2.1.5 | By Jam ViệtScripts n Styles
Version 3.4.5 | By unFocus ProjectsShortcake (Shortcode UI)
Version 0.7.3 | By Fusion Engineering and communitySlider Revolution
Version 5.3.1.5 | By ThemePunchTinyMCE Advanced
Version 4.8.2 | By Andrew Ozz
Version 1.16.0 | By UpdraftPlus.Com, DavidAndersonWidget Shortcode
Version 0.3.3 | By Hassan DerakhshandehWordfence Security
Version 7.1.18 | By WordfenceSelect WP Lightbox 2
Version 3.0.6.2 | By Syed BalkhiWP User Avatar
Version 2.1.6 | By flippercodeHi 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.
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.Hi David,
Thank you for the quick response.
I caught your point.
Can I try the “MLA tax query Example” plugin?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 513Using 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.