Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Edit Archive.php to work with plugin WordPress


I am using Swift Idea's [[LINK href=""]]Cardinal[[/LINK]] theme.

I need to use D&C's [[LINK href=""]]Search & Filter Pro[[/LINK]] (S&FP).

On most themes, as shown in the top widget on my Twenty Fifteen [[LINK href=""]]Demo Site[[/LINK]], S&FP works fine however, on the top widget of Cardinal [[LINK href=""]]Demo site [[/LINK]], it does not. This happens as soon as Cardinal is activated.

The issue is that Cardinal uses a custom WP_Query in archive.php file at /cardinal/swift-framework/layout/ that prevents using Search & Filter Pro from working properly, as shown here, without modification.

I need someone to reference [[LINK href=""]]S&FP's documentation[[/LINK]] and modify Cardinal's archive.php (preferably in the Child Theme) to work accordingly.

[[LINK href=""]]Search Filter Pro Search Results Docs[[/LINK]]

D&C also has a shortcode: [[LINK href=""]]Search Filter Pro Shortcode Docs[[/LINK]]

Credentials to both Demo sites provided by PM upon request.

Answers (0)

No answers yet.