In English?

Plugins

PressOK – Collapsible Region

This plugin allows you to hide certain regions within a post or page. By clicking on the first element within the defined region, e.g. a subheading or ‘read more’, the hidden region will gently expand using jQuery. Clicking the trigger once more will hide the region again.

This plugin might be useful when you have a large amount of information that’s not equally important, but might be useful depending on the interests of the user. Or if there are differences in the knowledge levels of your audience: hide detailed explanations, so the advanced users can quickly scan the text and give the less experienced users the opportunity to read some more in depth information if needed.

Usage

Every item can be placed within the collapsible region. The specific plugin-tags define the area of the collapsing region

The start tag: [ PressOK-col-reg ] or [ PressOK-col-reg open ] (remove the spaces before and after the square brackets) if you want to initially open the region.

The end tag: [ /PressOK-col-reg ] (remove the spaces before and after the square brackets)

Place these tags on a single paragraph in your post or page (or even better) insert these tags on a new line in your HTML view. The first element within the collapsible region

Options and functionality

By default the collapsible region is collapsed (closed), the user can choose whether the region opens on page load by adding the word “open” to the start tag. The start tag will then become: [ PressOK-col-reg open ] (remove the spaces before and after the square brackets)

For styling purposes the class “open” and “closed” are added to the region. With this addition authors are able to style the component the way they want.

You can download the plugin here.

In het Nederlands….

Plugins

Voor vrijwel elke functionaliteit die je aan je website wilt toevoegen, is er inmiddels al wel een plugin gemaakt. Toch komt het weleens voor dat je een specifieke wens hebt, die zo uniek is, dat er nog niets voor te vinden is. Of dat er wel een plugin is, maar dat deze heel slecht werkt.

In dat geval zit er niets anders op dan zelf een plugin te (laten) bouwen. Als wij de opdracht krijgen om een plugin te bouwen, dan zullen we deze hier kosteloos aan de WordPress community aanbieden. Voor wat, hoort wat.

PressOK – Collapsible Region

Onze eerste plugin is inmiddels beschikbaar. Deze plugin maakt het mogelijk om de pagina een stuk overzichtelijker en rustiger aan te bieden door diverse secties, bijvoorbeeld lappen tekst, afbeeldingen en andere secties niet meteen te tonen. Door op een pijltje te klikken, is het mogelijk om de verborgen content weer te geven. Kijk bij privé cursus om onze plugin in werking te zien!

Download onze plugin hier.