The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
I want it to open i...
 
Share:
Notifications
Clear all

I want it to open in the same window

6 Posts
2 Users
1 Reactions
1,227 Views
Posts: 26
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@cihan)
Eminent Member
Joined: 5 years ago
[#2019]

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 


5 Replies
Asti
Posts: 8208
 Asti
Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@asti)
Illustrious Member
Joined: 8 years ago

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


Reply
2 Replies
(@cihan)
Joined: 5 years ago

Eminent Member
Posts: 26
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@asti

Hello 

thank you so much asti. 🙂

 

but I couldn't find where to write this code 🙁

 

 

 

 

 


Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8208
Asti
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@cihan,

Here is a helpful article: https://www.collectiveray.com/add-javascript-to-wordpress

Please follow the instruction provided by me. 


Reply
Posts: 26
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@cihan)
Eminent Member
Joined: 5 years ago

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


Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8208
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@cihan,

Could you please leave some example URL? We'll provide a CSS solution for you. 


Reply
Share: