generated from just-the-docs/just-the-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: Settings | ||
layout: home | ||
parent: Documentation | ||
nav_order: 5 | ||
--- | ||
|
||
# Settings | ||
|
||
Settings tab features various options for you to customize the plugin depending on your usage. | ||
|
||
## Lazy load offset: | ||
|
||
Setting is used to set your specified offset for lazy loaded ad placements for when the ad should load in depending on how many pixels it is away from the bottom of the users screen. Default value is **-400**, which means that the lazy loaded placements will load in when they are 400 pixels away from the bottom of the screen. A positive value would indicate the opposite, where the placement would load in when it crosses the positive threshold from the bottom of the screen, although this is **not** a suggested practice. | ||
|
||
![alt_text](../images/settings-lazy-offset.png) | ||
|
||
|
||
## Block class name: | ||
|
||
Setting indicates what class will be used for <div> element to wrap the ad placement inside of it. Default is **stpd-wp-block**. | ||
|
||
![alt_text](../images/settings-block-class.png) | ||
|
||
|
||
## Ad placement label: | ||
|
||
Ad placement label has a checkmark that if enabled will display a label above all ad placements to indicate that it is an ad placement. Default label is **Advertisement**. You may customize the label in the **Ad placement label name** field. | ||
|
||
![alt_text](../images/settings-ad-label.png) | ||
|
||
|
||
## Exclude paragraphs inside: | ||
|
||
Is a setting for **Before paragraph** and **After paragraph** ad placement positions, you can enter comma separated values of html elements from which to exclude paragraph insertion like commonly blockquotes that may be used in a WordPress page. There is no default value for this setting and paragraph insertion will be done in all paragraphs inside of your page contents. | ||
|
||
![alt_text](../images/settings-exclude-p.png) |