Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • 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 ] with do_shortcode('[ and ]') so as to enable the do_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.

    in reply to: How to use shortcode as input for other shortcode #684385

    I 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

    shortcode output

    in reply to: How to use shortcode as input for other shortcode #683093

    See the information attached. The post shows the URL shortcode working.

    in reply to: How to order layout element columns on mobile device #681116

    Thanks 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.

    I have already followed that documentation as per my first post, to no avail.

    Furthermore, if I add print_r($meta); to the end of the foreach($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?

Viewing 6 posts - 1 through 6 (of 6 total)