-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwritter.html
More file actions
203 lines (134 loc) · 5.36 KB
/
writter.html
File metadata and controls
203 lines (134 loc) · 5.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
---
layout: doc-layout
title: Writter – Ghost Portfolio Theme
theme_name: writter - v3.0.1
buy: https://www.electronthemes.com/products/writter
demo: https://writter.electronthemes-ghost.com/
thumbnail: writter/preview.png
---
# {{page.title}} {#title}
{% include ghost-support.html %}
## Installation
Login to your ghost blog `https://yourdomain.com/ghost` then navigate to `Designs > Uploads` Themes.
Drug your downloaded theme zip file.

### Menu/Navigation Setup
Handle theme menu items from `Settings > Design` in the navigation section

### Setup blog title, header and description
**Go to:**
- General > Publication icon for Favicon
- General > Publication logo for Logo
- General > Publication cover for Cover Image
General > Title & description

### New Page
To create new page, go to `Dashboard > Stories > New Story` Give the title for new stories and mark "Turn this post
into a page" from the settings icon

### Tag
To create tag, go to `Dashboard > tags`

### Authors
To create Author, go to `Dashboard > Team`

### Home Page Cover

**Setup**
navigate to `Settings > General > Publication Cover`

<br />
<br />
<br />
### Search API and Activation
Search will not work when you install the ghost theme. You need to add API for the search option activation. Follow the
instraction to make the API key.
1. Go to to `Settings > Integrations > Custom integrations > + Add custom integration`
2. Enter a name of "New Custom Integration" and create
3. Copy `Content API Key` fro API Keys
4. Go to `Settings > Code injections > Blog Header`
5. Add `script` like this to add api key. Don't change the variable name.
```
<script>
var contentApiKey = "your api key";
</script>
```
Replace `your api key` with your api key that you created.
API Code creation:

<br>
API code injection:

<br>
Search result:

### Featured Slider

When you set up your post as featured, it will add automatically to featured slider. I suggest you to select such a
post as featured post which has post `featured image`.

<br />
<br />
<br />
<br />
<br />
## Routes
Upload `routes.yaml` to get the routes for membership. It is very important. Without it, membership page will now work. `routes.yaml` is included with the theme file.

## Subscriptions and Memberships
In ghost version 3.x, new features has been released. It is an awesome feature. Subscriber can read paid post like medium after their paid subscription. Delas theme are providing subscription feature.
### Enable membership
To enablabe membership, go to `Labs > Members (Beta)`.
- Add Stripe API Key ()
- Add Stripe Secret key
- Add subscription pricing for Monthly and Yearly

### Sign in
Signin page where your user can signin who has aleady account (Free or paid account). When your memmber provide email address they will get a sign in link to his email and using that he/she can login to the site.
You can visit here to see the signin page: [Signin](http://writter.electronthemes-ghost.com/signin/)
* To edit signin page, go to `signin.hbs` in the theme file
### Signup
Signup page where use can sugnup for the subscriptions (Free or Paid). To edit signup page, go to `signup.hbs`
### Subscription
Ghost v3 has new feature that is paid subscription. We have added this feature. You can edit **subscription/membership** prcing table. Go to `subscribe.hbs` and you will get 3 pricing tables.
* First pricing table is for Free
* Second is for **Monthly**
* Third is for **Yearly**

After Paid up for the subscribtion, you will get the `account` page like this:

### Custom images
To edit custom images of [Signup](http://writter.electronthemes-ghost.com/signup/) and [Signin](http://writter.electronthemes-ghost.com/signin/) page, go to `custom-images.hbs` in the **partials** folder
## Custom Page list
### Tag List Page

**Setup:**
Create a page with any name and select `Tags` custom page template from page settings

<br />
<br />
<br />
<br />
<br />
### Author List
Create a page name `Authors` or anything and select the page template `Authors` from the settings.

<br />
<br />
<br />
### Portfolio List
Create a page name `Portfolio` or anything and select the page template `Portfolio` from the settings.

To show the post as portfolio in the portfolio page, use `portfolio` tag in the post

### Setup posts to show per page
```js
"config": {
"posts_per_page": 6
}
```
Change `posts_per_page`’s value as your wish.
After changing this you need to `restart` your ghost
```bash
ghost restart
```