re: If I don’t use the initial_results=’False’ then the enable_category_by_root_parent works, but when I added initial_results the root parent restriction doesn’t work until after I’ve selected from the drop-down.
The code snippet needs to be updated in order to support the
enable_category_by_root_parent shortcode option.
Find this line in the snippet:
$category = cnTemplatePart::category( $atts );
Add this line so it comes before it:
if ( $atts['enable_category_by_root_parent'] ) $atts['parent_id'] = $atts['category'];
Save and update the snippet.
I did not test, but, that should do it.
re: with initial_results added, the search box appears (below the category drop-down box) even though I disabled the search controls in the template customization.
Search for this line in the snippet:
$search = cnTemplatePart::search( $atts );
Change it to this:
$search = '';
Now the keyword search will not be displayed.
re: Any ideas where the initial_results could be conflicting with these other options?
It not really a conflict. Basically what the snippet does is display the category/search controls if a search is not being done. This is hard coded in the snippet. The template is only loaded when a search is being done, so, none of the templates functions/features/option are applied.
Hope that helps!