-
Author
-
March 28, 2017 at 04:34 #156903wilfriedMarseilleParticipant
Hello
I try ti add a page template but i don’t see it on my dashboard
I put a file name content-toto.phpWith this code
‘<?php
/**
Template Name : TELECHARGEMENT
*/
get_header(); ?>
<?php get_template_part(‘page-parts/general-title-section’); ?>
<?php get_template_part(‘page-parts/general-before-wrap’); ?>
<?php if ( have_posts() ) : ?>
<?php
// Start the Loop.
while ( have_posts() ) : the_post();
?>
<?php
/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
get_template_part( ‘content-toto’ );
?>
<?php get_template_part( ‘page-parts/posts-social-share’ ); ?>
<?php if ( sq_option( ‘page_comments’, 0 ) == 1 ): ?>
<!– Begin Comments –>
<?php
if ( comments_open() || get_comments_number() ) {
comments_template( ”, true );
} ?>
<!– End Comments –>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
<?php get_template_part(‘page-parts/general-after-wrap’); ?>
<?php get_footer(); ?>’
But When I manke a new page, I don’t saw the template toto …
If you love Ableton check my blog :
www.zikrea.comMarch 28, 2017 at 04:34 #156904wilfriedMarseilleParticipantCOPY CODE‘<?php /** Template Name : TELECHARGEMENT */ get_header(); ?> <?php get_template_part(‘page-parts/general-title-section’); ?> <?php get_template_part(‘page-parts/general-before-wrap’); ?> <?php if ( have_posts() ) : ?> <?php // Start the Loop. while ( have_posts() ) : the_post(); ?> <?php /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( ‘content-toto’ ); ?> <?php get_template_part( ‘page-parts/posts-social-share’ ); ?> <?php if ( sq_option( ‘page_comments’, 0 ) == 1 ): ?> <!– Begin Comments –> <?php if ( comments_open() || get_comments_number() ) { comments_template( ”, true ); } ?> <!– End Comments –> <?php endif; ?> <?php endwhile; ?> <?php endif; ?> <?php get_template_part(‘page-parts/general-after-wrap’); ?> <?php get_footer(); ?>’
If you love Ableton check my blog :
www.zikrea.comMarch 29, 2017 at 02:52 #157007LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
March 29, 2017 at 18:37 #157126RaduModeratorYou should see the page template in the wp-admin -> add new -> page template
But you should inspire from our existing tempaltes copy a page template from wp-content/themes/kleo/page-parts/ into wp-content/themes/kleo-child/page-parts/
You should be able to see the page template there
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.