You are almost there you just need to call it inside your theme file
say in your index.php
inside the loop somewhere between
<?php while ( have_posts() ) : the_post(); ?>
///
///
<?php endwhile; // End the loop. ?>
you need to add a call for that image using get_post_meta()
like this:
<?php while ( have_posts() ) : the_post(); ?>
$img_src = get_post_meta($post->ID, 'paddimage-gallery', true);
if (isset($img_src){
echo '<img src="https://wordpress.stackexchange.com/questions/9169/. $img_src .">';
}
///
<?php endwhile; // End the loop. ?>
Hope this Helps.
Related Posts:
- WordPress Orderby Numeric Value Not Working
- Show the same Article Available in Other Categories
- Update Post Meta for a logged in user
- Two Custom Post Types Many to Many Relationship
- Update postmeta Parent when post_status child change
- Batch Extract Date from post title and put into ACF custom field
- Get_post_custom not fetching value from array wordpress
- Add a form in every post and save data in post meta
- SELECT custom post type and its meta in SQL
- Save data is post using php front end
- Show posts from WP Custom Post Type selected from a field in a metabox
- How to properly get the wp_postmeta.meta_value of a custom post type in specifics?
- update a posts of other custom post type
- Edit post meta direct from post.php?
- How to create content automatically when a post is published?
- Display a post count from a custom metabox selection
- Top 30 Songs using Custom Post Type
- Automatically add custom taxonomy when meta value gets to a set number or beyond
- Remove slug from custom post type post URLs
- How to get post content by calling ajax?
- Get post with multiple meta keys and value
- Get category id from post id of a custom post type
- Echo all meta keys of a custom-post TYPE
- Limit widget to a specific registered sidebar
- WP_List_Table Inside Metabox Not Working on Submit
- Showing current taxonomy terms
- Custom Post Type: Set post_title equal to a custom post type field
- I can’t set meta_key in my custom post type query
- Newer/Older posts links display same posts on every page
- custom sortable column
- How can I include meta box content when searching?
- How to embed form data within the ‘Add new post’
- When viewing single parent post, display list of children
- Limit Authors to their Own Posts on front-end excluding admins
- Remove Post Page “View Post” Link
- Automatically adding meta data to posts or multiple query help
- Get all posts WHERE custom_field is LIKE value
- Trigger “unsaved changes” dialog for custom post meta changes
- Conditionally Query Custom Post Types by Post Meta for Blog Home Page?
- How do I sort a custom post type admin column using two meta keys?
- How can I display my custom metaboxes on a custom post template?
- Loop on front-page.php
- how to interconnect custom post types?
- orderby in custom WP Query does not work
- How to create custom boxes with text inside?
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Notice: Undefined index: error and understanding wordpress
- Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?
- Disable block with taxonomies at post page
- Display Ad on Specific Categories
- Show titles, date of all posts on single category page
- post meta parameter in post custom-post-type endpoint with restapi
- Shortcode not working with post counter
- Changing default ‘posts’ parameters with register_post_type_args
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- List Taxonomies: Don’t list taxonomy if it has no post – depending on custom post-meta?
- Check post on publish for blank title
- Different Limit number of post on different archive page
- How to change “post_class()” for a custom post type?
- Including link to custom post type in ‘wp_list_pages’ function
- Get an array wich contains the post_name of every post that has the custom post_type “pelicula”
- Custom post types and ‘new WP_Query’
- Showing custom post type categories in the menu
- Values from meta-box not on $_POST
- Returning a custom content types with meta values
- Dynamic pages for linked categories and content
- Separate Content from gallery (custom post type)
- How to set the mainpage of a custom post type?
- How can I output WPAlchemy repeating fields meta values in my page template?
- Meta box data not saving
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- best way to use custom taxonomy, post type and meta in a job system
- Does “Custom Post Type” can have page hierarhy option?
- WordPress CPT Taxonomy Dashboard Search – How to include taxonomy in search?
- How to create review point system for CPTs (many-to-many relationship)
- Is it possible to get the specific content on the search page?
- After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel
- How to mass get post editor URLs
- How can I write a function that would update any missing specific post metadata?
- Custom attachment function not working in v5.4.2?
- how to display posts content on the custom css popup by clicking on each title on the sidebar?
- How to create editable sections in wordpress?
- Instructor can view, edit, delete only theirs courses
- How can I group by Taxonomy on Custom Post Type while filtering out based on custom Meta
- subtracting the current post form then whole loop, which is generating all CPT titles
- Custom Function to redirect singular post if specific meta field is empty
- Widget area for individual posts (custom post type)?
- Custom post type: “transition_post_status” action get title and other fields
- How do I extract the contents of a CPT’s custom field for all posts?
- Delete custom post type metadata without deleting the post in admin area
- Order by post meta value gets random results
- Custom Post Type used for FAQs Accordion
- How to Associate Posts with Pages
- Rich Custom Field for Custom Post type not saving
- delete custom post type using a submit form
- Why are my wp urls showing page not found?
- Post content stays the same but permalink changes ?
- Can I set a CPT title field to a dropdown with preset options if user is of a given type?
- How do I display the index position of a post from a custom post type?
- Two pagination in one page without AJAX