This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

add content before or after module areas

9 years ago · Last reply by Andrew Misplon 9 years ago

hi there.

i am loving the page builder plugin.

how hard would it be to add two text field attributes to each element that would allow placing code/content before (first text field) or after (second text field) the respective block of content?

this would greatly help streamline using element specific scripts that work with 3rd party plugins such as membership plugins and video embed plugins.

alternatively, i use a membership plugin (imember360) that restricts page content based on a tag system. the way the plugin works is if the page is protected, the page content is replaced with the excerpt content. is there a way to get the page builder layout content to act as regular page content so imember360 protects it too?

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

8
  1. Andrew Misplon Staff 9 years, 9 months ago

    Hi Andrew

    Thanks for reaching out.

    WP-Members and s2Member both work with Page Builder. This, of course, isn’t much help if you’re already heavily using iMember360. We haven’t had a chance to test with iMember yet. The issue is usually that membership plugins block content in the regular Visual/Text tab but Page Builder stores its content in another place.

    Is the below request to get iMember360 to work with Page Builder?

    how hard would it be to add two text field attributes to each element that would allow placing code/content before (first text field) or after (second text field) the respective block of content?

  2. Andrew Schulz 9 years, 9 months ago

    hi andrew-

    thanks for your reply.

    is there a way you could test it with imember360? there is a free license available for under 10 users.

    the creator of imember360 mentioned the following to consider when integrating siteorigin page builder with it:
    “setting the “suppress_filters” to “false”, thereby bypassing all active WordPress and plugin protection mechanisms”.

    is that something that can be addressed?

    to clarify, the request i made for adding two text field attributes would enhance the ability to use imember360 with the siteorigin page builder, however, having that ability is something i find to be a need regularly even outside use with imember360.

  3. Andrew Misplon Staff 9 years, 9 months ago

    Thanks for the feedback. So on both of these, I’ve made a note on our side of the request. There is a long list of items we’re working on so, unfortunately, we aren’t likely to see work done on this very soon.

    You could add content fields around Page Builder content using the following filter:

    https://github.com/siteorigin/siteorigin-panels/blob/develop/siteorigin-panels.php#L1129

    I wish that was something we could dive into now, unfortunately, it’s a development task we aren’t able to assist with here on the forums.

  4. Andrew Misplon Staff 9 years, 9 months ago
  5. Andrew Schulz 9 years, 9 months ago

    hi andrew-

    i understand completely. i’m definitely interested in seeing the developments with imember360 compatibility in the future.

    with those filters you referenced, am i understanding correctly that this would be useful in developing a plugin or a theme that would utilize those built in filters?

  6. Andrew Misplon Staff 9 years, 9 months ago

    That’s it, a plugin, theme or child theme could hook into those filters and add content.

  7. Andrew Schulz 9 years, 9 months ago

    could you point me to any resources/tutorials that instruct how to do that?

  8. Andrew Misplon Staff 9 years, 9 months ago

    This would a basic overview of filter hooks:

    https://themeshaper.com/2009/05/03/filters-wordpress-child-themes/

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread