#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Admin account names...
 
Share:
Notifications
Clear all

Admin account names now link to profile after update, how to disable?  

    Last Post
RSS

gunarcom
Posts: 23
 gunarcom
Topic starter
August 3, 2020 7:43 pm
(@gunarcom)
Eminent Member
Joined: 2 years ago

I do not use/want to have profile pages on my site. I had previously disabled names linking to profiles with a code snippet in my functions.php file- but now Admin account names link to profiles. 

Is there a new code snippet to disable this? I cannot find any where in the options that would allow me to disable profiles completely. 

 

Thanks

1 Reply
Alvina
Posts: 1883
Alvina - Facebook Alvina - Twitter
 Alvina
Moderator
August 4, 2020 9:23 am
(@alvina)
Member
Joined: 1 year ago

Hi @gunarcom,

There are two following options to do that.

1. You can use the following CSS code:

.wpf-author-name > a{
color: currentColor !important;
cursor: not-allowed !important;
text-decoration: none !important;
pointer-events: none !important;
}

The CSS code should be added in the Dashboard > Forums > Settings > Styles > admin page, "Custom CSS Code" textarea. 

2. or you can use the following JS code:

jQuery('.wpf-author-name > a').removeAttr('href');

The js code you should add in your active them's js files.

Here is the instruction on how to add a js file or js code in the active theme:

https://www.wpbeginner.com/wp-tutorials/how-to-easily-add-javascript-in-wordpress-pages-or-posts/

In any case, please don't forget to delete all caches and press Ctrl+F5 (twice) on the frontend before checking to reload the updated CSS/JS files. 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
  All forum topics
  Previous Topic
Next Topic  

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages  wpforo-advanced-attachments-128x128  wpforo-embeds-128x128 wpForo User Custom Fields addon  wpForo – Blog Cross Posting addon  wpForo Ads Manager
View all Addons »

Recent Topics

  • Subscribing through the subscription manager in some cases doesn't update the "subscribe to topics" button on forum

    By afreymuth, 10 hours ago

  • a little problem, I need help, thanks

    By adultwork, 11 hours ago

  • How to configure: When click on Topic it goes to 1st page (Topic starter)

    By nalin_duminda, 13 hours ago

  • Seeking assistance solving new users not getting a confirmation emails on WP Multisite

    By Hansie, 14 hours ago

  • White text on White background...again and again...

    By Morosirus, 20 hours ago

  • display a shortcode in the category description

    By mazohho, 20 hours ago

Topic Tags

  • new features43
  • seo39
  • translation36
  • plugin conflict35
  • forum33
  • buddypress31
  • login31
  • threaded layout30
  • registration29
  • ultimate member28
  • moderation27
  • editor25
  • avatar24
  • shortcode24
  • css23
  • tags22
  • menu21
  • migration20
  • url20
  • profile20
View all tags (1474)

Recent Posts

  • RE: Fatal error:

    @robert OK, thanks my prob...

    By Bujkilla, 5 hours ago

  • RE: Views are no longer counted

    Again , Views are counted very well, but not in real...

    By Robert, 9 hours ago

  • RE: How are "views" calculated?

    Please read this topic attentive from first post. It's ...

    By Robert, 9 hours ago

  • Subscribing through the subscription manager in some cases doesn't update the "subscribe to topics" button on forum

    Hi,I think this is just a development oversight more th...

    By afreymuth, 10 hours ago

  • a little problem, I need help, thanks

    Hello,I'm not sure if I posted where I should, but I wa...

    By adultwork, 11 hours ago

  • How to configure: When click on Topic it goes to 1st page (Topic starter)

    Currently when click on topic it goes to the last page ...

    By nalin_duminda, 13 hours ago

  • Seeking assistance solving new users not getting a confirmation emails on WP Multisite

    Problem: When a new user registers through WPForo, they...

    By Hansie, 14 hours ago

Share:
  Forum Statistics
20 Forums
7,788 Topics
39 K Posts
3 Online
14.9 K Members

Latest Post: Fatal error: Our newest member: soikeotaixiu Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2021 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Documentation