Forum Replies Created
-
Hi
All In One Schema – Rich Snippets.
I do not know much about JQuery.
O.M.G. It was so simple that I could not see it.
You have been very generous in sharing your time and valuable knowledge.
Thank you very much!
I think I know why it did not work out for me.
It is because I have inserted adsense in an action hook and not in the graphene options.
Thanks for your help.
I’m sorry. It was not my intention to take over this thread.
This code does not work for me, with or without the closing tag, or any other way.
I will try to insert the code differently
I am sorry asking again. Here is my child php file. I try to insert the code in several places, but get an error message from w3 total cache, that Minify URL rewriting is not working. I can still see adsense.
What am I doing wrong? Where would you place the code?
<?php
// put your code here
function graphene_filter_gettext( $translated, $original, $domain ) {
$strings = array(
'Powered by %1$s and the %2$s.' => 'Min Madopskrift, min madopskrift på nettet',
);
if ( ! empty( $strings[$original] ) ) {
$translations = &get_translations_for_domain( $domain );
$translated = $translations->translate( $strings[$original] );
}
return $translated;
}
add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );
?>@ Yeti it is very easy, you can download the child theme from here:
http://www.prasannasp.net/graphene-child-theme-template/
Hi Syahir Hakim
I have a child theme.
I experience the same thing.
e.g. http://minmadopskrift.dk/category/dip-dressing, I want to remove the ads here, and on all other categories
Please inform how to remove ads with a child theme.
Thanks in advance
Oliver
I finally found the error. It was old code hidden in my template, and minify settings.
Hi
I deleted my website and used a backup. Changed password, installed firewall and security plugins.
. htaccess file – changed permissions.
This has thankfully helped.
Many, many thanks for your help and advice 🙂
Hi Kenneth
Thanks for your help, really appreciate it
All plugins updated to last version.
Wordpress is updated to last version, for some time ago?
On FrontPage, my link to the Graphene theme is gone also.
I will look at your link, and install more security on my site, chance password etc.
I will be back when I have more information about this subject.
