The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
open in the same ta...
 
Share:
Notifications
Clear all

[Solved] open in the same tab

7 Posts
2 Users
3 Reactions
604 Views
Posts: 26
Topic starter
(@cihan)
Eminent Member
Joined: 4 years ago

hello

I know these codes to open the profile in the same tab when I click on the username and member picture.

add_filter("wpdiscuz_author_link_attributes", function ($attrs) {
$attrs["target"] = "";
return $attrs;
});

 

add_filter('wpdiscuz_avatar_link_attributes', function ($attr) {
if (isset($attr['target'])) {
$attr['target'] = '';
}
return $attr;
});

it used to work. not working now. why?

thank you

 

6 Replies
Asti
Posts: 7572
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@cihan,

We've just checked the code it works fine. Please make sure the codes exists on the active theme functions.php file, then delete all kind of caches and check again. 

wpDiscuz also has a built-in caches system Please delete this cache as well. It's located in the Dashboard > wpDiscuz > Settings > General Settings tab. 

image
5 Replies
(@cihan)
Joined: 4 years ago

Eminent Member
Posts: 26

@asti  yes thank you 🙂

Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7572

@cihan,

Please confirm that the issue is solved.  

(@cihan)
Joined: 4 years ago

Eminent Member
Posts: 26

@asti 

yes 🙂  but how?

Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7572

ok, thank you, we'll mark this topic as solved and close it.

(@cihan)
Joined: 4 years ago

Eminent Member
Posts: 26

@asti  yes thank you

Share: