Select parent by id Middle size image
-
Hi! still using your plugin a lot, still enjoying it as much! ??
I have a feature request though : Would it be possible to select parent also by ID, instead of only slug ?
Because ID is constant, whereas the slug can be changed for whatever reason, and thus the shortcode put in different pages will stop working properly without further notice.Also, I have come through what seems to be a little bug. I have put this :
[loop?parent="oasis"]<div class="col-xs-6 col-sm-4 text-center produit-liste"><a href="[field url]">[content field="image" size="middle" in="id"]<div>[field title]</div></a></div>[/loop]
But strangely the middle size parameter doesn’t seem to work. It works perfectly with thumbnail, large, and full. But putting
size="middle"
only retrieves the full image.I’ve checked and the media size are well set. Also the file does exist in the wp-content/uploads/ repository.
Any idea why it’s not showing up ?
https://www.ads-software.com/plugins/custom-content-shortcode/
- The topic ‘Select parent by id Middle size image’ is closed to new replies.