Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1335355
    tlwoods
    Participant

    Hi,

    I’m looking to add some CSS to individual posts (in The Grid if possible) based on when they were published (in the last day, in the last week, etc.)

    I’d found this: https://codex.wordpress.org/Class_Reference/WP_Query#Date_Parameters

    I’m not sure if this falls under your purview, but any assistance would be helpful.

    URL is reclaimnewyork.org

    Thanks

    #1335373
    Joao
    Moderator

    Hi There,

    Can you please clarify in more details what you have in mind?

    Thanks

    #1338952
    tlwoods
    Participant

    We’d like to add a different color border to posts in The Grid based on whether they were posted in the last 24 hours, the last 7 days, or the last month.

    #1339257
    Rue Nel
    Moderator

    Hello There,

    Thank you for the clarifications. Regretfully this isn’t a feature offered by the Grid plugin. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.

    Meanwhile, please check the plugin documentation here: http://theme-one.com/docs/the-grid/

    Thanks for understanding. Take care!

  • <script> jQuery(function($){ $("#no-reply-1335355 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>