That’s because, as documented the value of options in wp_dropdown_pages()
is the ID:
‘value_field’
(string) Post field used to populate the ‘value’ attribute of the option elements. Accepts any valid post field. Default ‘ID’.
So since you’ve saved the ID, use that to get the title:
echo get_the_title( $related_workshop );
Related Posts:
- wp_dropdown_categories in custom post type with custom taxonomy
- How to make custom taxonomy into drop down select in a custom metabox
- Create a Dropdown from Custom Post Type
- Set Default Option Value as Blank for Meta Box
- Select Venue from dropdown list and reuse stored address information in meta_box
- wp_dropdown_pages doesn’t allow me to select more than one custom post type
- How can I add a column/s to wp_posts table?
- Remove tabs from media uploader for a CPT
- Find callback function for custom taxonomy metabox
- Remove custom metaboxes from custom post type
- Add special meta box to custom post type
- Custom field values get deleted
- Priority of Meta Box for Custom Post Type
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- How to save the checked boxes?
- Adding Custom Metaboxes to Custom Pages
- add_meta_box: Datepicker like the one for postdate?
- Save or update data when custom post published
- Custom metabox translation
- Custom Post Type Meta Boxes
- How to add multiple featured image in meta box in post editor?
- Formatting custom meta box date from YYYY/MM/DD to a more readable alternative
- Using WPAlchemy metabox values in another metabox
- Adding Meta Boxes while Registering a Post Type in a Class
- Dynamically add / duplicate custom meta in custom post types
- Custom Post Type Metabox – Not Saving
- How can I create a custom meta box to add an mp4 video to a page?
- Pull a post based on a meta value in a custom post type
- Change meta box when the page’s template is changed
- Cannot save Checkbox meta box value from a Custom Post Type
- Undefined Variable – Custom Post Type Meta
- Add Standard Page Attributes Metabox for Page Parent
- Custom date changer post_date => future – missed schedule error
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- Metabox not show in categories custom post type cmb2
- Repeatable Fields Metabox with Textarea (or wp_editor)
- How to use TinyMCE Editor for one of my custom post meta field?
- Display correctly using metabox.io
- pre_get_posts for custom page builder meta box
- Translating custom post type metaboxes [closed]
- How to Add multiple instance of meta box to custom post type
- Using POST method in meta box, no results
- Add additional field to custom post_type
- Add a custom meta box for client to order CPT posts how they want
- Save Multiple Metabox values
- Use remove_meta_box conditionally on custom post type
- create custom meta box with default value
- Create metaboxes based on custom post type
- How to Echo Metadata Value in Currency Format
- Problem with $post_id object’s property
- How To Display A List Of CPT Posts In A Meta Box On Menus Page?
- populate array with posts
- How to make a meta box?
- Forms and WordPress Nonce
- Why do I have to press the “Update” button twice to save my meta box values?
- link featured image to external link
- Odd behaviour for the update button when displaying a WP_List_Table
- Creating alternate meta box context locations
- Showing a meta box in a custom post type on a page
- Having Issue on Getting Metabox Checkbox Value
- Custom meta box in custom post type not working
- Multiple wp_editor instances in custom post type using Ajax
- WP_Meta_Query object with conditionals
- I can’t connect my custom jquery to wp admin
- Saving meta box data?
- Function to return values from metabox
- Invalid file type when using wp_upload_bits to upload PDF to a custom post type
- Add a meta field to the list of results for a custom post type
- Metabox does not show in custom post type
- One Custom Post Type two different Templates
- Create a custom post type based on ‘Post’
- How do you make relational post types in WordPress? [duplicate]
- Include a metabox in the ‘home’ screen of a custom post type? If not, then the dashboard page?
- Wp Meta Query does not work while simple Query Works
- Create a Dropdown Selector and Redirect for a Custom Taxonomy in WordPress?
- How to get custom post type with dynamic ID
- Custom metabox with image gallery upload that won’t attach images to post
- Problem with multi checkboxes value in metabox?
- Wp Query sort order from custom MetaBox
- How to retrieve custom post type permalink in another cpt?
- do action inside a class is not working
- Dropdown switching subcategories portfolio
- How to add a custom meta box below publish box in CPT that is like publish meta box and can contains html?
- Search form to find custom meta box generated data
- Edit post meta direct from post.php?
- How to Arrange Support => Thumbnail
- Add different meta box based on taxonomy
- Custom metabox value not saving
- Yearly Archive from a custom date metabox (Event Start Date)
- Need to build custom metabox select prev posts by category
- How to output the content of a Custom Post Type from a drop down form?
- Customized featured image doesn’t refresh in post admin metabox after upload/insert
- Saving custom metabox data with a twist
- loop through custom post-type with two meta_keys
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- CPT Template Option to Top
- Use a Variable in update_post_meta as the $meta_key
- Canot save post if any meta box was empty
- How to consume external API from WordPress post editor and display the response data in the custom field?