Let Us Build a WordPress Custom Post Type (CPT)

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

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3