Oh, and my theme is one that I created based on Mr. Digital’s wordpress theme development tutorial in youtube. The theme uses bootstrap as a css framework. I’m not sure if there are div classes conflicting and that’s why the gallery only takes up half the space instead of the full space (this is for the shortcode that worked). The only plugins I have installed are akismet, jetpack, maintenance by wp maintenance, force regenerate thumbnails, and this plugin.
Thanks for your question and for including the source text of the shortcode you are using; very helpful.
Here is a link to an earlier topic from another user that combined MLA with Jetpack:
Display tags under each image in carousel view
You can find details and examples for combining MLA’s data selection features with Jetpack Carousel and Tiled Galleries display in the “Support for Other Gallery-generating Shortcodes” section of the Settings/Media Library Assistant Document tab.
The shortcode you posted looks fine to me. As noted in the earlier topic and the Documentation, when mla_alt_shortcode is used MLA plays no role whatsoever in generating the HTML and styles for the gallery display. The Jetpack HTML makes use of many classes and styles used in WordPress core and adds classes and styles of its own. It is up to the theme author (in this case, you) to provide appropriate styles and enclosing HTML markup for the gallery display. I do not see any way MLA can be of help for your application.
I regret the news is not better, but I am marking this topic resolved because I have answered your question to the best of my ability. Please post an update if you have any problems or further questions regarding the role of MLA in your application. Thanks for your understanding and your interest in the plugin.
It turns out I needed to set content width in my theme or else jetpack defaults to outputting to 500px wide. The weird thing is that if I use jetpack alone, it doesn’t even take into account content width. But if I combine it with mla, it resizes to the default 500px wide output or whatever I set my content width to.
so strange.
anyways, thanks for the help chief.
-
This reply was modified 6 years, 7 months ago by
edgarej.