New Landing How can we help? Themeforest Theme Support Flexform how to select a new page template in the admin ?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Flexform
  • #123465
    blaouchez
    Member
    Post count: 448

    Hello,
    If I create a new page template (by duplicating page.php), how to select in the admin?
    Regards

    #123473
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    It should appear like in the image below.
    https://www.dropbox.com/s/5jtswmdsaseoe37/flexform_page_template.png?dl=0

    -Rui

    #123484
    blaouchez
    Member
    Post count: 448

    I do not see the field “Template” in the admin?

    Attachments:
    You must be logged in to view attached files.
    #123488
    blaouchez
    Member
    Post count: 448

    Ok, it’s good, it appears, thank you !!

    #123495
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.
    -Rui

    #123525
    blaouchez
    Member
    Post count: 448

    it works very well but titrede page and sidebar are not displayed …

    Is something missing in the code of my page?

    <?php
    /*
    Template Name: Sitemap
    */
    ?>
    <?php get_header(); ?>
    
    <?php /* Liste des pages */ ?>
    <h2>Pages</h2>
    <ul>
    <?php wp_list_pages("title_li=" ); ?>
    </ul>
    
    <?php /* Flux RSS */ ?>
    <h2>Flux RSS</h2>
    <ul>
    <li><a title="Flux articles" href="feed:<?php bloginfo('rss2_url'); ?>">Flux RSS principal</a></li>
    <li><a title="Flux commentaires" href="feed:<?php bloginfo('comments_rss2_url'); ?>">Flux RSS des commentaires</a></li>
    </ul>
    
    <?php /* Liste des catégories */ ?>
    <h2>Catégories</h2>
    <ul>
    <?php wp_list_categories('sort_column=name&optioncount=1&hierarchical=0&feed=RSS&title_li='); ?>
    </ul>
    
    <?php /* Liste des articles */ ?>
    <h2>Articles</h2>
    <ul>
    <?php $archive_query = new WP_Query('showposts=1000'); while ($archive_query->have_posts()) : $archive_query->the_post(); ?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Lien à <?php the_title(); ?>"><?php the_title(); ?></a>(<?php comments_number('0', '1', '%'); ?>)</li>
    <?php endwhile; ?>
    </ul>
    
    <?php /* Liste des éléments d'un custom post type */ ?>
    <h2>Custom Post Type</h2>
    <ul>
    <?php $archive_query = new WP_Query('showposts=1000&post_type=custom_post_type'); while ($archive_query->have_posts()) : $archive_query->the_post(); ?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Lien à <?php the_title(); ?>"><?php the_title(); ?></a></li>
    <?php endwhile; ?>
    </ul>
    
    </div>
    <?php get_footer(); ?>
    #123541
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You missed the sidebar code and code at top of the page.php.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register