Beginner’s Guide #01

Getting Started with Pinegrow WP

  • Features
  • Documentation
  • Forum
  • Blog
  • Download
Back

Add your own components to reusable library

Categories: Components

NOTE: This feature was renamed from components to HTML Snippets to avoid confusion with new Smart components. Now you can add any HTML element into a custom snippet library and reuse it on the same page, on other pages and even in other projects. This is a great way to save hours and hours of your […]

NOTE: This feature was renamed from components to HTML Snippets to avoid confusion with new Smart components.

Now you can add any HTML element into a custom snippet library and reuse it on the same page, on other pages and even in other projects. This is a great way to save hours and hours of your time!

To create a snippet just select the element on the page, click Actions and then Add as HTML snippet. This will create a new library in LIB panel and add the first snippet.

Another way to add a snippet to an existing library is to click on library’ name in LIB panel and choose Add as HTML snippet. Selected element will be added to the library.

Drag components to the page just as you would drag any other element from the LIB panel.

Right-click on the snippet in the LIB panel to rename it, delete it or update it with the content of the currently selected element.

If you want to keep the library you have to save it. Click on the library name to do that.

Use Manage frameworks (in File and Page menu, as well as cog icon next to the search bar in LIB panel) to select which libraries are active for the selected page. Pinegrow remembers the settings.

Once you created a library you can use it on any page you want. Just go to Manage frameworks for that page and activate the library.

Libraries are saved as Javascript files that are loaded as Pinegrow plugins. That means that you can edit libraries as you would any other Javascrip file (but be careful, at the moment only components, their names and codes can be edited – other stuff will get overwritten when you save a library from Pinegrow).



Last updated on February 14, 2017 at 10:00 pm


Print this article

Find this document useful ? Share it !
  • Helpdesk

    • What Pinegrow is and isn’t
    • Support Forum
    • #Slack Community
    • Release notes
    • Download older versions
    • Contact Us
Back to Top
  • Recent Articles

    • How to Try Pinegrow for free for 7 days ?
    • Use the right jQuery version in your WordPress themes projects with Bootstrap V3.3.x
    • Countdown to Pinegrow 3.0 – A New Feature Presented Every Week
    • Experience Feedback: The relaunch of Mr. Bürli
    • How to use ACF Pro Flexible Content with Pinegrow WP
  • Editing

    • Layout
    • Elements
    • Text
    • Code
    • Javascript
    • PHP, ASP, ERB
    • Editing with Atom Editor
    • Tips & Tricks
    • More …
  • Pro Features

    • Features Overview
    • Projects
    • Master Pages
    • Components
    • Editable areas
    • Libraries
    • Partials
    • CMS
  • Blocks

    • Components
    • Editable areas
    • Build your own Blocks
    • Bootstrap Blocks
    • Bootstrap Blocks for WP
  • Helpdesk

    • What Pinegrow is and isn’t
    • Support Forum
    • #Slack Community
    • Release notes
    • Download older versions
    • Contact Us
Pinegrow Web Editor © Humane technologies LLC, Poklukarjeva 22, 1000 Ljubljana, Slovenia