How you store your data has nothing to do with whether it is add/edited/removed from a plugin or your (child) theme’s functions.php file. So I’d say that your question is whether to add a custom post type or use a custom table for you ‘office’ entity.
You being new to WordPress, I’d advise you to go with custom post types. And use some plugin to create and manage it (like Pods or Custom Post Type UI). You can start off testing and making changes visually, which I think will be very convenient in your case. Then you can opt to implementing it with your own code.
Those plugins also allow you to add custom taxonomies for your added custom post types, so you should be good to go.
Related Posts:
- Custom media upload content for inserting custom post shortcode
- Redesigning Custom Post Type “Add New” page
- How to Remove Certain Screen Options and Meta Boxes from add/edit post type?
- Creating a default Custom Post Template that a Theme can override
- How to load a new template page according to a particular URL?
- How to get the custom page get_permalink?
- Updating post meta for custom post types
- remove custom taxonomy metabox form custom post type
- Custom Post Type Statuses
- How to Build a Movie Library in WordPress 3.x
- Get image URL from media library in input
- Way to hook into a sidebar call to replace it with a custom sidebar
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- Is it possible to create Custom Post plug-in?
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- Making a Template for a CPT created by a plugin
- Unable to delete custom post types, confusion around capabilities
- Adding CSS to custom post type admin page causes error
- Redirect to another page using contact form 7? [closed]
- Disable Individual Plugins (specifically in Custom Post Types) on a per-post basis?
- Using ACF default value to autoincrement a number field
- How to Resize the Custom Post Images?
- Amazon.com intergration with WordPress?
- Adding custom meta boxes to specified custom post type
- Plugin generated unexpected output – No PHP errors
- Custom Post Type template for homepage
- Custom Post Type, Custom Columns List
- Need to edit author permissions | custom taxonomy
- Is it possible to pin a post in second position from top
- How to get the custom field value using SQL query
- Check if theme supports sidebar
- How to display the category name in the tab and post inside the tab in WordPress?
- custom post type plugin error [closed]
- How to display the custom post related blog by category?
- Problem with checked box on wp car manager plugin
- Ultimate Members Default Post Layout problem
- custom post type get_posts() function not work
- Create multiple posts when a custom post is created
- $wpdb->insert not working inside save_post tag
- Cannot view Custom Post Type no matter what I try
- How to add jquery to my custom post type wp plugin
- Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites
- get_option include in my adsense
- Making a Custom Post Type Publish Loop
- Wrong block appender button showing
- How to access the page without registering in wordpress
- CPT template is not being automatically used single post pages
- How to make content as required in custom post type?
- public custom posts not showing in my wordpress plugin
- How to provide page_template path in custom plugin using WordPress
- Remove H1 title in admin post edit screen
- How to Display News in a Timeline with Headline, Category, and Time?
- dbDelta only creates the last table
- Where should my plugin POST to?
- WordPress widget / plugin….fields not appearing in my widget
- What is $tab in `install_plugins_{$tab}` hook?
- How do I use WordPress PHP functions in my Javascript code?
- Get all options saved by another plugin
- Language Translation is not working?
- Passing $this->get_field_name() to javascript
- add_action in functions.php, do_action in plugin?
- Override plugin with functions.php
- Read text defined under __()
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- How to make wp_enqueue_style and wp_enqueue_script work only on custom post type
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- Plugin Options Not Saving to Database in WP 4.5
- how to disable blockrenderAppender inside all Innerblocks?
- Redirection of users away from wp-admin (but not administrators)
- Change commission_status paid when withdraw_status vendor is completed
- WordPress Plugin [closed]
- How to delete all trashed item in one-go
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- plugin wraps the entire content
- How programatically cause uploads folder to be created?
- Using Class loader in WordPress boilerplate
- WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
- How to dynamically add template in Innerblock?
- How to check for already existing plugin versions on activation? and prevent errors
- update_post_meta is not working for me when I use e.preventDefault for update button
- How to create a plugin with automatic update?
- Plugin management with my custom plugin
- How to pass value from WordPress to Javascript
- How do I create a state of “don’t assign anything to variable” if WP_Error throws an error?
- Plugin communication between sites that use it?
- Theme editor removes backslashes
- Widget Script Loads at Bottom of Page
- Plugin Hook: Get posts
- WordPress custom posttype meta values doesnot save
- Why tinyMCE.editors doesnt work on tinyMCE
- Assigning a custom post type to a custom page
- making a glossary with wordpress
- I am using multi image metabox plugin but I did get how to display the images in templete?
- How to open author url linked to a new tab in settings page in the WordPress plugin list
- How can I properly sanitize the update_option in WordPress?
- Why is my menu page not being displayed?
- WordPress 6.3 with datatables – cannot seem to pass json from php to javascript
- Mixed results with is_page() WordPress function, when using $this, or self
- I have created a custom plugin. After activation it creating page but i am not getting how to add another php file at page content?
- Custom Search Function in WordPress Returns No Results