invulu / organic-profile-block Goto Github PK
View Code? Open in Web Editor NEWA custom Gutenberg block for WordPress that displays a custom profile.
License: GNU General Public License v3.0
A custom Gutenberg block for WordPress that displays a custom profile.
License: GNU General Public License v3.0
=== Organic Profile Block === Contributors: itsdavidmorgan, organicthemes Donate link: https://organicthemes.com Tags: gutenberg, block, blocks, custom block, profile, bio, biography, testimonial, social media, staff, author, employee, fontawesome, icons Stable tag: 1.5.2 Requires at least: 4.9 Tested up to: 5.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html The Organic Profile Block is a custom block for the Gutenberg content editor. It displays a profile card with an image, name, title, biography, and social media links. == Description == The Organic Profile Block is designed to work with the WordPress 5 block editor and [Gutenberg plugin](https://wordpress.org/plugins/gutenberg/ "Gutenberg Plugin"). This custom block is designed to display personal profiles. It includes options to add a profile image, name, title, biography, and social media links. The social media options include icon links to personal profiles for Facebook, Twitter, Instagram, LinkedIn, and email. The profile block is an excellent solution for creating author profiles on posts, staff or employee pages, and testimonials. Additionally, this plugin is a great reference for budding WordPress block developers. Since WordPress blocks are developed in Javascript, creating a block can be intimidating for WordPress developers more familiar with PHP, HTML, and CSS. That's why we developed the Profile Block using the Javascript ES5 language, which does not require the use of a compiler to edit the code. For more information, please refer to our [How To Create A Custom Block](https://organicthemes.com/create-custom-block-wordpress-gutenberg/ "Create Custom Block") article. A premium version of the block is included in the [Organic Blocks Bundle](https://organicthemes.com/blocks/ "Organic Blocks Bundle") plugin. The bundle includes 12 premium blocks for the Gutenberg editor. The premium Profile Block can display unlimited social media links, and features several more options for modifying the profile image size, colors, and style. = Premium Blocks = The following blocks are only available by upgrading to the [Premium Version](https://organicthemes.com/blocks/ "Organic Blocks Bundle"): * **Content Slideshow Block** [View Example](https://organicthemes.com/block/content-slideshow-block/ "Content Slideshow Block Example") – Display any posts type within a customizable slideshow. * **Posts Block** [View Example](https://organicthemes.com/block/posts-block/ "Posts Block Example") – Display a collection of posts from any post type in a customizable layout — perfect for blogs and featured news sections. * **Portfolio Block** [View Example](https://organicthemes.com/block/portfolio-block/ "Portfolio Block Example") – Showcase any post type in a masonry style portfolio layout. * **Premium Profile Block** [View Example](https://organicthemes.com/block/profile-block/ "Profile Block Example") – Showcase personal profiles with social media links — perfect for displaying team members and author profiles. * **Testimonials Block** [View Example](https://organicthemes.com/block/testimonials-block/ "Testimonials Block Example") – Display customer and client testimonials in a customizable slideshow. * **Pages Block** [View Example](https://organicthemes.com/block/pages-block/ "Pages Block Example") – Display a customizable section of featured pages. * **Header Block** [View Example](https://organicthemes.com/block/header-block/ "Header Block Example") – Create headers for your website displaying your logo, site title, and custom menus in a customizable layout. * **Footer Block** [View Example](https://organicthemes.com/block/footer-block/ "Footer Block Example") – Create a custom footer for your website displaying copyright information, legal links, social media icons, and more. * **Widget Area Block** [View Example](https://organicthemes.com/block/widget-area-block/ "Widget Area Block Example") – A unique block for registering widget areas on any page or post of your website. * **Toggle Block** [View Example](https://organicthemes.com/block/toggle-block/ "Toggle Block Example") – A custom block for toggling the display of content — perfect for documentation and FAQ pages. * **Modal Block** [View Example](https://organicthemes.com/block/modal-block/ "Modal Block Example") – Create content within a customizable popup box that can be viewed by clicking on a link. * **Alert Block** [View Example](https://organicthemes.com/block/alert-block/ "Alert Block Example") – Notify your website visitors of important information using the Alert Block. **Contribute:** This plugin is open source software, and you may actively contribute on [Github](https://github.com/Invulu/organic-profile-block "Organic Profile Block Repository"). == Installation & Setup == Note: This plugin requires the WordPress 5 block editor or the Gutenberg plugin active. 1. Upload 'organic-profile-block' to the '/wp-content/plugins/' directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Within a post or page, select the '+' symbol to add a new block. 4. From the 'Blocks' tab, select the 'Profile' block. 5. Add your profile image and content to the block. 6. Within the 'Block' section on the right, add your social media links. == Frequently Asked Questions == = Q: Does this plugin require the Gutenberg plugin? = A: Yes, the Gutenberg plugin must be installed and active in order to use this block. = Q: How do I add my social media links to the block? = A: Select the block, and within the 'Block' section on the right you can add links to your social media profiles. = Q: Can I use the Organic Profile Block with themes other than Organic Themes? = A: Yes, the block will work and transfer between themes. == Screenshots == 1. The Organic Profile Block within the Gutenberg editor. 2. The Organic Profile Block on the front-end of the Origin Theme from Organic Themes. == Changelog == = 1.5.2 = * Updated edit button class * Updated README text * Mobile style fix = 1.5.1 = * Fixing dismissible notice = 1.5 = * Adding blocks bundle admin notices = 1.4.1 = * Fixed social media links from breaking on reload = 1.4 = * Fixed attribute issues that resulted in block breaking on editor reload = 1.3.2 = * WordPress 5.3 compatibility updates = 1.3.1 = * Mobile style updates * Wide alignment support = 1.3 = * Updated for Gutenberg 4.2.0 compatibility * Added formatting support for name and title headings * Commenting and cleanup = 1.2 = * Updated for Gutenberg 3.1.0 compatibility = 1.1 = * Changed Editable fields to RichText fields * Updated method for registering block and enqueuing files * Significant updates to block.js to account for Gutenberg updates = 1.0.1 = * Updates to media upload button to account for Gutenberg changes = 1.0.0 = * Initial plugin release
When I activate the plugin the block doesn't show up on 'blocks tab'. I'm using the latest version of WP & the gutenberg plugin. Both plugin where activated when trying
"This block contains unexpected or invalid content. "
After page update.
This plugin is loading editor JS assets on the site's frontend:
https://github.com/Invulu/organic-profile-block/blob/master/block/profile/index.php#L30-L36
It should only load these assets on admin.
After I active your plugin, I got this error:
Uncaught TypeError: Cannot read property 'children' of undefined
at block.js?ver=1521765980:3
at block.js?ver=1521765980:346
The error line is var children = blocks.source.children;
Currently, I use cloud9 to active your plugin, not sure is it work on my local, thanks
I follow the intructions but i can't found :
can you share a capture ?
I noticed something during the testing of an unrelated theme. This theme requires Font Awesome 5 which it fetches via a CDN. I noticed that there are changes from 4 to 5 that break a lot of the FA4 stuff. How would you feel about moving this excellent plugin to FA5?
With this activated the native column block in Gutenberg doesn't work (just breaks into a single column). Looks like it makes the wp-block-columns class display block instead of flex.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.