Home › Forums › Theme support › Skyline Theme Adjustment Revisit › Reply To: Skyline Theme Adjustment Revisit
Ah, you changed the files already?
Ok, normally this is not covered by free support, because customizations are not included.
This time we can make an exception. This is the modified code from your first post for the estate-single-default.php file (your code from above + modification):
<?php
if(get_the_term_list( get_the_ID(), 'estatekind', "", "" )!="")
{
$otype= strip_tags(get_the_term_list( get_the_ID(), 'estatekind', "", ", " ));
}
?>
<p class='object_details_line'>
<strong><?php if($eadress) { echo "".$eadress; } ?></strong>
<style="font-size:45px"><strong><?php
if(get_the_term_list( get_the_ID(), 'estatecity', "", "" )!="")
{
echo strip_tags(get_the_term_list( get_the_ID(), 'estatecity', ", ", ", " ));
}
?>,
<?php
if(get_the_term_list( get_the_ID(), 'estatecounty', "", "" )!="")
{
echo strip_tags(get_the_term_list( get_the_ID(), 'estatecounty', "", " "," " ));
}
?></strong>
<strong><?php
if(get_the_term_list( get_the_ID(), 'estatecountry', "", "" )!="")
{
echo strip_tags(get_the_term_list( get_the_ID(), 'estatecountry', ", ", "" ));
}
?></strong>
<strong><?php if($ezip) { echo "".$ezip; } ?></strong>
And I’d like to change what displays under the pictures in the Featured Properties as follows:
From this:
PA › Allentown Lehigh County
To this:
Allentown, Lehigh County, PA
For this you have to remove the following code from your estate-entry.php file:
<?php
if(get_the_term_list( get_the_ID(), 'estatecountry', "", "" )!="")
{
echo strip_tags(get_the_term_list( get_the_ID(), 'estatecountry', "", " › " ))." › ";
}
?>