We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You may omit HTML code in templates by using tag()
tag()
<?php /** * Template part for the breadcrumbs. * * @package Gridd * @since 1.0 */ use Gridd\Theme; use Hybrid\Breadcrumbs\Trail; use function Toolkit4WP\tag; // Early exit if we're on the frontpage. if ( is_front_page() || is_home() ) { return; } $grid_part_class = 'gridd-tp gridd-tp-breadcrumbs'; if ( get_theme_mod( 'breadcrumbs_custom_options', false ) ) { $grid_part_class .= ' custom-options'; } print tag( 'div', Theme::get_attributes( ['class' => $grid_part_class], 'wrapper-breadcrumbs' ), tag( 'div', ['class' => 'inner'], // The breadcrumbs. Trail::display( apply_filters( 'gridd_breadcrumbs_args', [ 'show_on_front' => false, 'labels' => ['title' => false], ] ) ) ) );
https://github.com/szepeviktor/Toolkit4WP/blob/80719dfcc485aa118188e3e0054ffc86ee81498e/src/helpers.php#L17-L28
The text was updated successfully, but these errors were encountered:
No branches or pull requests
You may omit HTML code in templates by using
tag()
https://github.com/szepeviktor/Toolkit4WP/blob/80719dfcc485aa118188e3e0054ffc86ee81498e/src/helpers.php#L17-L28
The text was updated successfully, but these errors were encountered: