• Resolved jhdean

    (@jhdean)


    Hi David,

    One of the shortcodes you helped me develop has been working perfectly and still works on the live site (which is not really launched.) It stopped working on my development site. When I paste the shortcode from the live site into the dev site, it still doesn’t work.
    This is the one not working:
    [mla_gallery columns=1 mla_search_fields=title s="{+page_title+}" link="file" size=small mla_caption=" " meta_key="image_sort_name" orderby=meta_value order="ASC"]

    All the image names and page names remain and the primary image shortcode works:
    [mla_gallery columns=0 mla_search_fields=title s="{+page_title+}" tag="primary" mla_caption=“ <h2>{+template:({+title+})+}</h2> {+template:({+description+}|{+caption+})+}" link="none" size=large]

    It has worked correctly since any recent plugins were installed. I wonder what other factors might be involved? Both sites were updated to 4.1.1 so I don’t think that would be it.

    Thanks,
    Jeff

    https://www.ads-software.com/plugins/media-library-assistant/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jhdean

    (@jhdean)

    It does not give an error but nothing is displayed when there are several images with the same title, including the one that is displayed with the primary image shortcode.

    Thread Starter jhdean

    (@jhdean)

    Found the problem. I had for some reason deleted the custom field “image_sort_name” the was used for sorting in the shortcode.

    Sorry to trouble you,
    Jeff

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your updates with the good news.

    I am marking this topic resolved, but if you have any other trouble with the shortcode please update it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Working shortcode stopped working?’ is closed to new replies.