Let Us Build a WordPress Custom Post Type (CPT)
-
Published:2023-12-29
Issue:
Volume:
Page:259-266
-
ISSN:2581-7000
-
Container-title:International Journal of Applied Engineering and Management Letters
-
language:en
-
Short-container-title:IJAEML
Author:
Chakraborty Sudip1, Aithal P. S.2
Affiliation:
1. D.Sc. Researcher, Institute of Computer Science and Information Sciences, Srinivas University, Mangalore-575 001, India 2. Professor, Institute of Management & Commerce, Srinivas University, Mangalore, India
Abstract
Purpose: WordPress is a popular content management system. Almost half of the internet websites are built using WordPress. It stores data as a post inside its database. It has a built-in post type where a programmer or developer can quickly build a post. But sometimes it does not fulfill our requirements. We need to customize the available posts by adding additional fields. Another way is to create a custom post type from scratch. Sometimes, we are not encouraged to implement custom post types due to the lack of practical or lengthy documentation. Here, we provide practical-oriented documentation so researchers can quickly build custom post types into their projects. The CPT module code is freely available to download and use.
Design/Methodology/Approach: We install WordPress websites locally using a “local” application. Inside the plugin folder, we create a folder named “custom-post-type.” Inside the folder, we make a file “index.php.” We add our code inside the file so that when the website refreshes, it establishes a plugin automatically.
Findings/Result: WordPress's custom post type is an outstanding feature. Where the default post type cannot provide proper data structure, the custom post type allows us to fulfill our requirements. We installed a WordPress website using local software and created a custom post. After that, we add data to it. It worked without any issues.
Originality/Value: Many documents are available on WordPress's custom post type. Most of those are lengthy and time-consuming to execute. Sometimes, our researcher cannot afford more time to implement the code into their project. So, consuming several hours, we provide the complete practical process in a very concise manner.
Paper Type: Experimental-based Research.
Publisher
Srinivas University
Reference17 articles.
1. Jones, K. M., & Farrington, P. A. (2013). Learning from WordPress libraries: Content-management system best practices and case studies. American Library Association. 2. Fragulis, G. F., Lazaridis, L., Papatsimouli, M., & Skordas, I. A. (2018, September). ODES: an online dynamic examination system based on a CMS Wordpress plugin. In 2018 South-Eastern European Design Automation, Computer Engineering, Computer Networks and Society Media Conference (SEEDA_CECNSM) (pp. 1-8). IEEE. 3. Jones, K. M., & Farrington, P. A. (2011). Using WordPress as a library content management system. American Library Association. 4. Leary, S., & Leary, S. (2013). Custom Post Types, Taxonomies, and Fields. WordPress for Web Developers: An Introduction for Web Professionals, 291-324. 5. Lakshmi, S. M., Mogili, U., Eluri, S., & Rao, D. R. Online Dynamic Out Patient Queue System for Automated Token Generation in Hospitals.
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Autonomous Fever Monitoring System For Child Using Arduino, ESP8266, WordPress, C# And Alexa;International Journal of Case Studies in Business, IT, and Education;2024-02-26 2. Let Us Build a MQTT Pub-Sub Client In C# For IoT Research;International Journal of Management, Technology, and Social Sciences;2024-02-02
|
|