Forums › Forums › Search & Filter Pro › Categories are all empty
- This topic has 16 replies, 2 voices, and was last updated 5 years, 4 months ago by
Trevor.
-
Trevor(Private) December 19, 2019 at 3:04 pm #229485
Ah, I see that your theme has its own templates, and does not use the EDD shortcodes.
See here (this file):
https://www.screencast.com/t/XGniRkCX
Can you add that line?
I have changed the form to Custom and changed the Ajax Container (as a temporary value for now).
If this works, this edited file needs to be in a child theme (like Olam child), and not Olam itself, but you are using the parent theme at this time.
Trevor(Private) December 19, 2019 at 3:19 pm #229491But, it is really important to use a child theme and have the modified file in that folder, otherwise changes will be lost when you update the theme.
The Ajax Container is not ideal, but in that same file, further up the code, you can see where it makes the div with those class names. You could add a sensible class name (like
.search-results
) and use that as the Ajax Container, as the current value is a little too generic.Anonymous(Private) December 19, 2019 at 4:59 pm #229509Hi Trevor,
can you give me a adivse where to put the class name exactly?<div class=”row”>
<?php $downloadColumn=12; ?>
<?php if ( is_active_sidebar( ‘olam-download-category-sidebar’ )){
$downloadColumn=9;
?>
<div class=”col-md-3″>
<div class=”sidebar”>
<?php dynamic_sidebar( ‘olam-download-category-sidebar’ ); ?>
</div>
</div>
<?php } ?>
<div class=”col-md-<?php echo esc_attr($downloadColumn); ?> col-right”>Thanks
Matthias -
AuthorPosts