Patrick Mortier
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sydney] Two H1 Tags on all non-homepagesClosing the thread.
Forum: Themes and Templates
In reply to: [Sydney] Two H1 Tags on all non-homepagesHi @kharisblank,
Thanks a lot for your reply and video. After executing your advices, the problem was solved. Which made me recheck the behaviour with the child theme activated. And… as soon as I reactivated the child-theme, the problem reappeared. But this made a 100% clear that the problem was not in the mother theme.
I thought that I had checked this, before I opened this thread. Appearently not or not thorougly or I must have been confused not having seen it was in the due to the child theme?!
So I have to make apologies and a big thank you for your efforts! And thank to your colleages for this amazing theme and support.
Forum: Themes and Templates
In reply to: [Sydney] Two H1 Tags on all non-homepagesSorry for my former reply! I did not understand that I had to go into that file and look into the code for that specific function. Which I did in the mean time…
The code is exactly the same as in your former reply. This is what I have found:
/** * Site title and description */ public function site_title_desc() { if ( is_front_page() && is_home() ) : ?> <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <?php else : ?> <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> <?php endif; $sydney_description = get_bloginfo( 'description', 'display' ); if ( $sydney_description || is_customize_preview() ) : ?> <p class="site-description"><?php echo $sydney_description; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></p> <?php endif; }
Forum: Themes and Templates
In reply to: [Sydney] Two H1 Tags on all non-homepagesHi @kharisblank,
Thanks for replying! I have checked on a few sites. And no this file is completely different. It is a php file with a lenght of 664 lines, starting with:
<?php
/**
* Header class class
*
* @package Sydney
*/
if ( !class_exists( 'Sydney_Header' ) ) :
Class Sydney_Header {
/**
* Instance
*/
private static $instance;
/**
* Initiator
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self;
}
return self::$instance;
}
/**
* Constructor
*/
public function __construct() {Forum: Themes and Templates
In reply to: [Sydney] Two H1 Tags on all non-homepagesAbout the workaround option with the page title hided: not only the title must be hided, the title is (in this case as the homepage title) not allowed to get an H tag in the code at all.
Forum: Themes and Templates
In reply to: [Sydney] Submenu missing link separatorsWorks perfect! Thank you so much!!
Forum: Themes and Templates
In reply to: [Sydney] Sydney Main Menu: How to remove Dropdown IconResolved
Forum: Themes and Templates
In reply to: [Sydney] Sydney Main Menu: How to remove Dropdown IconThis works perfect! Thank you so much for your help!!
Forum: Themes and Templates
In reply to: [Sydney] Page Color Printout not possibleI tried this solution, but it did not work. Thanks anyway for your help!
The Problem seems only to occur on Windows 8 in combination with Internet Explorer 11 and is reproducable in different computers.
This problem occurs in Internet Explorer 11.
I can force to appear the header image by reducing the browser window. But when I click to another page of the site, the header image disappears again.
Help!
Forum: Themes and Templates
In reply to: [Simone] Centering issue on one-page designIf you are using a child theme with the ‘@import url’ code, this problem also occurs. I did solve the problem by next steps:
1. adapt de style.css of the child theme:remove the “…@import url…” line
2. put a functions.php in the childtheme folder with this code:<?php
add_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_theme_style’ );
function enqueue_parent_theme_style() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
}Forum: Plugins
In reply to: [Social Media Feather | social media sharing] Doesn't pass HTML5 validationI do habe the same Problem with the w3c checker: See https://www.salzburg-psychotherapie.at.
Error Line 209, Column 849: Bad value for attribute href on element a: Illegal character in query: not a URL code point.
…margin-bottom:15px;margin-right:15px;”><img alt=”facebook” title=”Share on Fac…