Pergunta

I'm dumb to php, but i really need a solution in wordpress

so i've two echo string

echo do_shortcode('[google-translator]');
echo '<ul>'.$onepage_menu.'</ul>';

I want these to be echo-ed in one line. How?

@sorry about my english

Foi útil?

Solução

echo do_shortcode('[google-translator]').'<ul>'.$onepage_menu.'</ul>';

Outras dicas

Use PHP concatenation operator, ..

echo do_shortcode('...') . '<ul>' . $onepage_menu . '</ul>'
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top