<?php if (is_home()) {
if (has_term( 'estate', APP_TAX_CAT )){
echo get_post_meta($post->ID, 'cp_rooms', true);
}else if (has_term( 'cars', APP_TAX_CAT )){
...
<?php if (is_home()) {
if (has_term( 'estate', APP_TAX_CAT )){
echo get_post_meta($post->ID, 'cp_rooms', true);
}else if (has_term( 'cars', APP_TAX_CAT )){
...
Looks nice!, good job :)
Hi everyone!, Checkout this tutorial add-delete-button-dashboard-alert-window
Hi everyone!
Note : Before editing the file make sure you have a duplicate
First is first, I recommend using a child theme part 1 and part 2 tutorials, so you well not lose you changes.
1....
Add this code to your child theme ( functions.php )
// Unhook default appthemes functions
function unhook_appthemes_functions() {
//this will disable the ( theme_header.php ) file
...
1 - Go to you theme directory and find file ( featured.php ).
2 - Open it, you well find at the top a script tag
<script type="text/javascript">
// <![CDATA[
/* featured listings slider */...
It’s easy to do this in Word*Press, just add the fol*low*ing to your theme’s functions.php file.
/*
* Move al JavaScript file to the footer.
*/
remove_action('wp_head', 'wp_print_scripts');...