tell me how to get the second date there?

Posted in: Newspaper
Post count: 20

Good afternoon!
Based on the template, I created a list of events. Each record is a separate event. I need to specify not only the date of the post, but also the second date (the end of the event). For this, I use the Advanced Custom Fields plugin
On the event page, I solved this issue by adding code to the loop-single-1.php file
(<Div class = “td-module-meta-info”>
                    <? Php echo $ td_mod_single-> get_author ();?>
                  
                  <? Php echo $ td_mod_single-> get_date (false);?>
                   
                   <Span style = “font-size: 22px; color: # 9a0000; font-family: Open sans; line-height: 30px; padding-left: 10px;”>
                    <? Php echo $ value = get_field (“data”);?>
                    </ Span>)

On the main page I use “Block 4” (td_block_4.php), and one date of the event is displayed – tell me how to get the second date there? <? Php echo $ value = get_field (“data”);?>

Post count: 20

My site afisha-smolensk.ru

Post count: 22421

Hello,

Unfortunately this represents customization which is not covered by the theme support. We have not tested this method so i cannot say for sure how to get the second date to show up in the block. You will need to create separate fields for each date and then call them in the module files. If you do not know how to do this you can hire a freelancer to help out as we do not have a customization department.

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.