Notifications
Clear all

[Solved] Make Username/Name & Avatar create "Comment Author Info" box popup

17 Posts
2 Users
1 Reactions
2,218 Views
Posts: 10
Customer
Topic starter
(@chris-vermeulen)
Member
Joined: 3 years ago

How can I change things so that when someone clicks on at the username, username, or avatar only the "Comment Author Info" box pops up. I do not want it to link to the usernames page showing their posts.

See image attached...

wp linkidssue
16 Replies
Astghik
Posts: 6149
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

The information from the wpDiscuz Comment Author Info depends on the main wpDiscuz plugin. It checks if the wpDiscuz is loaded or not. But the wpDiscuz Widgets addon can be loaded even if the main wpDiscuz plugin is not loaded on the page. So in the widgets section, the information from the wpDiscuz Comment Author isn't supported. 

Posts: 10
Customer
Topic starter
(@chris-vermeulen)
Member
Joined: 3 years ago

thats fine, I dont need the box to show up in widget, but in normal comments at the bottom of the posts and pages I would like to either remove the option for those to link anywhere, or have it link to the comment author info popup. can you help with this please?

Posts: 10
Customer
Topic starter
(@chris-vermeulen)
Member
Joined: 3 years ago

Is anyone going to help with this?

1 Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@chris-vermeulen,

Please use the CSS code: 

.wpdiscuz-widget-popular-comment-author .popular-comment-author-disp-name a {
     pointer-events: none;
}

I'll update the topic if there is another solution. 

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again.

Posts: 10
Customer
Topic starter
(@chris-vermeulen)
Member
Joined: 3 years ago

I applied that CSS as suggested cleared server cash, wp-rocket cache and browser cache, many times but that still makes the their name and image in the widget link which want to stop it from linking. Please help.

1 Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6149

@chris-vermeulen,

Could you please provide the URL: where we can see the issue? 

It works fine on our test websites. 

Page 1 / 3
Share:
Scroll to top