I added the code to the style.css in my child theme (which contains very few lines of code, most of the css are in the style.css which is in the parent theme and is minified) and it works now as I need it.
Thank you for your support!
It was another plugin that caused the issue. It isn’t a common one, but a plugin from a local shipping agency that is a woocommerce addition.
I successfully created a new menu that includes woocommerce categories. I would like to display the new menu on all woocommerce category, tag and product pages. How is that possible?
Thanks
Thanks Simion, much appreciated.
I removed also the following code:
$twitter_user = td_util::get_option(‘tds_tweeter_username’);
Hope that doesn’t make any mess. Everything loads normally so far.
Hi Catalin,
here it is: bit. ly/2sfnyaq
Thanks
It’s important to know that he adsense ad shouldn’t load at all, not that the script is called and then the ad hidden. This will be an adsense violation.
Let me know what exactly to include in my custom css theme field so you can make the inspection.
Cheers for that, mate!
Can you tell me how to add a Google +1 button just before the translated Facebook Like button?
And one more thing – is it possible to set Pinterest share button to fetch all images —
and more important their real resolution files, instead of only the featured image of the article? This is very important.
We actually don’t use twitter and don’t need twitter buttons or requests anywhere. Can I remove scripts that are makeing unnecessary twitter requests somehow?
Thanks!
-
This reply was modified 9 years by
DaveS.
Hi,
thanks Simion.
This way it works but the breadcrumbs are always first shown and them hidden, which isn’t what I need. I need to hide them so that the visitor doesn’t see them at all on mobile. Is that possible?
And by the way, for some reason, breadcrumbs don’t display properly on post pages on mobile. Only the Home is visible, not the following category name (I don’t include the name of the page in the breadcrumbs).
Thanks
Hi,
thanks for the explanation. It seems easy, but for some reason it isn’t working on my side.
I followed exactly your instructions, but the language doesn’t change.
As for the twitter button – I would like to remove the twitter button and tried with removing the following code from the same file:
$buffy .= ‘<li class=”td-classic-twitter”>’;
$buffy .= ‘href) . ‘” data-text=”‘ . $this->title . ‘” data-via=”‘ . td_util::get_option(‘tds_’ . ‘social_twitter’) . ‘” data-lang=”en”>tweet <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=”//platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);</script>’;
$buffy .= ‘‘;
But the button isn’t disappearing.
Note: I’m talking about the buttons at the end of the post pages, not under the title.
This is the only cache that I’m seeing in my page source code (I don’t use a caching plugin):
var tdLocalCache = {};
( function () {
“use strict”;
tdLocalCache = {
data: {},
remove: function (resource_id) {
delete tdLocalCache.data[resource_id];
},
exist: function (resource_id) {
return tdLocalCache.data.hasOwnProperty(resource_id) && tdLocalCache.data[resource_id] !== null;
},
get: function (resource_id) {
return tdLocalCache.data[resource_id];
},
set: function (resource_id, cachedData) {
tdLocalCache.remove(resource_id);
tdLocalCache.data[resource_id] = cachedData;
}
};
})();
And finally, is this theme update safe solution? Will it remain after theme update?
Thanks for all your time and support! Much appreciated!
The provided suggestion there is to add the following code in the custom css theme field
@media (max-width:767px){
.td-entry-crumbs{
display:none!important;
}
}
After adding it, breadcrumbs still appear on mobile.
I’ve put your code in the custom css field of the theme
.td-g-rec-id-content_inline {display: none !important;}
but the ad (it’s an adsense ad) still loads. My category ID is 179. I should include this somewhere??
Hi guys,
I minified the theme’s style.css but didn’t minify the child theme’s style.css which contains almost nothing. Since then this last suggestion stopped working for some reason.
The following line of code is in my theme panel’s custom css field:
article.category-179 div.td-g-rec-id-content_inline {display: none !important;}
but the inline ad loads again.
Can a recent theme update be the reason for this to stop working? Any ideas?
Thanks!
Hi,
they are already added. If you check the mo file that I provided, you should see them.
Thanks
I found the field for the translation of “Flat rate”, but can’t find out how to translate the last 3 strings.
Hey there,
I successfully translated almost all strings! There are only 4 specific strings left, that have a translation in the mo file, but it doesn’t show up on the front end…
These are:
Customer matched zone:
Shipping
Flat rate:
Phone
Can be seen here:
The mo file can be downloaded here:
https://www.dropbox.com/s/yhulm9iwvcgh7sn/woocommerce-bg_BG.mo?dl=0
I’ll be very thankful if you help me to sort this out.
Thanks
Cheers for that, it works!
Can you recreate my sample? Does it have a translation when you recreate it?
I don’t need to clean caches as I’m not making any change. The translation is in the .mo file by default. It just doesn’t appear on the site correct.
I’m trying to find out where’s the problem, because I need to resolve it fast.
Thanks
-
This reply was modified 9 years by
DaveS.
Hi tagDiv team,
I also would like to stop from loading the article inline ad in all our video articles (see this)
I currently have the following code in our custom CSS theme section.
Right after it, I’m adding the following code from above:
article.category-179 div.td-g-rec-id-content_inline {display: none}
where the number 179 is our video category ID.
Unfortunately the ad still loads.
Any other ideas how to fix this?
Thanks
-
This reply was modified 9 years by
DaveS.
Hi Simion,
the thing is – the mo and po file both contain translation of those specific strings that appear as as not translated in the front end. See the samples.
Thanks
Hi Simion,
Thanks for the reply.
I opened my .po file (downloaded from the server) which is responsible for the translation of woocommerce. In my case: woocommerce-bg_BG ( you can download it here https://www.dropbox.com/s/7k4s6infkaucq01/woocommerce-bg_BG.po?dl=0 )
When I open that file using PoEdit, it seems that all words are translated in Bulgarian, but on the website not everything appears translated – it is a mixture of English and Bulgarian.
Do you have any idea how to fix this? If I need to edit some other specific files, and you know which ones, please let me know.
Thanks
Hey tagDiv team,
please help us to solve this issue. Any help is greatly appreciated!
Thank you!
Hi nairolf,
thanks for the suggestion, but this isn’t a solution for us because we have facebook like button with counter. We use the tagDiv social counter plugin (provided by the tagDiv team) together with the Newspaper theme, and the style totally differs from the buttons in the plugin you are suggesting. tagDiv use the standard Facebook like button and we’d like to keep the design unchanged.
I really hope that the plugin developers will come out with a solution.
Thanks again for the collaboration!
Hey tagDiv support,
would you please help with this? I’m sure that a solution for this would help a lot of other people who are using your software.
Thank you.
I found something that could be a solution, but don’t know how to implement it correctly and where (I’m using a child theme and redirecting via .htaccess):
https://developers.facebook.com/docs/sharing/webmasters/crawler#updating section: Migrating Content/Updating URLs
As we have mostly Facebook likes, this is what we are looking to recover.
Any ideas?
I was hoping to get a hack to achieve this from you guys…
This is really important and discussed a lot during the last year. You are using your own tagDiv social counter plugin together with the theme, so I was hoping to receive support from you…
Do you really mean there’s no hack for this?