Title: pluginandplay's Replies | WordPress.org

---

# pluginandplay

  [  ](https://wordpress.org/support/users/pluginandplay/)

 *   [Profile](https://wordpress.org/support/users/pluginandplay/)
 *   [Topics Started](https://wordpress.org/support/users/pluginandplay/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pluginandplay/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pluginandplay/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pluginandplay/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pluginandplay/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pluginandplay/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 701 total)

1 [2](https://wordpress.org/support/users/pluginandplay/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/pluginandplay/replies/page/3/?output_format=md)…
[45](https://wordpress.org/support/users/pluginandplay/replies/page/45/?output_format=md)
[46](https://wordpress.org/support/users/pluginandplay/replies/page/46/?output_format=md)
[47](https://wordpress.org/support/users/pluginandplay/replies/page/47/?output_format=md)
[→](https://wordpress.org/support/users/pluginandplay/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] Only show posts with custom field (date field) after today](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/#post-18323080)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * You have already provided this information previously but it is not helpful.
 * Kindly check the stored value in the database. You can find it postmeta table
   with reference to the post id.
 * Please let me know what exactly it is storing in the DB.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] Only show posts with custom field (date field) after today](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/#post-18275499)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * As you are saying the ACF custom date field return value is d-m-Y.
 * Actually return format is different than what actually stored in the database.
 * Kindly check the stored value in the database. You can find it postmeta table
   with reference to the post id.
 * Please let me know what exactly it is storing in the DB.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] Only show posts with custom field (date field) after today](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/#post-18264860)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * For your query,
 * 01) The code you provided should be place in the functions.php file?
   Ans – Yes.
 * 02) The time format we use is d-m-Y.
   Ans – OK then you need to use the same format
   in the given code.
 * 03) We have a few shortcode(s) of the plugin slider on the same web page with
   different sorting and result set, will the code affect all of them and wondering
   how to target only one of the sliders on the same page without affecting the 
   others?
   Ans – Actually yes it will affect all the sliders. There is no direct
   provision in the lite version but you can apply a little tweak.
 * `[psac_post_slider category="4" orderby="custom-date"] /* This will bring the
   category post. You can enter category ID or Category Slug. You can pass multiple
   values as a comma separated */`
 * In the above shortcode make sure you pass orderby=”custom-date” so “custom-” 
   will be the static string and after dash (-) you should pass the original order
   by value. In this way it will work for that slider only which has orderby=”custom-
   date”.
 * Please try this modified code [https://pastebin.com/raw/KMEmnrPS](https://pastebin.com/raw/KMEmnrPS)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] Only show posts with custom field (date field) after today](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/#post-18252339)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * Thanks for your patience. I have prepared the code but I have few queries,
 * First of all you have to use the shortcode with category parameter i.e. `[psac_post_slider
   category="4"] /* This will bring the category post. You can enter category ID
   or Category Slug. You can pass multiple values as a comma separated */`
 * So Post Slider and Post Carousel plugin above shortcode will do the half work.
   Now we want to fetch result which has custom date >= today date.
 * Please use this source code [https://pastebin.com/raw/BJ5QXAn6](https://pastebin.com/raw/BJ5QXAn6)
   and add it to your current theme / child theme functions.php file.
 * This will modify the post slider output.
 * Now my query is,
 * 01) Does your meta key named `end_date` stores only date or it stored date and
   time?
   02) What is the format of storage? Is it Y-m-d?
 * Based on this a code will be modified. Right now code is written by assuming 
   that it stored the date in Y-m-d format in database.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blog Designer Pack - Blog, Post Grid, Post Slider, Post Carousel, Category Post, News] Missing Sticky posts](https://wordpress.org/support/topic/missing-sticky-posts-2/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/missing-sticky-posts-2/#post-18248935)
 * Hello [@elsoar](https://wordpress.org/support/users/elsoar/)
 * Sorry for the delay response.
 * Actually sticky post functionality is not available in the lite version.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] Only show posts with custom field (date field) after today](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/#post-18245474)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * Thanks for your response. No issue, I will help you with that.
 * Can you please tell me what exactly you want in WP Query?
 * I mean which type of Post you want to get. Is it specific custom field? So give
   me its meta key and value or is it specific category post you want to fetch?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] Only show posts with custom field (date field) after today](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/only-show-posts-with-custom-field-date-field-after-today/#post-18242616)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * Sorry for the delay response.
 * Yes, It is possible bur requires technical knowledge. Post Slider and Post Carousel
   plugin have WP Query filter which you can use and modify the query output as 
   per your need.
 * For Slider query you can use the `apply_filters( 'psacp_post_slider_query_args',
   $args, $atts ); `
 * And Carousel query you can use the `apply_filters( 'psacp_post_carousel_query_args',
   $args, $atts );`
 * I hope the above information will help you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blog Designer Pack - Blog, Post Grid, Post Slider, Post Carousel, Category Post, News] Post Grid Responsiveness on Mobile](https://wordpress.org/support/topic/post-grid-responsiveness-on-mobile/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/post-grid-responsiveness-on-mobile/#post-18231199)
 * Hi [@allspicedout](https://wordpress.org/support/users/allspicedout/)
 * Sorry for the late reply.
 * Here is one method where you can manage this with custom CSS:
 * `@media only screen and (max-width: 640px) {.bdp-column, .bdp-columns{width:50%!
   important;}}`
 * Right now we have 100% to columns if screen size < 640. With this custom css 
   you can set this to 50%
 * You can add this CSS to WordPress Appearance > Customize > Custom CSS or in your
   theme / child theme style.css
 * Please try the above CSS and let me know if there is anything.
    -  This reply was modified 1 year, 4 months ago by [pluginandplay](https://wordpress.org/support/users/pluginandplay/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] Issue with HTML Tags in Post Slider and Carousel Plugin for WordPress](https://wordpress.org/support/topic/issue-with-html-tags-in-post-slider-and-carousel-plugin-for-wordpress/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/issue-with-html-tags-in-post-slider-and-carousel-plugin-for-wordpress/#post-18218764)
 * Hi [@manoj317](https://wordpress.org/support/users/manoj317/)
 * Thanks for your response. Yes, I saw the code but it will not work with the `
   content_words_limit` parameter as you have removed it.
 * No Issue, It will work as per your need at this moment. Right now there is no
   provision to modify the function or template but in future I will try to add 
   the templating functionality so you can modify the plugin HTML by copying its
   file to your current theme.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] orderby rand does not work with Posts in descendant category](https://wordpress.org/support/topic/orderby-rand-does-not-work-with-posts-in-descendant-category/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/orderby-rand-does-not-work-with-posts-in-descendant-category/#post-18218763)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * Thanks for your response. Yes, `add_action( ‘pre_get_posts’, ‘my_change_sort_order’);`
   is changing the order of Post Slider and Post Carousel plugin query.
 * Your function will change query parameter for every archive page because of this
   condition `if(is_archive()):`
 * As per your response on [Dec 08, 2024](https://wordpress.org/support/topic/orderby-rand-does-not-work-with-posts-in-descendant-category/#post-18185178),
   In archive page you have a Post Slider and Post Carousel plugin shortcode and
   below it there is a WP Query which is fetching the record of particular category`
   a_category` and query is orderby post_title in ASC.
 * So the function in the functions.php is not necessary if you had placed for this
   archive page only. Is this function used for any other archive page?
 * If not then simply comment it and every thing will work normal.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] Issue with HTML Tags in Post Slider and Carousel Plugin for WordPress](https://wordpress.org/support/topic/issue-with-html-tags-in-post-slider-and-carousel-plugin-for-wordpress/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/issue-with-html-tags-in-post-slider-and-carousel-plugin-for-wordpress/#post-18212520)
 * Hi [@manoj317](https://wordpress.org/support/users/manoj317/)
 * Thanks for the image. Yes, “Post Slider and Post Carousel” plugin only display
   the post content as text as brief / short content. It does not allow HTML in 
   it because of the `content_words_limit` shortcode parameter.
 * There may be a chance that HTML could be incomplete with respect to `content_words_limit`
   and it can break the slider functionality.
 * I appreciate your feedback and try to implement in future version with some work
   around.
    -  This reply was modified 1 year, 5 months ago by [pluginandplay](https://wordpress.org/support/users/pluginandplay/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] orderby rand does not work with Posts in descendant category](https://wordpress.org/support/topic/orderby-rand-does-not-work-with-posts-in-descendant-category/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/orderby-rand-does-not-work-with-posts-in-descendant-category/#post-18199861)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * Thanks for the code. The first part is “Post Slider and Post Carousel” which 
   has orderby random and second part is another query (Query 2) which has orderby
   post title.
 * Both are individual query and works independently. Have you tried another orderby
   parameter in Post Slider and Post Carousel shortcode just to understand only 
   orderby random is not working or others are also?
 * Some hosting disable the orderby random due to performance issue and sometime
   third party plugin interrupt the WP Query also by hooks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] orderby rand does not work with Posts in descendant category](https://wordpress.org/support/topic/orderby-rand-does-not-work-with-posts-in-descendant-category/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/orderby-rand-does-not-work-with-posts-in-descendant-category/#post-18184636)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * Sorry for the delayed response. No should not affect. Both queries are independent
   and it will work independently.
 * Can you give me your web page URL? So I can take a look and try to understand
   the scenario. One more thing to confirm as per your response, Order By is not
   working in your Gallery plugin or in Post Slider and Post Carousel Plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logo Showcase - Responsive Logo Carousel, Logo Slider & Logo Grid] Carousel – Random order](https://wordpress.org/support/topic/random-order-40/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/random-order-40/#post-18167940)
 * Hi [@motk88](https://wordpress.org/support/users/motk88/)
 * Thanks for your message. Actually “random order” functionality is not available
   in the lite version.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider] orderby rand does not work with Posts in descendant category](https://wordpress.org/support/topic/orderby-rand-does-not-work-with-posts-in-descendant-category/)
 *  Plugin Author [pluginandplay](https://wordpress.org/support/users/pluginandplay/)
 * (@pluginandplay)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/orderby-rand-does-not-work-with-posts-in-descendant-category/#post-18167932)
 * Hi [@travelavenger](https://wordpress.org/support/users/travelavenger/)
 * Sorry but I am not asking about the WP Query in archive.php file actually I am
   saying that
 * Can you please tell me which hosting you are using? Because some hosting companies
   disable the order by random.
 * Is there any third party plugin active which can modify the WP Query behavior
   via Hook or Filter?
 * Also one more thing, Its only orderby=”rand” or none of the orderby parameters
   is working.

Viewing 15 replies - 1 through 15 (of 701 total)

1 [2](https://wordpress.org/support/users/pluginandplay/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/pluginandplay/replies/page/3/?output_format=md)…
[45](https://wordpress.org/support/users/pluginandplay/replies/page/45/?output_format=md)
[46](https://wordpress.org/support/users/pluginandplay/replies/page/46/?output_format=md)
[47](https://wordpress.org/support/users/pluginandplay/replies/page/47/?output_format=md)
[→](https://wordpress.org/support/users/pluginandplay/replies/page/2/?output_format=md)