Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author manuelmasia

    (@manuelmasia)

    Mmmm… it could be a problem with the JS script, I’ll investigate, promise. Sorry for the issue.

    Manuel ??

    Thread Starter roemerquelle

    (@roemerquelle)

    Thanks!

    I tried to find the problem by myself and possibly found it.

    Lines 529 and 532:

    theBody = theBody.replace(/<!--pixgridder:row\[cols=(.?)\] data(.+?)-->/g, '<div class="pix_builder_row" data-cols="$1" data$2>');
    theBody = theBody.replace(/<!--pixgridder:column\[col=(.?)\] data(.+?)-->/g, '<div class="pix_builder_column" data-col="$1" data$2>');

    I’am not a regex expert but could it be that there is a + missing?

    theBody = theBody.replace(/<!--pixgridder:row\[cols=(.+?)\] data(.+?)-->/g, '<div class="pix_builder_row" data-cols="$1" data$2>');
    theBody = theBody.replace(/<!--pixgridder:column\[col=(.+?)\] data(.+?)-->/g, '<div class="pix_builder_column" data-col="$1" data$2>');
    Thread Starter roemerquelle

    (@roemerquelle)

    EDIT:

    The above code causes some other issues for me ^^

    Now I tried something like this:
    cols=([0-9]+?)

    instead of this:
    cols=(.?)

    for all columns and it seemes to work.

    Plugin Author manuelmasia

    (@manuelmasia)

    Thank you for updating, I’ll check as soon as possible

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Setting class causes shortcode error’ is closed to new replies.