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');

27 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
  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. 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
  5. This comment has been removed by the author.

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

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

    ReplyDelete
  8. 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

  9. 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
  10. 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
  11. 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
  12. nice blog. if you are looking forquickbooks customer service you can reach us at.+1 855-444-2233

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

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

    ReplyDelete
  15. 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
  16. very informative blog Thanks for sharing with us please more visit our Quickbooks customer service at my
    quickbooks support phone number +1 866-448-6293

    ReplyDelete
  17. I m Very happy after read your Informative blog Keep posting Again . If you also any need about Quickbooks Service Regarding information then go through QuickBooks Support Phone Number +1 866-669-5068

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

    ReplyDelete