-
AuthorPosts
-
December 11, 2017 at 6:28 pm #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
MikeDecember 12, 2017 at 6:04 pm #888016Hey 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,
YigitDecember 12, 2017 at 6:13 pm #888019Hey Yigit,
that is right :) But because the code not work I commented him out (line 82) .
Send you private Data.December 13, 2017 at 1:59 am #888180Hi,
FTP logins did not work for me. Could you please check them once again? :)
Best regards,
YigitDecember 13, 2017 at 10:00 am #888252Hi,
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
MikeDecember 13, 2017 at 1:16 pm #888307Hi,
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,
YigitDecember 13, 2017 at 1:25 pm #888320Hi,
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
MikeDecember 13, 2017 at 1:35 pm #888327Hi!
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!
YigitDecember 13, 2017 at 1:42 pm #888332Hi Yigit,
this is bad! I test it again and it still work fine. From wich country you will connect?
Best reagrds
MikeDecember 13, 2017 at 1:49 pm #888337Hi!
I will connect from Lithuania. You can see where the rest of the team is located here – https://kriesi.at/about
Regards,
YigitDecember 13, 2017 at 2:00 pm #888354Hi 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
MikeDecember 13, 2017 at 2:05 pm #888359December 13, 2017 at 3:51 pm #888390Hi 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
MikeDecember 13, 2017 at 5:12 pm #888460Hi,
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,
YigitDecember 13, 2017 at 5:28 pm #888471Hi 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
MikeDecember 13, 2017 at 7:27 pm #888512 -
AuthorPosts
- The topic ‘Edit Shortcode’ is closed to new replies.