-
AuthorPosts
-
January 11, 2016 at 2:29 am #562840
Hi Josue,
I know this topic has been covered before – https://kriesi.at/support/topic/magazine-element-in-avia-layout-builder-links-to-external-site/
You mentioned you helped a user do this, could I also please get some help with this?
I would like the Magazine element to be able to link to external links but only when needed and not as a default if possible.
Thanks in advance!
-
This topic was modified 9 years, 9 months ago by
janicenisha.
January 11, 2016 at 2:34 am #562843Hey janicenisha!
Sorry but it would take a lot of time and code to implement so it would have to be considered custom work. You can contact Josue at his email in that thread or consider creating a feature request here, https://kriesi.at/support/enfold-feature-requests/, and if it gets enough interest we may see some options get added in a future update.
Cheers!
ElliottJanuary 11, 2016 at 2:43 am #562848Hi Elliot,
Thanks for the quick reply, I actually did email Josue, am not not sure he saw it. Could you tag him for me please?
Thank you again.
January 11, 2016 at 5:51 pm #563387Hi!
Josue was already notified about the thread. Please kindly wait to hear from him.
Regards,
YigitJanuary 11, 2016 at 6:12 pm #563400Hi Yigit,
Sure thing. Thank you for replying.
January 13, 2016 at 11:34 am #564541Hey!
You’d need to install a third-party custom meta box plugin, like:
http://www.advancedcustomfields.com/
https://github.com/rilwis/meta-boxThen you’d create a meta field for the custom link (for Posts), which would then be referenced in /config-templatebuilder/avia-shortcodes/magazine.php, line 527:
$link = get_permalink($entry->ID);You’d replace that with something like this (assuming you opted for ACF):
$link = get_field('custom_link', $entry->ID) != '' ? get_field('custom_link', $entry->ID) : get_permalink($entry->ID);Regards,
JosueJanuary 19, 2016 at 6:10 am #567624Hi Josue,
Thank for replying. Unfortunately am not that experienced a developer to even pretend to understand your suggestion 😓and currently am budget constrained to find one. But thank you so much for taking the trouble to reply.
Will most probably look for a workaround using the standard blog, thanks.
-
This topic was modified 9 years, 9 months ago by
-
AuthorPosts
- The topic ‘Magazine element in avia builder to link to external site’ is closed to new replies.
