PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wilcity
/
single-event
<?php use WilokeListingTools\Framework\Helpers\GetSettings; global $wilcityArgs; $aEventContent = GetSettings::getOptions('event_content_fields'); foreach ($aEventContent as $aField){ $fileName = str_replace(array('listing_', 'event_'), array('', ''), $aField['key']); $wilcityArgs = $aField; if ( is_file(get_template_directory() . '/single-event/content/' . $fileName . '.php') ){ get_template_part('single-event/content/' . $fileName); }else{ get_template_part('single-event/content/custom'); } }
[+]
..
[-] header.php
[edit]
[-] .single-event.php
[edit]
[-] comments.php
[edit]
[-] content.php
[edit]
[+]
content