Skip to content

Commit b24928f

Browse files
committed
New: Initial files
0 parents  commit b24928f

32 files changed

+3090
-0
lines changed

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
vendor
5+
6+
7+
# local env files
8+
.env.local
9+
.env.*.local
10+
11+
# Log files
12+
npm-debug.log*
13+
yarn-debug.log*
14+
yarn-error.log*
15+
pnpm-debug.log*
16+
17+
# Editor directories and files
18+
.idea
19+
.vscode
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
# Build files
27+
*.zip
28+
29+
# Unwanted config files
30+
composer.lock
31+
32+
# Docs
33+
.vitepress/dist
34+
.vitepress/cache

.vitepress/config.mjs

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
import { defineConfig } from 'vitepress'
2+
3+
const year = new Date().getFullYear()
4+
5+
export default defineConfig({
6+
title: "Duck Dev Docs",
7+
description: "Official documentation for Duck Dev",
8+
lastUpdated: true,
9+
cleanUrls: true,
10+
head: [
11+
[
12+
'link',
13+
{
14+
rel: 'icon',
15+
href: '/icon.png',
16+
},
17+
]
18+
],
19+
themeConfig: {
20+
logo: '/icon.png',
21+
nav: [
22+
{ text: 'Home', link: '/' },
23+
{ text: 'Support', link: 'https://duckdev.com/contact/' },
24+
],
25+
26+
sidebar: [
27+
{
28+
text: 'General',
29+
items: [
30+
{ text: 'Getting Help', link: '/general/getting-help' },
31+
{ text: 'Installing a plugin', link: '/general/installing-plugin' },
32+
{ text: 'Updating a plugin', link: '/general/updating-plugin' }
33+
]
34+
},
35+
{
36+
text: 'Loggedin',
37+
items: [
38+
{ text: 'General Settings', link: '/loggedin/general-settings' },
39+
{ text: 'Manage Sessions', link: '/loggedin/manage-sessions' },
40+
{ text: 'Installing an Add-on', link: '/loggedin/installing-add-on' },
41+
{ text: 'Managing Licenses', link: '/loggedin/managing-licenses' },
42+
{ text: 'Developer Docs', link: '/loggedin/developer-docs' },
43+
{
44+
text: 'Addons',
45+
base: '/loggedin/addons',
46+
items: [
47+
{ text: 'Realtime Logout', link: '/realtime-logout' },
48+
{ text: 'Limit Per User', link: '/limit-per-user' },
49+
]
50+
}
51+
]
52+
},
53+
{
54+
text: '404 to 301',
55+
items: [
56+
{ text: 'Settings', link: '/404-to-301/settings' },
57+
{ text: 'Translation', link: '/404-to-301/translating' },
58+
]
59+
},
60+
{
61+
text: 'Lazy Load for Comments',
62+
items: [
63+
{ text: 'Settings', link: '/lazy-load-for-comments/settings' },
64+
]
65+
},
66+
{
67+
text: 'About Duck Dev',
68+
link: '/about',
69+
},
70+
],
71+
72+
socialLinks: [
73+
{ icon: 'github', link: 'https://github.com/duckdev' },
74+
{ icon: 'twitter', link: 'https://x.com/duckdev' },
75+
{ icon: 'facebook', link: 'https://facebook.com/duckdev' },
76+
],
77+
78+
editLink: {
79+
pattern: 'https://github.com/duckdev/docs/edit/docs/docs/:path',
80+
text: 'Edit this page on GitHub',
81+
},
82+
83+
search: {
84+
provider: 'local',
85+
},
86+
87+
footer: {
88+
copyright: `Copyright © ${year}, <a href="/about/">Duck Dev LLP</a>.`,
89+
},
90+
}
91+
})

