This plugin is awesome. All I have to do is put the following line of code in my functions.php:
sld_register_post_type( ‘client’ );
However, if this line of code is in my functions.php and the plugin is not activated, then I get the white blank screen.
I know that all I have to do is say something like <?php if plugin is active.. do this.
But I have no idea how to convert this english statement into PHP. Anybody?
- The topic ‘[Plugin: Stresslimit Custom Content Types] How to check if plugin is activated.’ is closed to new replies.