html in attachment description breaks mla_gallery shortcode
-
Self descriptive title!
I’m using 1.94 and this is the (rather long) description of a media item:
U.S. Customs House plans from the 1941 Historic American Buildings Survey (HABS). Background: The building was originally designed as a custom house for the City of New York and was used as such until about 1860, when it was taken over as the United States Sub-Treasury. The Historic American Buildings Survey (HABS) has been administered since 1933 to record America's built environment in multiformat surveys comprising measured drawings, large-format photographs, and written histories for historic structures and sites dating from Pre-Columbian times to the twentieth century. For the full set of plans and additional images see the <a href="https://https://www.loc.gov/pictures/search/?q=Drawing%3A+ny0363&fi=number&op=PHRASE&va=exact"> Library of Congress site </a>
and this is the mla_gallery shortcode I’m using:
echo do_shortcode( "[mla_gallery mla_style=\"vws\" mla_markup=\"vws\" columns=2 size=\"vws\" link=file" . " post_parent=". get_the_ID() ." attachment_category=\"$categories\" order_by=\"title\"" . " mla_viewer=true mla_viewer_width=300 post_mime_type=all]");
And this is how it looks: https://imgur.com/sc63JgM
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘html in attachment description breaks mla_gallery shortcode’ is closed to new replies.