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