Quantcast
Channel: Topic Tag: bug | WordPress.org
Viewing all articles
Browse latest Browse all 23376

DevonHarper on "[Plugin: My Content Management] Shortcode Custom Templates No Longer Working in ver 1.4.7"

$
0
0

We upgraded the plugin to version 1.4.7 today and noticed that the shortcode was no longer properly using the template attribute. Here is the shortcode we are using:

[my_content type='partner' display='custom' taxonomy='mcm_category_partner' order='rand' count='1' template='<div class="partner-logo"><a rel="dofollow" target="_blank" href="{_url}">{medium}</a></div><p>We would like to thank <a rel="dofollow" target="_blank" href="{_url}">{title}</a> for helping to make our programs possible.</p>']

This had worked up until the upgrade today. Now if we use display='custom' in our shortcode, all that is outputted is the custom post type slug:

mcm_partner

We have tried changing the template attribute to a basic string 'Hello World' and it still outputs the post type slug.

We have downgraded the plugin to version 1.4.6 and our custom template is working again.

https://wordpress.org/plugins/my-content-management/


Viewing all articles
Browse latest Browse all 23376

Trending Articles