How to replace Taxonomy archive view with FP Custom Display

I have successfully created a submission form to create Custom Posts with hierarchical taxonomy.

When I view a category, the entries are displayed, but in a WordPress post archive format.
I would like to replace the archive format with a Custom View from Formidable Pro.

I have inserted a Custom Display into achive.php using this code:
echo FrmProDisplaysController::get_shortcode(array(‘id’ => xx));
Along with a Where condition:
“Category is equal to [get param=mycat]”

This has replaced the archive view with my Custom Display, but I am now getting duplicate entries.

Any suggestions?

Any update on this?

Did you just add that code to your archive.php or did you replace the archive.php code that displays categories? My guess is that the archive.php code is displaying your posts, and your custom display code is displaying your posts.

That being said, the archive.php file is used for a lot of different things, so it is not usually recommended to modify this file.

Thanks Steve, you sent me in the right direction.

I hacked out a couple more lines of code that must have been creating the duplicates, and now it seems to be working correctly.

I have actually replaced the original archive.php and am now working on a new taxonomy.php
Is this the best way to tackle this?

Cheers,
Chris

Yeah, using a taxonomy.php file is a better way to go. Glad you got this working.

Topic closed.