#1 WordPress forum plugin created by gVectors Team

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

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Admin account names...
 
Share:
Share
Tweet
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: 4 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: 1873
Alvina - Facebook Alvina - Twitter
 Alvina
Moderator
August 4, 2020 9:23 am
(@alvina)
Member
Joined: 3 years 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 wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Attachments not showing on forums posts after migration

    By Formicid, 2 days ago

  • New Feature About Plugin Customization and Integration

    By z14165899, 2 days ago

  • WordPress Email sending function wp_mail() doesn't work!

    By feassistant, 3 days ago

  • Import users from IPBoard

    By jesusdlg, 3 days ago

  • Intruder signing in to wpforo without approval

    By plaurits, 3 days ago

  • How to make new user to get approve manually before creating post and profile.

    By Adhyansh21, 4 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • spam33
  • editor33
  • menu33
  • shortcode32
  • forum accesses30
  • widget29
View all tags (2195)

Recent Posts

  • RE: Member Reputation with Likes?

    @mpanichi, in wpForo 2.0 you can set Points for One T...

    By Chris, 16 hours ago

  • RE: Hide user roles from Members list

    Hi @mpanichi Edit the needed usergroup and disable/un...

    By Chris, 17 hours ago

  • RE: Description for each topic?

    @chris That's really too bad. I was ready to send you ...

    By Christine, 1 day ago

  • RE: There are versions of wpforo functions that return string?

    Amazing 👍

    By Marco Panichi, 1 day ago

  • RE: About Plugin Customization and Integration

    Hi @z14165899, Please send your request to sales[at]g...

    By Chris, 2 days ago

  • Attachments not showing on forums posts after migration

    Hello I just did a manual migration and the older forum...

    By Formicid, 2 days ago

  • RE: WordPress Email sending function wp_mail() doesn't work!

    @dimalifragis thanks for the enlightenment there. It...

    By feassistant, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,941 Topics
50.3 K Posts
7 Online
48.6 K Members

Latest Post: Member Reputation with Likes? Our newest member: nicolestillwell 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-2022 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
  • Addons Demo
  • Documentation