post__in takes an array of post IDs. What you are passing is a string into an array
Try to change code a bit e.g.
// Check if href has a value before we continue to eliminate bugs
if ( !$value ['id_post'] )
return false;
$post_ids_array = explode(',', $value['id_post']);
$args = array(
'post__in' => $post_ids_array,
'orderby' => 'date',
'order' => 'DESC'
);
Related Posts:
- Redirect to another page using contact form 7? [closed]
- Nested shortcode functions accessing variable
- How to call WordPress function other files
- What is @Action in WordPress?
- Add the_post_thumbnail_url to a shortcode in function.php
- Adding a Tag Parameter / Filter to My Shortcode
- How to get current cart values using WC_Shortcodes?
- adding dynamic/multiple slug values in ‘option_none_value’
- Get Shortcode output to database for static post_content
- Find all strings between an enclosing shortcode
- Posting code inside the post instead of in the template file using shortcode
- Integrate Razorpay quick payments plugin with contact form7 plugin
- Plugin update error message
- How to Loop Plugin Option Field Set?
- PHP Deprecated: Non-static method should not be called statically
- Can we completely remove the WordPress Sitemaps (WordPress 5.5)?
- Set a User as Author of all ‘New Posts’ posted
- Post source link plugin – small modification
- Calling function from within functions.php returns unwanted value
- Is it possible to filter the wp_footer() scripts, read the content, and insert them inline?
- HELP: Integrating WP with raw PHP code once published button is hit
- How to redirect Old Post URL to new Post and keep Old post Comments?
- Modifying Footnote Plugin for Descriptive Title Attributes
- I would like to use create a function in my custom plugin to tell WP to use a different header
- New Plugin: Post update pushes a copy as a revision
- bulk change of image setting “link to” to “link to: image url “
- Trying to count the total number of paragraphs inside a blog article
- How to get post URL in the_content filter?
- May i Use ShortCode in Template?
- add_query_arg not working
- Executing my function once on a specific time
- How to stop or remove an action being called inside a function of an extended class
- How do I “get the next 10 posts after post_id == x”?
- Theme my Login plugin, how to update fields
- Adding Shortcode to Text Widget
- Date calculations from 2 custom fields
- How to enable specific plugin only based around shop manager role?
- Adding a new field to the address field type in gravity forms
- Calling an attribute from a plugin shortcode
- Customize permalink wordpress category id
- WP Query. Is there a maximum size?
- How to create a custom shortcode based on the layout?
- Remove echo from shortcode
- Load Javascript from Plugin in One Page Only?
- How to Loop Through all Posts and Count Attachments using Get Media Attachments
- Checking the count within a foreach loop
- Help with WP Business Directory Manager Plugin?
- wp_dequeue_script for a Plugin
- Need to replace Currency Shortforms
- How to translate wordpress error message
- Api external with wordpress
- strange shortcode error: does shortcodes requires any dependency?
- All custom widgets are not showing in widget area at the same time
- More gentle way to hook WordPress custom url
- How to add custom function to pluggable.php
- Pagination not working
- Can you echo PHP code from a variable?
- Creating New Dynamic Fields for a Certificate (Number Generation, Code Referencing, and more)
- Searching a tab/space delimited text file based upon form criteria and returning a ‘record’ into a word press results page
- Checkbox show / hide output result
- Custom Logo Link WordPress
- How to convert Currency from USD to other IP Based currency in Php function
- how to validate input field in wordpress generated with wpform plugin
- implement custom roles in custom plugin
- Attempting to list all product categories and the price range of all products within them
- Creating an array from form inputs before it is posted to the options database
- Share my WordPress plugin for updating how?
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Hide content for specific users with id
- Submitting form to PHP
- Why is my shortcode not working?
- How to assign a specific service to a specific provider based on location
- front end editor creation for Restropress plug in – displaying information from a WP admin area, on a different URL
- working code, not working – Plugin Dev
- Configuring default woo commerce login with modal popup
- Compare Ajax Data Results
- How can I make the search bar in my wordpress site search all of the pages rather than just the blog posts?
- register_activation_hook doesn’t fire at all
- Nested DIV’s across functions in PHP, do not seem to work
- My ajax request don´t work and return 0
- Every time I use wp_get_current_user() my plugin breaks
- Create csv file in plugin
- Saving plugin data returns “You do not have sufficient permissions to access this page.”
- Metabox Data not saving
- How to add a handler for a button in plugin?
- Can anyone tell me why I can’t edit a plugin when it is installed without having to re-install?
- Including a PHP file via a function that is part of a plugin?
- How to disable register and reset the password from WordPress admin panel?
- Move related products after product summary? [closed]
- How to tweak a plugin without preventing it from updating
- Adminimize Plugin — Is there an alternative to limiting Editor to ‘Appearance > Widgets’ only?
- Woocommerce disable checkout on specific day
- Adding a script & php to functions.php
- cURL External API request displays content above other content on page
- Subtract Using GravityWP Count Plugin
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- qTranslate‑X is not translating all shortcodes
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- WordPress Convert queries to slashes using function.php
- I want to allow certain file types on dokan upload files