Forum Replies Created
-
AuthorPosts
-
September 12, 2016 at 3:34 pm in reply to: How to use shortcode as input for other shortcode #685198
Rather than override the shortcode src input functionality are you able to offer any suggestions to replace the
[
and]
withdo_shortcode('[
and]')
so as to enable thedo_shortcode
functionality whenever$src
contains shortcode brackets.I inserted
$src = str_replace("[", "do_shortcode('[", $src); $src = str_replace("]", "]')", $src);
before
$output.= "<img class='avia_image avia_image_team' src='".$src."' alt='".esc_attr($name)."' $markup />";
However the result was the same as before.
September 10, 2016 at 2:59 am in reply to: How to use shortcode as input for other shortcode #684385I don’t think that answers my question. I want to be able to input content to a shortcode via another shortcode, example below.
[av_team_member name='John Doe' job='' src='[bp_profile_gravatar_url]' attachment='' attachment_size='' description='' font_color='' custom_title='' custom_content='' custom_class='']
Where the output results in this
September 7, 2016 at 12:48 pm in reply to: How to use shortcode as input for other shortcode #683093See the information attached. The post shows the URL shortcode working.
September 2, 2016 at 6:03 am in reply to: How to order layout element columns on mobile device #681116Thanks for your response Rikard.
Am I correct in saying that to use your code I could need to duplicate the content in the order to display for mobile and the order to display for desktop? I have come across this method before but I was hoping to find some CSS or shortcode parameters for the same result without having to duplicate the content.
August 21, 2016 at 2:16 am in reply to: Add Avia Layout Builder to custom post types which use admin.php page #675132I have already followed that documentation as per my first post, to no avail.
August 18, 2016 at 3:40 am in reply to: Add Avia Layout Builder to custom post types which use admin.php page #673976Furthermore, if I add
print_r($meta);
to the end of theforeach($metabox as &$meta)
loop I get the following output
( [title] => Avia Layout Builder [id] => avia_builder [page] => Array ( [0] => post [1] => portfolio [2] => page [3] => product [4] => espresso_events ) [context] => normal [priority] => high [expandable] => 1 ) Array ( [title] => Layout [id] => layout [page] => Array ( [0] => portfolio [1] => page [2] => post [3] => espresso_events ) [context] => side [priority] => low ) Array ( [title] => Additional Portfolio Settings [id] => preview [page] => Array ( [0] => portfolio ) [context] => normal [priority] => high ) Array ( [title] => Breadcrumb Hierarchy [id] => hierarchy [page] => Array ( [0] => portfolio ) [context] => side [priority] => low ) Array ( [title] => Avia Layout Builder [id] => avia_builder [page] => Array ( [0] => post [1] => portfolio [2] => page [3] => product [4] => espresso_events ) [context] => normal [priority] => high [expandable] => 1 ) Array ( [title] => Layout [id] => layout [page] => Array ( [0] => portfolio [1] => page [2] => post [3] => espresso_events ) [context] => side [priority] => low ) Array ( [title] => Additional Portfolio Settings [id] => preview [page] => Array ( [0] => portfolio ) [context] => normal [priority] => high ) Array ( [title] => Breadcrumb Hierarchy [id] => hierarchy [page] => Array ( [0] => portfolio ) [context] => side [priority] => low )
Does this give any insight in to why the layout builder is not appearing?
-
AuthorPosts