Inside the plugin are the setup instructions to configure your theme correctly. That should get your white background back.
Visit Dashboard > Easy Property Listings > Help > Getting Started > Theme
In order to rename the slug “property” to “SZÁLLÁS” you need to define the new name in your theme functions.php file
define( ‘EPL_PROPERTY_SLUG’ , ‘szallas’ );
Note: after doing this, you should resave your permalink structure for the changes to fully take effect.
Thanks Merv!
I tried to configure my theme today according the description in “getting started” menu.
I think I did everything as its written, but still problem is not solved completely, Although now I have a white background here (http://sosto.eu/property/zimmerke/) you can see that the arrow under the white box still does not have white background.
Another thing is that the whole page (http://sosto.eu/property/) completely transparent.
Here are the codes that I found in the archive.php and single.php. Please highlight the parts that you think has to be replaced.
1. archive.php
<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( ‘content’, get_post_format() );
?>
<?php endwhile; ?>
<?php adventurous_content_nav( ‘nav-below’ ); ?>
<?php else : ?>
<?php get_template_part( ‘no-results’, ‘archive’ ); ?>
<?php endif; ?>
2. single.php
<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
//get_template_part( ‘content’, get_post_format() );
$postformat = ( get_post_format() ? get_post_format() : ‘single’ );
get_template_part( ‘content’, $postformat );
?>
<?php adventurous_content_nav( ‘nav-below’ ); ?>
In the theme folder I also have index.php file that I did not dare to touch. Maybe I have to make some changes there also?
In my previous post I forgot to mention the name of the theme i use – its Adventurous (free version) link: https://wordpress.org/themes/adventurous
Here is a demo of the Adventurous theme
Go here to download the template files for the Adventurous theme.
I had to wrap the functions in an <article> tag