Pugs for Pinky

A foundation to help sick pugs and their Families.

Toggles Shortcode

Toggles Shortcode

How to add Toggles at your page/post?

To add toggles to your page/post press the “Insert Toggle” shortcode button, that can be found integrated in default editor panel in visual mode like in the image.

[two_third][/two_third]

[one_third last=last]

Toggle’s Settings

Toggle’s settings comes with simple text field, where you can fill in title and dropdown menu, where you can select the type of your toggle.

“Type of toggle” dropdown menu allows you to set the color of your toggle. It can be white or gray.

“Opened by default” checkbox allows your toggle to be opened or not by default.

Once you have finished with your settings, press “Insert” button.

[/one_third][clear]
Shortcode will be placed in content, inside your editor. Exactly where the syntax is placed depends on where your cursor is. So don’t forget to place cursor in correct place in your content, before adding shortcode.

Active Toggle

You can make toggle opened by default by adding following code inside toggle shortcode tag or by checking “Opened by default” in shortcode options:

active="active"

Example:

[toggle type="white" title="At vero eos et accusamus" active="active"]...[/toggle]

Toggles Style “White” Example:

[toggle type=”white” title=”At vero eos et accusamus” active=”active”]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle]
[toggle type=”white” title=”Sed ut perspiciatis” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle]
[toggle type=”white” title=”On the other hand” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle]

[toggle type="white" title="At vero eos et accusamus" active="active"]...[/toggle]
[toggle type="white" title="Sed ut perspiciatis" active=""]...[/toggle]
[toggle type="white" title="On the other hand" active=""]...[/toggle]


Mixed Toggles Example:

[one_half][toggle type=”gray” title=”At vero eos et accusamus” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle]
[toggle type=”white” title=”Sed ut perspiciatis” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle]
[toggle type=”gray” title=”On the other hand” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle]
[toggle type=”white” title=”Sed ut perspiciatis” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle][/one_half]
[one_half last=last] [toggle type=”gray” title=”At vero eos et accusamus” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle]
[toggle type=”white” title=”Sed ut perspiciatis” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle]
[toggle type=”gray” title=”On the other hand” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle]
[toggle type=”white” title=”Sed ut perspiciatis” active=””]But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth[/toggle][/one_half]
[clear]

[totop] to Top [/totop]

Back to top