Thanks for your question. I want to make sure I understand what you mean.
You wrote “the image’s attachment page” and “image’s media file post“. I am not sure what the second phrase refers to; is it the URL of the file itself?
The only [mla_gallery] parameter I can think of is link=file Vs link=permalink. Have you looked at that? You should also check the content of a custom markup template if you use one. There is no MLA option or setting I know of that would change the default.
You should also check your WordPress Permalinks option settings to see if they are different.
If the above suggestions are not helpful can you post a link to the affected pages and the source text of your shortcodes? Any additional information you can give me would be helpful; thanks.
Well I guess the best way is to just show you what’s going on.
This page : http://www.nosaintshistory.com/no_saints_galleries/new-orleans-saints-history-images/ is exactly what I want.
The short code I use is:
[mla_gallery posts_per_page=24 columns="4" attachment_category="pic" post_parent="all" orderby="date" order="desc" size="side-images" mla_caption="{+title+}"]
[mla_gallery posts_per_page=24 mla_output="paginate_links,prev_next" attachment_category="pic"]
You choose an image and you are taken to the assigned attachment page.
Now this page….. http://www.pressdat.com/australia-stamp-gallery/
used with this code:
[mla_gallery posts_per_page=24 columns="4" attachment_category="australia" post_parent="all" orderby="date" order="desc" size="medium" mla_caption="{+title+}"]
[mla_gallery posts_per_page=24 mla_output="paginate_links,prev_next" attachment_category="australia"]
doesn’t go to the page the image is uploaded to (or assigned to for that matter). It goes to “post” of the image. I’m sure I’m not describing correctly but try it out and you’ll see what I mean.
I’m sure my issue has nothing to do with MLA. It’s just I’ve actually posted this question at a couple of other places with no answers. I was just hoping you might know right off the bat what I’m doing wrong.
Thanks for your update with the shortcode text and especially the links to both sites.
It looks to me like both [mla_gallery] shortcodes are linking to the “attachment page”/”media page” for the selected item. The differences you experience are entirely due to the Theme and its template hierarchy. You will have to work with the theme developer/vendor to understand which template is being invoked and how to populate the template with the information you want to display.
I am marking this topic resolved simply because, as you stated, MLA is not involved and I don’t have access to the theme files to give you a more specific answer. I hope you are able to find a solution by working with the people responsible for the theme; good luck!
Well thanks for the help David. Have a Good One!