404-to-301/settings.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Settings
3+
---
4+
5+
# Settings
6+
7+
::: info Note
8+
Not yet published. If you can help, [please let us know](https://duckdev.com/contact/).
9+
:::

404-to-301/translating.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Translating 404 to 301
3+
---
4+
5+
# 🌐 Help Translate 404 to 301
6+
7+
Want to help translate the 404 to 301 plugin into your language? You can do so directly from the [GlotPress project page](https://translate.wordpress.org/projects/wp-plugins/404-to-301)!
8+
9+
## How to Start Translating
10+
11+
Follow these steps and you can start contributing to the 404 to 301 translation at any time:
12+
13+
* Log in to the GlotPress translation platform using your WordPress.org account.
14+
* Go to the official 404 to 301 translation [project page here](https://translate.wordpress.org/projects/wp-plugins/404-to-301).
15+
* You will see a list of available languages. Select your language from the list.
16+
* All translatable strings for your language will be displayed. Add or modify string translations by selecting "Details."
17+
* Save your translation suggestions and wait for the translation editors in your locale to approve them. You can see your [local translation team here](https://make.wordpress.org/polyglots/teams/).
18+
19+
## Need a New Language?
20+
21+
If you don't see your language listed, you can request support for it by following [this guide](https://make.wordpress.org/polyglots/handbook/translating/requesting-a-new-locale/).
22+
23+
## Useful Links
24+
25+
* [WordPress translation handbook](https://make.wordpress.org/polyglots/handbook/).
26+
* [Translation teams for each language](https://make.wordpress.org/polyglots/teams/).
27+
28+
Thank you for helping the WordPress community use 404 to 301 in their own language—it makes a huge difference!

about.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
publish: false
3+
---
4+
5+
# About Duck Dev
6+
7+
<img src="/duckdev.jpg" align="right" width="230" height="230" alt="Duck Dev" style="margin: 0 0 1em 1em; border-radius: 10px;">
8+
9+
Loggedin is developed and maintained by [Duck Dev, LLP](https://duckdev.com/), a small, two-person team driven by a love for open source.
10+
11+
[Joel James](https://github.com/Joel-James), the lead developer, specializes in WordPress and is a strong advocate for open source, actively maintaining [several free WordPress plugins](https://profiles.wordpress.org/joelcj91/#content-plugins).
12+
13+
When not coding, he dedicates his spare time to stock market trading.

api-examples.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
outline: deep
3+
---
4+
5+
# Runtime API Examples
6+
7+
This page demonstrates usage of some of the runtime APIs provided by VitePress.
8+
9+
The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:
10+
11+
```md
12+
<script setup>
13+
import { useData } from 'vitepress'
14+
15+
const { theme, page, frontmatter } = useData()
16+
</script>
17+
18+
## Results
19+
20+
### Theme Data
21+
<pre>{{ theme }}</pre>
22+
23+
### Page Data
24+
<pre>{{ page }}</pre>
25+
26+
### Page Frontmatter
27+
<pre>{{ frontmatter }}</pre>
28+
```
29+
30+
<script setup>
31+
import { useData } from 'vitepress'
32+
33+
const { site, theme, page, frontmatter } = useData()
34+
</script>
35+
36+
## Results
37+
38+
### Theme Data
39+
<pre>{{ theme }}</pre>
40+
41+
### Page Data
42+
<pre>{{ page }}</pre>
43+
44+
### Page Frontmatter
45+
<pre>{{ frontmatter }}</pre>
46+
47+
## More
48+
49+
Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).

general/getting-help.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
outline: deep
3+
title: Get Help with Our Plugins
4+
---
5+
6+
# 🛠️ Get Help with Our Plugins
7+
8+
Despite our best efforts to make our plugins as easy to use as possible, you might still run into trouble. Don't hesitate to ask us for support. We don't just want to help you fix things; we also want to learn from how you use our plugin.
9+
10+
::: tip Note
11+
If you need help with one of our free WordPress plugins, please open a support request on the WordPress.org plugin forum.
12+
:::
13+
14+
## How to Ask for Help
15+
16+
We kindly request that you keep these things in mind when asking us for help. It will allow us to assist you much faster and more accurately!
17+
18+
* **Provide a link to your website**. If possible, share the link to the specific page where the issue is occurring.
19+
* **Describe the errors you are seeing**. These details tell us a lot about what we need to do to fix things. A screenshot of the error is also very helpful!
20+
* **Tell us which version of WordPress you are using (if a WordPress product)**. You can find this info in the "At a glance" section of your website’s admin Dashboard.
21+
* **Tell us which version of the product you are using**. Please consider updating to the latest version, as it usually contains fixes for problems we have found in the past.
22+
23+
## A Note on Support Priority
24+
25+
We will try our best to answer everyone in a timely manner, whether you are a paid user or not. Paid users do, however, have a right to priority support. If you are in need of this type of immediate assistance, please consider buying a paid version of the product.

general/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
publish: false
3+
---
4+
5+
# General

general/installing-plugin.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
outline: deep
3+
---
4+
5+
# Installing a plugin
6+
7+
There are several ways to install a WordPress plugin.
8+
9+
## Installing from the WordPress dashboard
10+
11+
Follow these steps to install any WordPress plugin from your dashboard. Make sure you are logged in and have the correct permissions to manage plugins.
12+
13+
* Go to Plugins and then click on **Add New**.
14+
* Search for the plugin name (**Loggedin** for example), then click **Install Now** and then **Activate**.
15+
16+
Alternatively, you can [download the plugin from WordPress.org](https://wordpress.org/plugins/) and follow these steps:
17+
18+
* Go to Plugins and click on **Add New**.
19+
* Click **Upload Plugin** and select the downloaded zip file.
20+
* Click **Install Now** and then **Activate**.
21+
22+
## Installing a plugin via FTP
23+
24+
Follow these steps to install a plugin via FTP.
25+
26+
To install it via FTP, you will need direct access to your web host's file server. Make sure you have a file transfer program (for example, [Filezilla](https://filezilla-project.org/)) and the necessary permissions from your hosting provider.
27+
28+
* On your local machine unzip the plugin zip file which you have downloaded already.
29+
* Login to your site using FTP or SFTP.
30+
* Upload the extracted folder to the `/wp-content/plugins/` directory on your site.
31+
* Go to the WordPress Plugins dashboard and Activate the plugin.
32+
33+
If the installation did not work or you see an error after pressing Install Now you may need to try again or [contact the support](https://duckdev.com/contact/)

general/updating-plugin.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
outline: deep
3+
---
4+
5+
# Updating a plugin
6+
7+
You will receive a notification on your WordPress admin when an update is available for any of your plugins, be it free or Premium. You can then update to the latest version directly from your WordPress admin panel.
8+
9+
::: tip Important
10+
A valid license is required for premium plugins/add-ons to receive updates.
11+
:::
12+
13+
If for some reason you cannot perform automatic updates through your WordPress Admin panel, you can manually update the plugin to the latest stable version.
14+
15+
Before you start, download the latest version of the free plugin from WordPress.org or the premium plugin/add-on from [your user dashboard](https://customers.freemius.com/store/21/).
16+
17+
## Updating from the WordPress dashboard
18+
19+
Updating via the WordPress Admin panel is a straightforward process.
20+
21+
* Navigate to **WP Admin > Plugins > Add New > Upload**.
22+
* Browse to the location of the plugin ZIP file on your computer and press “Upload”.
23+
* Select “Replace current with uploaded” on the confirmation page.
24+
25+
[![Manual Update](/general/manual-update.png)](/general/manual-update.png)
26+
27+
## Updating a plugin via FTP
28+
29+
Follow these steps to install a plugin via FTP.
30+
31+
To install it via FTP, you will need direct access to your web host's file server. Make sure you have a file transfer program (for example, [Filezilla](https://filezilla-project.org/)) and the necessary permissions from your hosting provider.
32+
33+
* Unzip the downloaded ZIP file somewhere on your computer.
34+
* Connect to your web server over FTP and navigate to `/wp-content/plugins/your-plugin-name/`.
35+
* Replace all the files in this directory with the files from the downloaded ZIP file.
36+
37+
Following either of these two update methods ensures you will not lose your plugin's configuration settings. These methods are applicable to all plugins.
38+
39+
::: info Note
40+
`your-plugin-name` is a sample name. Don't forget to use your plugin's actual name instead.
41+
:::

0 commit comments

Comments
 (0)