# Pinegrow gets confused about plugin or theme

**URL:** <https://forum.pinegrow.com/t/pinegrow-gets-confused-about-plugin-or-theme/7487>\
**Category:** Bug Reports\
**Created:** [December 20, 2022, 7:26pm UTC](https://forum.pinegrow.com/t/pinegrow-gets-confused-about-plugin-or-theme/7487 "2022-12-20T19:26:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)\
**Post date:** [December 20, 2022, 7:26pm UTC](https://forum.pinegrow.com/t/pinegrow-gets-confused-about-plugin-or-theme/7487/1 "2022-12-20T19:26:59Z")

</div>

Here is a pretty specific, but not uncommon, scenario where Pinegrow gets confused about whether it is creating a WP Theme or Plugin. (Pinegrow Desktop 7.0.3)

- Start a new project by creating a file. Save that file with a name other than index.html and open it as a project.

- Activate WordPress and enter your properties for a plugin as usual.

- When you save, you’ll see the message below “unable to check if Page Settings on are ok”  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/6/6422b6ae4b7816df940c6ad9101857f6c18e87ba.png)

- Go back to the WordPress panel and you’ll see the following “the page is not configured for WordPress…”  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/c/c06d467caaf69c0abb3c03ab0c36a66aeef0b4b1.png)

- Lastly, export your plugin and you’ll get the plugin export warning that your theme doesn’t have an index page.  

Except… I’m making a plugin!

Doing all these steps with an index.html file works just fine. This is just a specific scenario I ran into this morning and thought I’d raise as a low priority bug.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [December 20, 2022, 8:22pm UTC](https://forum.pinegrow.com/t/pinegrow-gets-confused-about-plugin-or-theme/7487/2 "2022-12-20T20:22:04Z")

</div>

Thanks @adamslowe, should be fixed in the next release.
