hello,Β thanks for this nice add-on
petteq.net
When I click on the profile picture, I want it to open in the same window.
Β
If you don't click on the profile picture, it opens in a different tab. πΒ
Β
thank youΒ
Hi @cihan,
You can use the following JS code:
jQuery(document).ready(function(){ jQuery("#wpdcom .wpd-avatar a").attr('target', '_self'); });
Here is a helpful article: https://www.collectiveray.com/add-javascript-to-wordpress
thank you very muchΒ Asti π
I solved my problem like this :Β
theme editor --- functions.phpΒ Β andΒ add this code
Β
Β
add_filter('wpdiscuz_avatar_link_attributes', function ($attr) {
if (isset($attr['target'])) {
$attr['target'] = '';
}
return $attr;
});
Β
Β
I have one more problem:), please help me
Β
How to make wpdiscuz full width?Β
Β
like this;
https://gvectors.com/forum/how-to-and-troubleshooting/how-to-make-wpdiscuz-full-width/#post-13670
Β
div#comments {
width: auto !important;
max-width: 100% !important;
}
this code not working π
Β
thank you very much