• Home
  • Archive
  • Tools
  • Contact Us
  • Forum

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home / Wordpress and SEO / Show the ID of your articles in a new column

By Abhishek Ghosh March 13, 2011 3:58 pm Updated on October 17, 2014

Show the ID of your articles in a new column

Advertisement

This snippet is to be pasted into the file “functions.php” your theme WordPress . It allows you to add a new column in the overview page of your blog articles. This column simply displays the unique identifier of your item (Article ID). The ability to hide the column is also available via the tab “Options” screen.

 

GKID function ($ column) {$ Column ['ID'] = 'identifier';return $ column;}add_filter ('manage_posts_columns', 'GKID', 5, 2);add_filter ('manage_pages_columns', 'GKID', 5, 2);GKID function ($ column, $ ID) {if ($ column == 'login') {echo '<strong>'. $ ID. '</ strong>';}}add_action ('manage_posts_custom_column', 'GKID', 5, 2);add_action ('manage_pages_custom_column', 'GKID', 5, 2);  

 

Note that once the column has been added, you may see it is far too broad or far away.We can easily change the width. To do this, you have to just paste the following code in the file “functions.php” of your theme. The size can obviously be changed.

Advertisement

---

 

GkAdminH function () {echo "Login <style> # {width: 100px;} </ style>";}add_action ('admin_head', 'GkAdminH');

 

Signature
Facebook Twitter Google+ Pinterest

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Google Plus - Abhishek Ghosh1 and on Twitter - @AbhishekCTRL.

Follow the Author of this article :

13.7K+ Followers 18.7K+ Followers 2.5K+ Followers 1.5K Followers

Here’s what we’ve got for you which might like :

Articles Related to Show the ID of your articles in a new column

  • How to change the smilies / emotions in WordPress

    WordPress offers a variety of native smilies automatically generated when you enter the shortcut to which they refer.You can however, change to your own custom simile or emoticons.

  • Change the password of a user via phpMyAdmin WordPress

    The MySQL database for WordPress stores all user passwords in the table wp_users. With phpMyAdmin, learn to generate new passwords for each user account in your WordPress installation.

  • Optimize WordPress by compressing data through .Htaccess

    We propose a simple procedure yet very effective to make your site running fast by adding a code snipplet to .htaccess file.

  • KML Google Maps and HTML Google Maps

    KML Google Maps and HTML Google Maps are two format ways to add Google Maps in WordPress Posts. Let us see the advantages and disadvantages of these formats.

  • KML Google Maps WordPress Plugins and Manual Ways to Insert

    KML Google Maps WordPress Plugins are easy way to integrate KML Google Maps in WordPress blog and also we have added the manual ways to Insert using PHP script.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Google+ or Twitter to join the conversation right now!

If you want to Advertise on our Article or want Business Partnership, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website...

 

 

Popular Articles

All articles of this Website are fully Free to read. Here are some, which possibly you'll like to read! Do not hesitate to contact us for any concern.

Contact Us

Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Recent Posts

  • Arduino WiFi Control of LED From Web Browser April 19, 2018
  • Fix Problems & Issues of Yoast SEO WordPress Plugin April 19, 2018
  • Extra Battery, Inverter For Car For DIY Electronics Car Automation April 18, 2018
  • Blink AC Bulb With Arduino Relay Module April 17, 2018
  • Router Setup to Watch IP Camera Online Remotely via Browser April 17, 2018

About This Article

Title: Show the ID of your articles in a new column
March 13, 2011
Author: Abhishek Ghosh
Subjects: WordPress and SEO, WordPress Weblogs tips
Is Part Of:

TheCustomizeWindows, March 13, 2011, Vol.1(01),
p.1–39075 [IoT Ready Journal]

Source:The Customize Windows
ISSN: 0019-5847 ;
E-ISSN: 0019-5847 ;
Publisher: jima.in

Cite this article as: Abhishek Ghosh, "Show the ID of your articles in a new column," in The Customize Windows, March 13, 2011, April 19, 2018, https://thecustomizewindows.com/2011/03/show-the-id-of-your-articles-in-a-new-column/.
This website uses cookies.

Read Cookie Policy

Contents are copyright protected and reproduction demands our permission.


PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

web analysis

Copyright © 2018 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy