Tuesday, 21 January 2014

WordPress: Remove/hide Google+ field from Contact Info on user admin page

This WordPress tweak is pretty unlikely to come up for most developers, but I was asked to remove the Google+ field from the Contact Info section of the User admin page. Here's a quick snippet to paste into functions.php to do so:

function custom_admin_js() {
  // hide WP's Googleplus input on user profile
  if( strpos($_SERVER["REQUEST_URI"], '/user-edit.php')) {
    echo '<script type="text/javascript"> jQuery(\'#your-profile input[name="googleplus"]\').parent().parent().hide(); </script>';
  }
}
add_action('admin_footer', 'custom_admin_js');

51 comments:

  1. I was eventually directed on the WordPress forum to te following post which helped me to pick out one specific category for a feed: psd to wordpress

    ReplyDelete
    Replies
    1. IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes. IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble.Final Year Projects for CSE

      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining .

      Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

      The Angular Training covers a wide range of topics including Angular Directives, Angular Services, and Angular programmability.Angular Training

      Delete
  2. Your post are inspiring. I hope you will write more such post. Each of your post brings a lot of good.
    Digital Marketing Course in Kolkata

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Nice post. Thanks for sharing! I want people to know just how good this information is in your article. It’s interesting content and Great work.
    Thanks & Regards,
    VRIT Professionals,
    No.1 Leading Web Designing Training Institute In Chennai.

    And also those who are looking for
    Web Designing Training Institute in Chennai
    SEO Training Institute in Chennai
    Photoshop Training Institute in Chennai
    PHP & Mysql Training Institute in Chennai
    Android Training Institute in Chennai

    ReplyDelete
  5. karena permainan ini sendiri memang memberikan tantangan besar karena anda bisa menjadi posisi Bandar di dalam meja. Namun tentunya anda harus memiliki chip yang cukup supaya bisa berperan sebagai Bandar di meja permainan.
    asikqq
    pionpoker
    dewaqq
    bandar ceme
    sumoqq
    hobiqq
    paito warna
    interqq
    forum prediksi

    ReplyDelete
  6. Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
    Web Designing Training Institute in Chennai | Web Designing courses in Chennai
    Mobile Application Development Courses in chennai
    Data Science Training in Chennai | Data Science courses in Chennai

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. I was following your blog regularly and this one is very interesting and knowledge attaining. Great effort ahead. you can also reach us for web development company in chennai website design company in chennai

    ReplyDelete
  9. Nice post!

    Worried About QuickBooks Error ?Get in touch with QuickBooks expert for instant solution.
    Click Here to know how to fix QuickBooks Error 248

    Dial on QuickBooks Toll-free Number +1-855-977-7463.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Nice & Informative Blog !
    Our team at QuickBooks Customer Service makes sure to achieve maximum customer satisfaction in the current circumstances.

    ReplyDelete
  12. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read. Get for more information QuickBooks customer service

    ReplyDelete
  13. Dial our Quickbooks Support Phone Number 855-729-7482 and get instantly solution from experts. We have experience and get solution instantly.
    QuickBooks customer service


    ReplyDelete

  14. Hey! Lovely blog. Your blog contains all the details and information related to the topic. In case you are a QuickBooks user, here is good news for you. You may encounter any error like QuickBooks Error, visit at QuickBooks Customer Service for quick help.

    ReplyDelete
  15. Great web site. A lot of useful information here. I’m sending it to several friends ans also sharing in delicious. And obviously, thanks in your effort! 야설
    Feel free to visit my blog :
    야설

    ReplyDelete
  16. if anyone looking for best Advanced Excel training institute in delhi so contact here +91-9311002620 visit https://www.htsindia.com/Courses/business-analytics/adv-excel-training-course

    ReplyDelete
  17. I got this site from my pal who shared with me about this website and at the moment this time I am visiting this site and reading very informative content at this time.
    check here

    ReplyDelete
  18. Thanks for sharing such useful information with us. I hope you will share some more info about of QuickBooks for MAC Support . Please keep sharing. We will also provide QuickBooks Support Phone Number (855)746-5668 for instant help.

    ReplyDelete
  19. nice blog. if you are looking forquickbooks customer service you can reach us at.+1 855-444-2233

    ReplyDelete
  20. awesome bolg. if you are looking forquickbook support service. you can contact us at.+1 855-675-3194

    ReplyDelete
  21. good content. if you are lookinf forQuickbooks Support Phone Number you can contact us at.+18776030806

    ReplyDelete
  22. QuickBooks also offers live chat support as well as email support which allows businesses who are out of the office or at home to access QuickB's qualified help desk staff. The QuickBooks Service Number is +1 888-471-2380 and is always available 24 hours a day to serve you with all your QuickBooks questions.

    ReplyDelete
  23. Thanks for sharing good blog. Yoga have the power to change your mentality that how to think ,how to control your mind and how to use it. Yoga, yogainfo , Female fitness, you reach us at

    ReplyDelete