bozulurmu
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] How to nofollow all amzn.to affiliate links?Isn’t the code that creates problem, already part of the theme? How can reinstalling it resolve anything?
As David said, there is already a function named wp_rel_nofollow in your functions.php. I cannot use the same function name more than once.
So, should i delete the one on wp-includes/formatting.php or what?
Forum: Themes and Templates
In reply to: [GeneratePress] How to nofollow all amzn.to affiliate links?I installed the blank child theme on the link you shared, added my old CSS codes to Appearence>Customize, then copied my old functions.php changes to new child theme from theme editor.
But my question still remains. What am i gonna do with error? Should i delete lines 3113 to 3124 from wp-includes/formatting.php then add the first code i mentioned to functions.php (frome wp theme editor)?
All i want is adding all amzn.to affiliate shorlinks “nofollow” tags without. I do not need any other links to be nofollow since they ar either internal or directing to good info sources.
Forum: Themes and Templates
In reply to: [GeneratePress] How to nofollow all amzn.to affiliate links?Here is the code from 3113 to 3124:
*/ function wp_rel_nofollow( $text ) { // This is a pre-save filter, so text is already escaped. $text = stripslashes( $text ); $text = preg_replace_callback( '|<a (.+?)>|i', function( $matches ) { return wp_rel_callback( $matches, 'nofollow' ); }, $text ); return wp_slash( $text ); }
What’s the best option i have? Deleting code editing functions.php, replacing the one on formatting.php or something else?
I do not want to use a child theme since i dont remember what changes i made to fucntions.php before. It also can mess up my site since im not very good at technical stuff. Instead, i can nofollow amazon links after every update.
Forum: Plugins
In reply to: [Breadcrumb NavXT] Missing field “id” in Breadcrumbs on Google Search ConsoleI can not fix the issue since i do not know coding. I use page builder and plugins.
– I got almost all my pages affected and troubled code is this one:
<span itemprop="item"><span itemprop="name">?arap bozulur mu? ?arap a??ld?ktan sonra ka? günde tüketilmeli?</span></span>
– One of the pages affected is here in case you guys can check something that can lead us to a solution: https://www.bozulurmu.com/icecekler-ve-alkoller/sarap-bozulur-mu/
Forum: Plugins
In reply to: [Breadcrumb NavXT] Missing field “id” in Breadcrumbs on Google Search ConsoleIm having same issue at my website: https://www.bozulurmu.com/
Im not really expert at coding, is there any easy fix?