Data feed file integration price comparison shopping script

Documentation Wiki - - Online merchant datafeed integration for affiliates : DFFWPPluginStaticPageWoSideBar

HomePage | Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Home Affiliate FAQ Merchant FAQ Examples Merchants Networks & Programs Forum Blog Wiki Knowledge Base Login
Creating WordPress Static Full Page without sidebar

Since many of DFF's content require larger page width, the default Page template which contains the sidebar must be removed. Here are the steps needed to create a new Page template without sidebar:

(the instructions below assume you are using `default` theme)

  1. Go to your WordPress directory `/wp-content/themes/default/`.
  2. Copy the `page.php` file and name it `page_wo_sidebar.php`.
  3. Open the new `page_wo_sidebar.php` to edit it.
  4. Add this line within the comment block on the top of the PHP file:
            * Template Name: Page without sidebar

    so that the final result of the new comment block will be like this:
                * Template Name: Page without sidebar
                * @package WordPress
                * @subpackage Default_Theme

  5. Remove the entire line containing:
    <?php get_sidebar(); ?>

  6. Save the new `page_wo_sidebar.php` template file.
  7. Look for the main div tag with the id="content". Usually after get_header();
  8. Replace the class element class="narrowcolumn" to class="widecolumn".
  9. Add a style div element attribute `style="width:92%; margin:0 30px; padding:0;"`.
  10. Your new div id="content" element should look like this:
    <div id="content" class="widecolumn" role="main" style="width:92%; margin:0 30px; padding:0;">

To use your new Page Template, simply select the `Page without sidebar` in the Attribute > Template drop-down box while editing or adding a page.

 Comments [Hide comments/form]
Integrate price comparison shopping data feed file from thousands of online merchant product data feeds | Valid CSS

Page was generated in 0.0182 seconds