WP Deals Codex

Documentation and Codex

Custom Theme Compatibility

Fixing the layout

On the most part, WP Deals templates will integrate nicely with most WordPress themes. Where you may run into problems is when the default WP Deals content wrappers do not match your chosen theme’s. This will manifest itself by breaking your layout on WP Deals pages and shifting your sidebars into incorrect positions. To fix this, using WP Deals hooks (resulting in maximum flexibility).

For the sample:

remove_action('deals_before_main_content', 'deals_output_before_main_content');
remove_action('deals_after_main_content', 'deals_output_after_main_content');

Then hook in your own;

add_action('deals_before_main_content', create_function('', 'echo "
";')); add_action('deals_after_main_content', create_function('', 'echo "

Making sure that the markup matches that of your theme. If you’re unsure of which classes or ID’s to use take a look at page.php for a guide.