If what you are trying to do is pre-populate the text input, it looks to me like you need to echo the $zip_code variable you are creating:
<input type="text" name="zipcode" placeholder="Zip Code" value="<?php $zip_code = mo_baptist_get_meta('street_zip'); echo $zip_code ?>" />
other than that, I also noticed that the text input was not closed – I added that in the above example…
Related Posts:
- How do I query a custom post type with a custom taxonomy?
- Get the ID of the latest post
- Return all custom meta data for one custom post type
- Fail to compare dates in meta_query
- Custom post type archive 404’s with paginate_links
- Display Custom Post Type Fields
- Loading Custom Post Type Events into jQuery-based FullCalendar?
- Limit the post for differents custom post type in the same wp_query
- order by meta_value serialized array
- How to get the parent’s taxonomy?
- Loading post content in FancyBox
- Multiple templates for custom post type
- ascending order custom post type
- posts_nav_link on single post template
- How to get only one category of custom post type?
- Used with meta_query in query_posts works slowly
- Query for posts in 2 taxonomies
- How to make an archive page displaying posts in a date range
- Custom Post Type sorted by Title
- How to display recent posts added in several custom post types
- Display custom post types with custom date field value (before today) & order by custom date field
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- List custom post type by custom tax term as page title
- Custom query shows custom post types in trash
- Multiple post type queries (with specific arguments for each)
- What’s a better alternative to this code?
- Query/list all terms and their custom post count
- How to query_post custom posts within default taxonomy?
- How to use custom taxonomies to reference complex relationships?
- Order query using custom meta data
- Query Custom posts of same taxonomy as the post itself
- Get latest 3 posts from multiple CPT in one query
- get custom post type
- Conditional Query of Custom Post Type and custom taxonomy
- Show a Category X’s custom post type on Category X archive page?
- Polylang non-default language ignores tags in WP_Query
- How to edit this code to get the categories in achieve page?
- Category with post type pagination returns 404
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Different Ways to Query Custom Post Types?
- Custom post type archive page for multiple post types
- Listing all term items alphabetically / sorting loop
- How to display Related Posts based on number of taxonomy terms matched
- How to show only the most recent post on my custom post type archive?
- How to make WP_Query not to show irrelevant posts?
- What is the ID parameter for custom post types in query_posts?
- Loop for custom post types filtered by a taxonomy
- How to limit post per page of custom post type?
- Why are some of my custom posts not showing up on my page?
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- Querying multiple values from a single key
- Pagination not working on custom query on a page
- find custom post type post by searching its custom field with my string
- FacetWP paging custom wp_query
- Can’t change posts per page in WordPress Post Type Query
- Best way to create a search for custom post type by custom field values
- Incorrect ordering of custom post type based on time
- List all posts in taxonomy term
- Query all post types but limit to parents
- HM CMB: Post Select Field for CPT ID
- 4 posts per page from single category
- Display Posts Query with IF function
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- Custom Post Type Query W/Category Dropdown
- Query all posts under one taxonomy? Why is my code not working?
- Custom Post Types Not Showing Up In query_posts Result
- Find Posts based on Child Post value
- Custom Post Type ‘Event’: Chronological list of recurring events from meta_values in array
- Showing only posts from the current user who is logged in?
- returning the currect URL for nested posts
- Create a post automatically if search result has zero results
- custom post type and user post count shortcode
- Limit custom post type to the authors only on front-end!
- Posts per Page on custom Taxonomy Template
- Use WP_query to match post types based on custom field values
- minimize wp_query call to database
- Group Custom Posts Types in a Relation field of ACF
- Use WP pagination functions on a custom page template
- Getting Custom Posts with Custom Taxonomy
- How do I get the posts from single page custom post type from a sidebar to display in a page?
- How to set class to “current-page” on the currently viewed single post within a CPT
- WordPress custom post type
- Display 2nd category, only once, as sub-heading, in the loop
- WordPress custom post type queries
- Query Distinct Taxonomies of Custom Post Type
- Custom Query With Multiple Meta Key Value
- Ordering custom post type by custom field without a title
- How can I list custom post by custom category?
- Query Posts From Multiple Post Types
- Return only custom post types for the page, not all
- Advanced Custom Fields: query posts filtered by multiple field values
- WP Build-In Post selector for CPT
- How to apply order on custom taxonomy and custom meta key on custom post type
- send user to first page of results when reposting to page?
- Inserting two categories
- How to exclude certain portfolios from a loop
- show custom post’s post in two different divs [duplicate]
- How to get Custom post type by related category ID
- Display ACF object field data using Elementor Custom Query
- Assign a tag to custom post type using a query