<div dir="ltr">Abhik-<div><br></div><div style>If you must use custom post types, make a plugin to do it and then make it easy for users to add your plugin with this:</div><div style><a href="https://github.com/thomasgriffin/TGM-Plugin-Activation">https://github.com/thomasgriffin/TGM-Plugin-Activation</a><br>
</div><div style><br></div><div style>But before you do all that think about why you can't use post formats or post meta data or the options API or the theme_mod API to do it within your theme.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Apr 21, 2013 at 9:31 AM, Jonny <span dir="ltr"><<a href="mailto:wp@stormfire.eu" target="_blank">wp@stormfire.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto"><div>More than likely. But such things are usually judged on a case by case basis.<br><br>ZOOM ZOOM</div><div><div class="h5"><div><br>On 21 Apr 2013, at 14:13, Abhik Biswas <<a href="mailto:abhik@itsabhik.com" target="_blank">abhik@itsabhik.com</a>> wrote:<br>
<br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi,<br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br>I want to include a feature in my theme which falls in plugin territory (Custom Post Type for example).<br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">What if I make it fully optin (and display a notice mentioning that the feature will be lost if the theme is changed)? The feature will be disabled by default and the user have to enable it from backend before using.<br>
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Will that still be a no?<br></div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>theme-reviewers mailing list</span><br><span><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a></span><br>
<span><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></span><br></div></blockquote></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>