ArtGoddess
Forum Replies Created
-
Ok, location is at the very bottom of: template-parts/header/site-nav.php of my twenty-twenty child theme file. Thank you.
Forum: Plugins
In reply to: [Schema & Structured Data for WP & AMP] BreadcrumbsYes, you are right. It is a problem with the “Twenty Twenty-One” theme. I mark this thread as solved. Many thanks for your help.
I have tried with other breadcrumbs plugins. The result is the same. This issue is related to the Twenty Twenty-One theme or the Twentig plugin. Any assistance would be really appreciated. Thank you.
I have tried with other breadcrumbs plugins. The result is the same. This issue is related to the Twenty Twenty-One theme or the Twentig plugin. Any assistance would be really appreciated. Thank you.
Forum: Plugins
In reply to: [Schema & Structured Data for WP & AMP] BreadcrumbsThank you @magazine3, I hope these screenshots clarify the situation.
https://quickforget.com/s/db255b7d2b59eb787df5a9609452a6f3cf7a86421e4c27b0
Thank you again for your assistance.
Forum: Plugins
In reply to: [Schema & Structured Data for WP & AMP] BreadcrumbsHello,
Thank you very much for your answer. It seems that I am incapable of placing the breadcrumbs, in the same position, on all pages. Also, it appears a huge space surrounding the breadcrumb.
I have asked in both “Twenty Twenty-One” and “Twentig” theme forums.
While there is an answer, I kindly ask if you can check from your side.
In my child theme, at the very end of header.php, I have added the code:
<div id="content" class="site-content"> <div id="primary" class="content-area"> <main id="main" class="site-main"> <?php if ( !is_front_page() && function_exists('saswp_render_breadcrumbs_html') ) { echo do_shortcode( '[saswp-breadcrumbs]' ); } ?>
You may check the result here:
Any suggestion on how to solve this? Many thanks for any clue you may give to me. ????
I have also tried with this code in my functions.php child theme, but mixes the menu and the breadcrumbs:
function add_breadcrumb_before_title($title, $id = null) { if ( !is_front_page() && function_exists('saswp_render_breadcrumbs_html') ) { // Adjust conditions as needed $breadcrumb = do_shortcode( '[saswp-breadcrumbs]' ); return $title . ' ' . $breadcrumb; } return $title; } add_filter('the_title', 'add_breadcrumb_before_title', 10, 2);
Thank you @foosantos, this solution has a strange effect, it mixes the menu and the breadcrumbs.
In fact, I am using a child theme, and I have copied only this php snippet of code into my header.php child theme file:
<div id="content" class="site-content"> <div id="primary" class="content-area"> <main id="main" class="site-main"> <?php if ( !is_front_page() && function_exists('saswp_render_breadcrumbs_html') ) { echo do_shortcode( '[saswp-breadcrumbs]' ); } ?>
But the behaviour is really strange, as I have stated in other thread.
Thank you for any assistance you may provide.
Sorry, just to add more context, I have placed this PHP snippet at the very end of the twentytwentyone/header.php file:
<div id="content" class="site-content"> <div id="primary" class="content-area"> <main id="main" class="site-main"> <?php if ( !is_front_page() && function_exists('saswp_render_breadcrumbs_html') ) { echo do_shortcode( '[saswp-breadcrumbs]' ); } ?>
The ouptut is:
<ul class="saswp-breadcrumbs-ul"></ul>
Thank you again. ????
- This reply was modified 1 year, 1 month ago by ArtGoddess.
Forum: Plugins
In reply to: [Gutenberg] How to add not suported social iconsThank you @properlypurple for letting us know the current situation.
Forum: Plugins
In reply to: [Font Awesome] Font Awesome icon in button, social link block and footerForum: Everything else WordPress
In reply to: Discord icon on social icons blockForum: Plugins
In reply to: [Fresh Forms for Gravity] ctype_digit() deprecated PHP warningSolved! Thank you very much. ????
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Custom Post Type theme in Twenty Twenty-OneThank you very much for your answer. It helps! ??