You must set it the ids in a array like:
if ( is_single( array( '11717', '11723') ) ) {
}
Related Posts:
- Custom SQL query to get List of posts with featured image url
- Using a javascript file to access a get posts array
- Get_the_author doesn’t return author name
- Only show first image in foreach loop
- Get the id of all images in a post
- array_rand not working correctly?
- Update value of a associative array with update_post_meta
- Pagination in single.php
- Limit the number of characters/words in an excerpt for a related posts section
- How to center all text body in single.php at once?
- LinkedIn Share Post Button
- Make sticky post with FacetWP
- Disable Attachment Pages Completely
- Inject post (from specific category) between posts in Loop
- Remove option to allow trackbacks/pingbacks from post page options
- Metabox repeating fields – radio buttons not saving correctly
- How can merge two arrays values in one array and save in database
- How to get year, month and hour in WordPress?
- Compare two meta key values against each other inside the get_posts array?
- Handling an Ajax form submit
- Print number of post (in reverse)
- Count number of published posts by type
- Can an array be used as a meta_query value?
- Automatically generate Post/Page from searched Database item?
- List of posts by day of the week
- Get taxonomy terms only of the WP_Query current posts
- ‘orderby’ => ‘rand’ alternative for better performance?
- How to get 2 or multiple custom post types in wordpress functions.php
- Displaying a button on each post
- Hide post if matches current month and year
- Creating bulk posts with Youtube videos
- Create shortcodes within foreach loop (using array)
- How Display Posts on category
- Getting a specific post values to another div or modal
- Unreadable pagination
- how do I get a specific post from a post with a subcategory in WP
- Reprinting tags with all attributes
- Open post-content in archive page in a Modal box with bootstrap
- remove post that has no content
- Checking array against author id in loop
- How to show only subcategories in parent category not parent category?
- Grouping posts by a custom meta value
- Get latest post from all categories except one
- Error while setting role
- Automatically add images to a menu
- How to use two meta_compare in an array?
- Loop over Array and get the distinct ids
- Store metakey value as an array
- Remove empty terms from array, sort alphabetically, update back to repeating field
- Filter by field with array value in ACF on WP REST API
- create front-end users post list by specific category
- Error display post thumbnails for previous and next post
- form $_post action value gets truncated after it passes through two forms
- Only load certain artists on this page
- Get URI from PodPress using PHP
- Custom functions for string data calculations
- Wp Query : Order by distance lat,lon
- remove specificly the last tag in all posts
- Add posts to custom table in database instead of wp_posts
- get value from get_post_meta then reuse it in another get_post_meta
- WordPress Post Block Element not properly parsed with the_content filter
- Build A Custom SQL Query for WordPress Search
- WordPress Custom Form – Getting Query Vars, Weird Glitch?
- How to Send Pingbacks for all Posts in WordPress?
- Display articles with a different template in the home page | Solved |
- How can I check if a post with a particular slug or title exists?
- WordPress sorting posts by date and title using a dropdown
- Query on a repeater date (acf)
- how to separate an array into different arrays and save them into db?
- Trying to get post ID outside loop on blog page
- My single.php page skips the first div tag
- Enqueue script only on child pages of custom post types
- Attach and retrive multiple pdf files to post or page
- ACF – Get ID of relationship field in flexible content
- Check the database for a postmeta field
- Replace an array (with identical values) with another array in the_content
- Get list of posts from attachment
- Combine multiple queries, array_unique returns nothing
- When working with a post, almost all wp_postmeta are deleted
- Displaying POST content with HTML tags and all
- get_users when from meta key that has serialized values
- make an array in wordpress cusmization api?
- Pagination in WP Queries
- Add div after every 4 posts then every 2 posts for a responsive loop
- How to replace hard-coded list of custom taxonomy terms based on custom field query [closed]
- Only display notification on single post
- Get a list of tags present in a paged front page
- Get posts associated with media attachment
- Can’t put a hyperlink on Featured Post’s Image
- Page returning ID from array, how to return the correct values for post in acf wordpress
- WordPress get_post_meta issue
- Auto remove empty values in array
- Unserializeing multiple column values that are stored in one database results variable
- Automatically create a loop for post ID
- Post Thumbnail on Single (if elseif else)
- Display pages from specific page template
- get_permalink returning first letter
- How to display the date under the post title?
- Excerpt all post content Content Same Size without word cutting off
- How to group by column a and sum column b and c in a php array