Good morning
I'm trying to add a widget to a WordPress template using PHP. It works, but the problem is that the widget ends up on a new line in the header instead of next to the logo as I want it. The code looks like this:
<div class="branding_wrap">
<?php pagelines_main_logo(); ?>
<?php pagelines_register_hook( 'pagelines_before_branding_icons', 'branding' ); // Hook ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('header-1') ) : ?>
<?php endif; ?>
I've attached a screenshot of the current header to this post. Can anyone tell me what I'm doing wrong? I'm pretty new at PHP.
Thank you!