Parallax Section – WordPress Plugin

This is a Parallax WordPress Plugin. Very simple, only 2D. It works well in Twentytwenty and will probably work ok in many other themes, but that’s not something I can guarantee.

https://github.com/knighthawk0811/vi-parallax-section

It works by using a group block and giving it either the class name of “parallax-background” or “parallax-foreground”. You can set an image to be the background of the parallax section by giving it the class name of “background”. If you set multiple background images in a single section, only the first one will take effect.

Example:

parallax wordpress plugin background image

Here is some text inside of the parallax background area. This is a group with the class name “parallax-background”. Inside is an image with class name “background”. Also there are some paragraphs. You are free to include inner groupings in order to display background colors like I have here.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ac turpis eget enim euismod sodales. Donec eget aliquet dolor, eget pretium diam. Vestibulum feugiat metus lacus, at molestie arcu venenatis eget. Mauris magna turpis, interdum in nulla et, efficitur faucibus ipsum. Maecenas convallis ex vel odio aliquam malesuada. Donec a urna in urna consequat luctus ac rhoncus sem. Vestibulum ut lacus sed mauris facilisis viverra et ut nisl. Donec et ipsum eu nulla tincidunt auctor. Sed est mauris, porta vel ultricies eget, rhoncus nec ex. Proin tempor urna a lacinia lacinia. Integer nisl risus, ornare sit amet mollis vitae, vulputate non elit.

Nunc id massa lacus. Aliquam ac tortor magna. Nullam in odio tincidunt, auctor massa sed, venenatis est. In id metus fermentum, suscipit mi nec, elementum neque. Proin nec varius diam. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec non convallis lectus. Praesent lacus mauris, vehicula quis tincidunt ut, consectetur a massa.

This is the parallax foreground area

Bootstrap column
Bootstrap column
Bootstrap column
parallax wordpress plugin background image

Another parallax background area

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ac turpis eget enim euismod sodales. Donec eget aliquet dolor, eget pretium diam. Vestibulum feugiat metus lacus, at molestie arcu venenatis eget. Mauris magna turpis, interdum in nulla et, efficitur faucibus ipsum. Maecenas convallis ex vel odio aliquam malesuada. Donec a urna in urna consequat luctus ac rhoncus sem. Vestibulum ut lacus sed mauris facilisis viverra et ut nisl. Donec et ipsum eu nulla tincidunt auctor. Sed est mauris, porta vel ultricies eget, rhoncus nec ex. Proin tempor urna a lacinia lacinia. Integer nisl risus, ornare sit amet mollis vitae, vulputate non elit.

Nunc id massa lacus. Aliquam ac tortor magna. Nullam in odio tincidunt, auctor massa sed, venenatis est. In id metus fermentum, suscipit mi nec, elementum neque. Proin nec varius diam. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec non convallis lectus. Praesent lacus mauris, vehicula quis tincidunt ut, consectetur a massa.

Looking for a plugin that lets you show different content to visitors by their user role?

Download

Find the Parallax plugin for WordPress at GitHub

Plugin: Member Content

What

This plugin builds the shortcodes needed that allows you to create any number of sections in a single page or post that will display different content to different users based on their role. Visitors (or logged out users) also have an option to show their own section of content. The ability to set different content by user role is something that is needed so often that I had to make my own plugin to do it.

This is the first plugin that I have made where I decided to actually publish on WordPress.org. I have been making my own custom plugins for some time now and I have finally decided to have them published for others to use. That means I have to go back over them to make sure they are free of tests and dummy code that I used for experimenting, in short, I need to rewrite a lot of them.

Why

I have chosen to build them all under the moniker “VI: Name”. The reason for this is simple, for years I have simply called my development theme “Version iteration” where the iteration was whatever number I was up to. Currently I am up to 8 and looking at 9 soon. I figured I would add the word Plugin for plugins and theme for themes just so things could be well organized.

Interested in a Parallax Section Plugin?

The first plugin up is a very simple one called: Member Content. It provides a list of shortcodes that can be used to partition off content by logged in status as well as user roles/abilities. It’s absolutely a unitasker on purpose. It’s possible I could find this function in some other plugins. However, they will all come with their own overhead in the form of whatever else they do besides simply partition off content. I didn’t want that. I want a super simple plugin that does one thing, lets me set different content by user role. Not one the does 11 things and only 2 of them are useful to me.

This brings me to the next purpose of my plugins as I get the published. they will all be unitaskers (for the foreseeable future). So they are small and fast. If you don’t need a certain function, don’t install that function, simple. Maybe some day I’ll invent bigger plans, but today is not that day.