Continuing from my earlier article titled How to create a custom widget that displays value of a custom field in WordPress, here I am going to share how I have set up a custom widget that pulls a fixed number of Custom Post Type entries that have been categorized under the same category/categories that the […]
Custom Widget
How to create a custom widget that displays value of a custom field in WordPress
In a recent task that I worked on, the requirement was to set up a custom field called “Related Services” for Posts and display this field’s value in a sidebar widget. The widget should appear on the front-end i.e., on the single Post page only if the field has been populated for that particular Post. […]
Recent Comments