pokercouch
Forum Replies Created
-
Hi there,
Just want to let you know that I got the exact same issue directly after updating WordPress + Ocean plugins. I restored to before the update and voila it worked again.
@devnihil After changing the code I managed to make Google happy. I’m not sure what was wrong with the first edition but with the code below it seems to work like it should:
add_filter( 'wpseo_breadcrumb_single_link' ,'wpseo_remove_home_breadcrumb', 10 ,2); function wpseo_remove_home_breadcrumb( $link_output , $link ){ $text_to_remove = 'Home'; if( $link['text'] == $text_to_remove ) { $link_output = ''; } return $link_output; }@devnihil Hi again,
I made an easy experiment that confirmed what I already thought.
When I removed the already mentioned code from functions.php the issue in Google Search Console was solved. Here is the code that I removed:
function wpseo_remove_home_breadcrumb($links) { if ( $links[0][‘url’] == home_url(‘/’) ) { array_shift($links); } return $links; } add_filter(‘wpseo_breadcrumb_links’, ‘wpseo_remove_home_breadcrumb’);
However, if I don’t use this code I still have “Home” in the breadcrumb trail.
So my question is how to remove “Home” from the trail without triggering a SEO problem? There must be an easy solution to such a standard problem?
BR,
Axel
@devnihil Thanks for getting back to me.
I wish it were that simple but I certainly have a title on the page. All my pages have titles but it’s only on the homepage that I get the error.
I also tried the solution with the Yoast Test plugin but it didn’t help. In Google Search Console I still get the same error.
- This reply was modified 4 years, 5 months ago by pokercouch.
I can’t help you but still want to say thanks for sharing. Was about to update WordPress and OceanWP but after having seen this I will wait.
Forum: Themes and Templates
In reply to: [OceanWP] Mobile Menu unclickableHi,
I seem to have this exact problem as well. Did you solve it?
BR
Axel
Forum: Plugins
In reply to: [Asset CleanUp: Page Speed Booster] Elementor css doesn’t unloadThe swift reply is appreciated. I checked again and as you suspected a dependency rule probably caused it. So it works now and worked as supposed the whole time. Once again thanks!
Forum: Fixing WordPress
In reply to: Footer appears on top of other footerI solved it by simply changing order in footer.php!
Forum: Fixing WordPress
In reply to: Footer appears on top of other footerI have different colors for them. The problem is that I want to have them positioned in a different order.
Forum: Fixing WordPress
In reply to: Footer appears on top of other footerUpdate:
I have marked my different areas in different colors at the bottom of the page but I can´t change the order of the areas.Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not workingAll this makes me think it´s a case of server-side caching. I´ll look into it! Thank you for your help. I feel one step closer!
Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not workingI´m not sure how I modify it with FTP.
What I know though is that I changed to this after your correction and it got black:
.hentry {
background: #000;
}Then I changed back to this but it didn´t get white:
.hentry {
background: #FFF;
}I find this extremely strange.. Could it be some kind of delay?
EDIT: Now it suddenly got white like 10 mins later, but when I change to black it doesn´t go black. I guess it will in 10 mins..
EDIT 2: After 20+ mins it got black…- This reply was modified 9 years, 1 month ago by pokercouch.
- This reply was modified 9 years, 1 month ago by pokercouch.
- This reply was modified 9 years, 1 month ago by pokercouch.
- This reply was modified 9 years, 1 month ago by pokercouch.
Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not workingYes, it´s black now even though it looks like this in the stylesheet:
.hentry {
background-color:#FFF;
}This makes me a bit crazy.. Can´t see why it is still black. I have tried to hard refresh but nothing…
Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not workingI was 100% sure that I tried it with a full-stop before, but you are totally right. I changed it on your instructions and BOOM, it worked. BUT now I changed to:
.hentry {
background-color: #FFF;
}And it doesn´t change back… Why? It should be updated straight away? I clear cashe but it still shows up with the code below even thought it´s not in the stylesheet anymore:
.hentry {
background: #000;
}Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not workingI have tried hard refreshing and also to open it in an incognito window. The changes in the stylesheet still don´t apply…
I have this code in the stylesheet as a test code:
hentry {
background-color: #000;
}Obviously I have tried other codes as well. No code in the stylesheet works, so it´s not that.
How should I change the code to make the stylesheets load in oppposite order like you suggest?