A WP Edit Pro Snidget is a cross between a snippet and a widget. They are versatile, powerful and extremely easy to use and administer. Without a doubt, the WP Edit Pro Snidget feature will become any publishers best friend.
The first step is to enable the WP Edit Pro Snidgets. Click the “Snidgets” tab from the WP Edit Pro admin panel, and check the box to enable snidgets.
Once snidgets are created; they will be listed on the WP Edit Pro Snidgets tab; providing quick visual access to edit or delete snidgets.
The next step is to create a snidget. A snidget is just like any other post. WordPress calls these “Custom Post Types”. They are visual duplicates of the standard post creator; and allows developers to add… well… custom post types.
Add New Snidget
Let’s hover over the WP Edit Pro admin menu item; and select the “Add New Snidget” option.
The snidget editor very closely resembles the default WordPress post content editor. With the exception of a few metabox changes; the editor is a visual duplicate.
We can enter any type of content into a snidget: text, images, videos, and any other content added by plugins or themes available in the content editor.
In the screenshot below, I have created a simple table. However, the complexity of a Snidget is only limited by ones imagination.
Now that we have created a snidget (go back to the WP Edit Pro Snidgets admin page; and see your new snidget table), it can be inserted into a WordPress post or page; or a widget area.
Adding Snidgets to Posts/Pages
Open any post or page in the admin panel. Immediately above the content editor, next to the “Add media” button, is a new button titled “Add Snidget”.
From here, we have a few options:
|Select Snidget||This select box lists all available snidgets, by title. Selecting a snidget will display a preview of the snidget content.|
|Snidget Title||Check if the title of the snidget should also be inserted.|
|Insert||Choose to insert snidget as a shortcode, or as content.|
Insert as Shortcode or Content
It is important to decide how to insert the snidget. The options allow for inserting as a shortcode, or inserting as content. Each method has pros and cons.
Insert as Shortcode
The advantage of inserting snidgets as shortcodes is if it’s required to modify/update a snidget; you can do it once from the snidget admin area. Then, the change will filter down to all posts/pages that have used the snidget.
The disadvantage comes when/if you deactivate WP Edit Pro. Any snidgets inserted as shortcodes will appear as ‘broken’ shortcodes; and the content of the snidget will not be rendered properly.
Insert as Content
The advantage here is when/if you deactivate WP Edit Pro; all snidgets will still appear properly. Since they were inserted as HTML, they will still display correctly even if the plugin is deactivated.
The disadvantage comes when a change/modification is needed to a snidget. If they were inserted as content; then it will be necessary to revisit every single post/pag where the snidget was inserted, and update the html.
Once options are selected, click the “Insert WP Edit Snidget” button. You will see your options added to the content editor, at the current cursor location.
Adding Snidgets to Widget Areas
A snidget can also be added to any widget area.
When we enabled snidgets back at the very beginning of this article, we also enabled a new widget titled “WP Edit Snidget”.
From the admin panel, click Appearance -> Widgets. The new snidget widget (haha), can be found along with the other available widgets.
Drag the snidget widget to an available theme widget area, and drop it where desired. It will open automatically to display it’s options:
Snidget Widget Options
A few options can be customized:
|Admin Snidget Title||Set the title of the snidget, as it displays in the admin widget title area.|
|Front-end Snidget Title||Set the title of the snidget as it appears on the website.|
|Snidget Content||Select the snidget which should be displayed (by snidget title).|
|Content Filters||This will filter out any html added automatically by other plugins; such as social media icons.|
Insert Snidget Widget
Save the Snidget; and it will be visible on the website in the applicable widget area.
Other Snidget Applications
Have you found another application for Snidgets? I would love to hear from you. Use the comment form below to share your experience.