Home>Support>Plugin creation

Plugin creation

Hi,

I will use Page Builder with my own plugins.
The problem that I have is that on a 2 or 3 column structure, the first plugin I’ve created doesn’t dislay well.
I join the image of what it happening.
I probably miss something obvious.

Thank you for your hel`p
Cheers.
Nicolas.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Nicolas

    Apologies for the delay. Could you perhaps upload the screenshot to Dropbox or Drive and send us the link?

    Thanks

  2. 8 years, 2 months ago nicolasbcn

    Hi,

    No problem.
    Here you have: https://drive.google.com/file/d/0B3Q1OmJLqb41ZFhMbXFlc3JmZ0E/view?usp=sharing

    As you can see, the div with class “so-widget-so-image etc” doesn’t appear on my widget.
    The thing is that the following widget after mine goes below.
    This is not happening when there is only one widget on the row.

    It’s surely a silly mistake of mine in my widget (forgot a div or something?) but can’t find it.

    Thank you for your help.
    Nicolas.

  3. 8 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Nicolas

    Apologies for the big delay. Greg was able to take a look at your question but unfortunately, wasn’t able to immediately suggest a fix. Any chance you could upload your plugin to Drive so we can download a copy and inspect the code?

  4. 8 years, 2 months ago nicolasbcn

    Hi Andrew.
    Thank you for answering. I finally found the issue, it seems that it was an $after_widget problem.
    It is solved.

    I have anther question though, but I don’t know if I have to open a new thread.
    I want to add widgets where we can select images from the media library but when I click on the image button, it makes me go on another page and I don’t stay in the widget editor.

    Do you have examples of how to add image on a widget?

    Thank you again for your help, i really love your plugin!
    Regards,
    Nicolas.

  5. 8 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Awesome :) Really glad to hear you’ve made progress.

    You might find this a useful code example: https://github.com/siteorigin/so-widgets-bundle/blob/develop/widgets/image/image.php

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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More