In short, a plugin that helps to quickly sort out the basic needs.
]]>add_filter( 'trp_no_translate_selectors', 'trpc_no_stranslate_selectors', 10, 2);
function trpc_no_stranslate_selectors($selectors_array, $language){
$selectors_array[] = '.do_not_translate_css_class';
$selectors_array[] = '#do_not_translate_css_id';
return $selectors_array;
}
But it still didn’t work. Not sure why this is happening.
My URL I inserted it manually in the /es/ category and I translated it manually as well. So I wanted to disable the translation there. But even adding the PHP and the path the translate press insists in translating the page.
The original content of the page is spanish, but the Author BOX should be in Portuguese and the page recomendation also in Portuguese.
How can I disable translatepress in this page?
Thanks!
i’m pushing the pagespeed for my website. In this context i would like to “disable” the plugin Google Listings and Ads on certain pages of my website. How can i fix this? Is there a possibility to set this function in the settings of the plugin?
Regards, Lode
]]>new WP_Query
and then iterating. The issue I have is that I’m getting the starts added in each and every element from the loop, resulting in many schemas in the same web.
With
add_filter('yasr_filter_schema_jsonld', function () {return false;});
I get an empty application/ld+json
script but I would like to get rid off it completely.
<script type="application/ld+json"></script>
What could I do to either disable the plugin for those specific custom post types or remove the script from by applying some filter somehow?
]]>If I disable the plugin, will I loose the images that the plugin has converted?
]]>However, how can I delete / disable the plugin if I no longer need to create any new Custom Post Types?
When I disable the plugin, the custom post type that I created using the plugin disappears.
Thank you.
]]>