This commit is contained in:
Roman Pyrih
2025-09-02 13:53:14 +02:00
parent 343f21b835
commit d5f7680727
2 changed files with 53 additions and 24 deletions

View File

@@ -9,6 +9,8 @@
* @package BRPP_prawo_podatki
*/
$header_btns = get_field('header_btns', 'option');
?>
<!doctype html>
<html <?php language_attributes(); ?>>
@@ -45,10 +47,14 @@
<ul class="main-navigation-secondary">
<li>
<a href="#">BRPP Finanse</a>
<a href="<?php echo esc_url($header_btns['btn_1']['url']); ?>" target="<?php echo esc_attr($header_btns['btn_1']['target'] ?: '_self'); ?>">
<?php echo esc_html($header_btns['btn_1']['title']); ?>
</a>
</li>
<li>
<a href="/kontakt">Kontakt</a>
<a href="<?php echo esc_url($header_btns['btn_2']['url']); ?>" target="<?php echo esc_attr($header_btns['btn_2']['target'] ?: '_self'); ?>">
<?php echo esc_html($header_btns['btn_2']['title']); ?>
</a>
</li>
</ul>
</div>