Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Zelda
tagDiv Member

Hello @Anamaria,

Thanks for trying to help.

Your answer is outdated.

There is now a td_social_sharing class located at wp-content/plugins/td-composer/legacy/common/wp_booster/td_social_sharing.php

I was able to find a (poor) way with a mu-plugin to override the whole class… just to remove the “via” part.


add_action('tdc_init', function() {
td_api_autoload::delete('td_social_sharing');
td_api_autoload::add('td_social_sharing', __DIR__ . '/includes/td_social_sharing.php');
}, 11);

But like I said, it’s a poor way, forcing me to be vigilant at each theme updates to reproduce td_social_sharing updates.

It is a pity that your theme is not more developer friendly.

Zelda
tagDiv Member

Hello @bettina !

Thanks for your reply. I’m agree with @rahulroushan We need a way to turn off globally this Reviews feature.

Thanks @anamaria for adding this to your request features.

Zelda
tagDiv Member

Hello @Bettina!

There is no issue. And I think my question does not need screenshots or video.

I just want to know if there is a smart way, via theme panel or your theme API… to totally disable all review features (in back and front) : the tdc-review cpt, the tdc-review-criteria taxonomy, the tdc-review-email cpt.

Thanks.

Zelda
tagDiv Member

Hello @bettina,

Thanks for this method. I’m going to try.

About megamenu (in my header), how do the same (add a image size to select list) ?

Zelda
tagDiv Member

Thank you @bettina for your quick reply.

Are we agree that it’s a plugin file and a update of plugin will change this file (and loose my modifications) ?

If yes, is there a more elegant way to override this config ? Maybe via a API ?

Zelda
tagDiv Member

Oh yes ! Thank you ! you are an angel. I suspected it must be simple. But impossible to find. Merci beaucoup 🙂

Viewing 6 posts - 1 through 6 (of 6 total)