Horje
Shortcode to hide Spoilers in your Posts. Wordpress Tutorial

Noted That:

  • To install correctly this wp-spoiler-alert.zip .
  • Fisrt Download the wp-spoiler-alert.zip to your computer
  • Extract/Open wp-spoiler-alert.zip to Your Computer.
  • Then, Find readme.txt file inside wp-spoiler-alert.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " wp-spoiler-alert.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " wp-spoiler-alert.zip "  Downloaded plugin from your computer, Where you downloaded wp-spoiler-alert.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " wp-spoiler-alert " folder is added on left sidemenu. Now, Click on " wp-spoiler-alert " folder.

   Noted that: If you do not see " wp-spoiler-alert " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  wp-spoiler-alert Configurtions and Settings or How to work " wp-spoiler-alert " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " wp-spoiler-alert " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is wp-spoiler-alert
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Click Plugins > Add New in the WordPress admin panel.
  2. Search for “wp-spoiler-alert” and install.

Customization

The Partial and Max blur options control the amount of the blur effect
applied. A value of 0 applies no blur, 20 applies a very large blur
effect, etc.

The Custom option allows you to override the manner in which to hide the
spoilers. This is useful to tune the effect to your site’s theme.

The plugin checks for a custom.css in your current
theme’s directory at {current_theme}/wp-spoiler-alert/custom.css .

If this CSS file is present it will be added to the page automatically.

For eg:- the CSS below makes all spoilers into red blocks.


.spoiler-hidden { color: red; background: red;
}
.spoiler-hidden:hover { color: white; background: white; outline: 1px solid red;
}
.spoiler-hidden img { opacity: 0;
}
.spoiler-visible { color: inherit; background: inherit; outline: none;
}

shortcode , hide , spoilers , posts , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference