Skip to content

Commit 7fbb2a0

Browse files
authored
Update README.md
1 parent fec1734 commit 7fbb2a0

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<p align="center"><img src="WebShells.png" alt="WebShells Logo" width="auto" height="150"></p>
2+
13
## WS Github Sync Wordpress Shortcodes
24

35
Now you can easily show open issues, new commits, and open pull requests using this plugin and it's shortcodes.
@@ -16,7 +18,7 @@ Displays a list of open issues from a GitHub repository.
1618
#### Usage
1719

1820
```shortcode
19-
[gitsync_issues token="YourGitHubToken" repository="YourRepository" owner="YourOwner"]
21+
[gitsync_issues token="YourGitHubToken" repository="YourRepository" owner="OwnerOfRepo"]
2022
```
2123

2224
### 2. `[gitsync_commits]`
@@ -32,7 +34,7 @@ Displays a list of the latest commits from a GitHub repository.
3234
#### Usage
3335

3436
```shortcode
35-
[gitsync_commits token="YourGitHubToken" repository="YourRepository" owner="YourOwner"]
37+
[gitsync_commits token="YourGitHubToken" repository="YourRepository" owner="OwnerOfRepo"]
3638
```
3739

3840
### 3. `[gitsync_pull_requests]`
@@ -48,15 +50,15 @@ Displays a list of open pull requests from a GitHub repository.
4850
#### Usage
4951

5052
```shortcode
51-
[gitsync_pull_requests token="YourGitHubToken" repository="YourRepository" owner="YourOwner"]
53+
[gitsync_pull_requests token="YourGitHubToken" repository="YourRepository" owner="OwnerOfRepo"]
5254
```
5355
![Screenshot](https://github.com/WebShells/Github-Sync-Wordpress/blob/main/Screenshot.png?raw=true)
5456

5557
### Important Notes
5658

5759
- Before using these shortcodes, make sure you have a valid GitHub personal access token. You can create a token with appropriate permissions in your GitHub account settings.
5860

59-
- Replace `YourGitHubToken`, `YourRepository`, and `YourOwner` with the appropriate values for your GitHub repository.
61+
- Replace `YourGitHubToken`, `YourRepository`, and `OwnerOfRepo` with the appropriate values for your GitHub repository.
6062

6163
- Ensure that cURL is enabled on your server to make API requests to GitHub.
6264

0 commit comments

Comments
 (0)