如何在主题标题中的简码和“联系我们”页面之间添加空格。我能够成功添加简码。现在,我无法添加简码之间的空白并与我们联系。
下面,我将代码附加到了此头文件。之后
do_action( 'ciyashop_header_nav_content' );
我添加了echo do_shortcode('[searchandfilter id="2819"]');
,这就是我的简码。
<?php do_action( 'ciyashop_before_header_nav' );?>
<div class="<?php ciyashop_header_nav_classes('header-nav');?>">
<div class="header-nav-wrapper">
<?php
/**
* Functions hooked into ciyashop_before_header_nav_content action
*
* @hooked ciyashop_before_header_nav_content_wrapper_start - 10
*/
do_action( 'ciyashop_before_header_nav_content' );
/**
* Functions hooked into ciyashop_header_nav_content action
*
* @hooked ciyashop_category_menu - 10
* @hooked ciyashop_catmenu_primenu_separator - 15
* @hooked ciyashop_primary_menu - 20
*/
do_action( 'ciyashop_header_nav_content' );
/* echo do_shortcode('[searchandfilter id="2819"]'); */ My Shortcode
/**
* Functions hooked into ciyashop_after_header_nav_content action
*
* @hooked ciyashop_after_header_nav_content_wrapper_end - 10
*/
do_action( 'ciyashop_after_header_nav_content' );
?>
</div>