Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #887528

    Hi Team,

    I need to edit an shortcode but your workaround (https://kriesi.at/support/topic/portfolio-meta/#post-134009) works no more? :

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths){
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }

    When I use that, functions.php get an error. Hope you can help.
    Thank you and regards
    Mike

    #888016

    Hey Mike,

    For clarification, you are using the code in functions.php file of your child theme, is that correct? – https://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/

    If so, please post FTP and WP admin logins here privately so we can look into it.

    Best regards,
    Yigit

    #888019

    Hey Yigit,
    that is right :) But because the code not work I commented him out (line 82) .
    Send you private Data.

    #888180

    Hi,

    FTP logins did not work for me. Could you please check them once again? :)

    Best regards,
    Yigit

    #888252

    Hi,

    maybe you do something wrong, for me it works pretty good.
    Have copy the http:// from the url what your board set autmaticly?
    (Server: http://ftp.netzone.ch) This can’t work ;)

    Best regards
    Mike

    #888307

    Hi,

    I doubt i did anything wrong Mike. I tried entering initial path etc. as well but no go. Attached a screenshot in private content field.

    Best regards,
    Yigit

    #888320

    Hi,

    that is funny :) I copy the data from my private data above and all work fine
    (see screenshots in private content field) and I use Transmit too ;)
    Something must be wrong what you do! Maybe you copy an blank after user or password?

    Best regards
    Mike

    #888327

    Hi!

    I pay attention to those small mistake but thinking maybe i overlooked, i tried again, making sure i copy properly and do not include additional characters including space, still not working.

    I will ask my teammates to check. Please kindly wait to hear from them.

    Cheers!
    Yigit

    #888332

    Hi Yigit,

    this is bad! I test it again and it still work fine. From wich country you will connect?

    Best reagrds
    Mike

    #888337

    Hi!

    I will connect from Lithuania. You can see where the rest of the team is located here – https://kriesi.at/about

    Regards,
    Yigit

    #888354

    Hi Yigit,

    thank you, I don’t know this “about” page before :)
    I will ask netzone.ch for any restrictions and will be back after 13:30 because
    they have lunch break :))))

    Best regards
    Mike

    #888359

    Hi Mike,

    It didn’t work on my end either. Please see private.

    Best regards,
    Rikard

    #888390

    Hi Yigit and Rikard,

    I would have known it: This was an restictiv setting for other countrys than Switzerland and Germany.
    The Hosting Provider have unchecked this feature and you can work now!

    Best regards
    Mike

    #888460

    Hi,

    Thanks, i was able to connect and fixed the issue. There was a missing single quote in grid_row.php file. Please review your website :)

    Best regards,
    Yigit

    #888471

    Hi Yigit,

    boaaah! believe me I look tausend times for things like that – sorry!
    But what you wrote: “…but thinking maybe i overlooked…” I am too :)
    So we have learn that switzerland provider are a little more careful!

    Maybe insteresting for you:
    I do all this for that the gridrow habe the same background like an
    colorsection *and* the same max. content. I do that with a conainer div
    inside the gridrow line 363:
    $output .= '<div class="container">'.ShortcodeHelper::avia_remove_autop($content,true).'</div>';
    Some people ask here for an solution like that ;)

    Thank you and best regards
    Mike

    #888512

    Hi,

    Thanks for sharing Mike! Let us know if you have any other questions or issues :)

    Best regards,
    Yigit

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Edit Shortcode’ is closed to new replies.