Skip to content

Commit

Permalink
Merge pull request #15 from allen-mckenzie/bugfix/file-inclusion
Browse files Browse the repository at this point in the history
Bugfix: Change Autoloader to Composer and Code Cleanup
  • Loading branch information
allen-mckenzie authored Mar 18, 2022
2 parents fbf995d + 830b3cf commit d9b9314
Show file tree
Hide file tree
Showing 17 changed files with 1,066 additions and 461 deletions.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
**Requires at least:** 5.8
**Tested up to:** 5.9
**Requires PHP:** 7.0
**Stable tag:** 0.1.2
**Stable tag:** 0.1.3
**License:** GPLv3 or later
**License URI:** https://www.gnu.org/licenses/gpl-3.0.html

Expand All @@ -29,13 +29,21 @@ Here are some frequently asked questions
Getting a Yelp API Key:

1. If you don't already have a Yelp account go to: https://yelp.com/ and signup.

2. After you login go to https://www.yelp.com/developers/v3/manage_app and create a new app.

![create-app-page](https://user-images.githubusercontent.com/43300142/158496476-2c1d5522-986d-41cb-9150-021cd0a491e8.png)

![enter-new-app-details](https://user-images.githubusercontent.com/43300142/158496510-46346d71-2222-4986-b670-a70f9bcd4ebd.png)

3. If you see an error message when you create your new app because you didn't verify your email. Go do that and try again.

![create-app-error](https://user-images.githubusercontent.com/43300142/158496522-bbac1b97-f03b-4af2-917c-303af76bde6d.png)

4. You should see a success messages that says, "Great your app has been created!"

![create-app-sucess](https://user-images.githubusercontent.com/43300142/158496541-f45bfa74-1ce9-4ae1-aff9-846da6612413.png)

5. Copy your new API details and save them in a safe location

### What about my StrawPoll API Key ###
Expand All @@ -47,17 +55,29 @@ Getting a Yelp API Key:
### How do I create a Business Matchup Poll ###

1. Click on Business Matchups

2. Next, click on Add New

![add-new-business-matchup-poll](https://user-images.githubusercontent.com/43300142/158496712-29ef2661-0658-4412-a2c9-63634905b8d1.png)

3. Give your page a title just like you would for any other page or post. This will create the permalink for your new poll.

![enter-business-matchup-poll-details](https://user-images.githubusercontent.com/43300142/158496755-db941097-a63b-429b-9970-890e89f9aa8a.png)

4. Next, Enter the business location that your would like to base your matchup on. For example: San Francisco, CA.

5. Then, Enter the type of businesses you want to matchup. For example: Pizza.

6. Next, add a featured image that the social networks will use to create a thumbnail of your post when you share it.

7. Finally, you can schedule this to post at a later date or publish now. This will gather the data we need and create the poll for you.

![business-matchup-poll-example](https://user-images.githubusercontent.com/43300142/158496794-a6216dd6-dde4-4ba6-9469-cbc4c4749b84.png)

8. If you have Jetpack installed and use Publicize these posts are supported so that they automatically post to your connected accounts. For more information on how to do this please check out: https://jetpack.com/support/publicize/

9. Check out your new Business Matchup poll and share it on social media!

![publish-business-matchup-poll-and-view](https://user-images.githubusercontent.com/43300142/158496822-3919ceaa-5260-435f-a6f0-e849304e0cc9.png)

## Screenshots ##
Expand All @@ -68,6 +88,12 @@ Getting a Yelp API Key:

Here is the Changelog

### 0.1.3 ###

Enhancement use composer autoloader to define and load classes
Corrections updated README.md and README.txt to have new lines after line itemes
Cleanup refactored functions and defined new classes to limit the number of nongetter and setters

### 0.1.2 ###

Fixed declared default constants to have unique 4 letter prefixes.
Expand Down
Loading

0 comments on commit d9b9314

Please sign in to comment.