Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3995

    http://dev.southbeachmiamirealestatehome.com/idx/mls-m1403397-800_s_pointe_dr_502_miami_beach_fl_33139

    I’m running that dsidxpress plugin that builds mls listing pages dynamically (example above) and since it’s such a wide format, I want the default page template to be the full width template as opposed to the page with the sidebar.

    Is that possible? and if so will you please provide a code example?

    Thanks in advance.

    #44521

    Hey,

    you can select the fullwidth page template in your page editor. On the right side/sidebar you’ll see a dropdown option box called “Template” – select the fullwidth template there and the sidebar will disappear.

    #44522

    Yep, I’m aware of that, I’m asking to see if it’s possible to have the default page template be set to the “full width” template as opposed to the one with the sidebar. The reason I’m asking for the full width template to be assigned as the default template is that the dsidxpress plugin creates those listing detail pages automatically/dynamically (without human intervention) so there would be no opportunity to manually select the full width page template. I need it to be selected automatically.

    #44523

    You can rename the template_fullwidth.php to page.php and then rename page.php to template_page.php. Open up page.php now and delete following code:

    /*
    Template Name: Full Width
    */

    Then open up template_page.php and add following code at the very top (after <?php)

    /*
    Template Name: Page with Sidebar
    */

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to change the default page template to display the "Full width pag template"’ is closed to new replies.