I want it to be like this screenshot (wrap.png):
HTML:
<div class="parent" id="date-08-01-2024">
<div class="post-item">
<h3>Event 11</h3>
<p>2024-08-01 08:00:00</p>
</div>
<div class="post-item">
<h3>Event 2</h3>
<p>2024-08-01 10:00:00</p>
</div>
<div class="post-item">
<h3>Event 4</h3>
<p>2024-08-01 14:00:00</p>
</div>
</div>
all the .post-item divs wrap inside the .parent div. As well it will be great to give a unique id name to the parent div such as my example above. Ex: id="date-08-01-2024"
Hello. Thank you for contacting the Toolset support.
Can you please share problem URL where you added the view as well as admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Can you please tell me where exactly you added the code you shared. I checked the child theme's functions.php file but I do not see the code you shared.
Thank you @Minesh for your help, but I think I didn't make myself clear.
I wanted a parent div to wrap around the event posts, excluding the Event Date heading.
Like the screenshot attached (it was posted on my first post). So something like this:
<div class="label" style="background-color:#003A3A;color:#ffffff;"><h5>July 16 2024</h5></div><!--Event date heading-->
<div class="parent"> <!--NEW PARENT DIV -->
<div class="post-item"> <!--Child Event Div-->
<h3>Event 3</h3>
<p>2024-07-16 08:00:00</p>
</div>
</div> <!--NEW PARENT END DIV -->
<div class="label" style="background-color:#003A3A;color:#ffffff;"><h5>August 01 2024</h5></div><!--Event date heading-->