Cannot edit page by Elementor page builder

VWSとは フォーラム Lightning Cannot edit page by Elementor page builder

Cannot edit page by Elementor page builder

3件の投稿を表示中 - 1 - 3件目 (全3件中)
  • 投稿者
    投稿
  • #17008

    syouei-branding
    参加者

    Hello,

    I’ve created a custom template : KPR Contact Page template (attached bellow)
    But when I created a page by this template, I cannot edit the page by Elementor, it showed an message that I have to enable save mode (attached bellow).

    Can you help me detect why this happens?

    Attachments:
    You must be logged in to view attached files.
    #17010

    syouei-branding
    参加者
    <?php
    /*
     * Template Name: KPR Contact Page
     */
    ?>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php
    global $lightning_theme_options;
    $lightning_theme_options = get_option( 'lightning_theme_options' );
    ?>
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <div class="section siteContent">
    <div class="container">
    <div class="row">
    
    <div class="col-md-12 mainSection" id="main" role="main">
    
        <?php
        if ( have_posts() ) {
            while ( have_posts() ) :
                the_post();
            ?>
    
                <?php
                $content = get_the_content();
                if ( $content ) :
                ?>
    
        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
        <div class="entry-body">
        <?php  if (get_query_var('subject')) print "subject = ". get_query_var('subject');  ?>
        
        <?php the_content(); ?>
        </div>
        <?php
        $args = array(
            'before'      => '<nav class="page-link"><dl><dt>Pages :</dt><dd>',
            'after'       => '</dd></dl></nav>',
            'link_before' => '<span class="page-numbers">',
            'link_after'  => '</span>',
            'echo'        => 1,
        );
                wp_link_pages( $args );
                ?>
         </div><!-- [ /#post-<?php the_ID(); ?> ] -->
    
        <?php endif; ?>
    
        <?php
        endwhile;
        };
    ?>
    
    </div><!-- [ /.mainSection ] -->
    
    </div><!-- [ /.row ] -->
    </div><!-- [ /.container ] -->
    </div><!-- [ /.siteContent ] -->
    </body><!-- [ /.body ] -->
    </html><!-- [ /.html ] -->
    
    #17040

    syouei-branding
    参加者

    「Resolved」Sorry to disturb you, I fixed.

3件の投稿を表示中 - 1 - 3件目 (全3件中)
  • このトピックに返信するにはログインが必要です。