Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter thanhhiep992

    (@thanhhiep992)

    We installed it in a completely new WordPress version and did not have the compare plugin installed before. If your test in version installed an older version of compare and then reinstalled it, we think the problem will not appear. Have you tried with a completely new WordPress version?

    Thread Starter thanhhiep992

    (@thanhhiep992)

    We have disabled all plugins and tested on localhost with default WordPress theme. The problem is still happening. We are must to install the lower version then update to latest version compare button to work properly

    Thread Starter thanhhiep992

    (@thanhhiep992)

    Hi Mike Jolley,
    My file upload is .png format. I think it’s problem with filetype. Pehaps the js code can’t get url image with default size(150×150), my image size is smaller. It still save true attachment id but can’t see preview image.

    Hi!
    You can find file content-page.php in your folder theme. then find wp_link_pages() function. you can remove it to any position in this file.

    Thread Starter thanhhiep992

    (@thanhhiep992)

    Thanks Ritesh Sanap
    Here:

    <div class="blog-comment">
    <?php
    // Do not delete these lines
    if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
        die ('Please do not load this page directly. Thanks!');
    
    if ( post_password_required() ) { ?>
        <div class="alert alert-info"><?php _e("This post is password protected. Enter the password to view comments.",LANGUAGE); ?></div>
        <?php
        return;
    }
    ?>
    
    <!-- You can start editing here. -->
    
    <?php if ( have_comments() ) : ?>
    
        <?php if ( ! empty($comments_by_type['comment']) ) : ?>
        <h2 class="title-right-blog"><?php comments_number(__("Comment",LANGUAGE) .' <span>' . __("(0)",LANGUAGE) . '</span> ', __("Comment",LANGUAGE) .' <span>' . __("(1)",LANGUAGE) . '</span> ', __("Comment",LANGUAGE) .' <span>(%)</span> ' );?></h2>
    
            <ul class="commentlist clear">
                <?php wp_list_comments('type=comment&callback=wp_comments'); ?>
    
        <?php endif; ?>
    
        <?php if ( ! empty($comments_by_type['pings']) ) : ?>
            <h6 id="pings">Trackbacks/Pingbacks</h6>
    
            <ul class="pinglist">
                <?php wp_list_comments('type=pings&callback=list_pings'); ?>
    
        <?php endif; ?>
    
        <nav id="comment-nav">
            <ul class="pagination">
    
    <li><?php previous_comments_link( __("Older comments",LANGUAGE) ) ?></li>
    <li><?php next_comments_link( __("Newer comments",LANGUAGE) ) ?></li>
        </nav>
    <?php else : // this is displayed if there are no comments so far ?>
    
        <?php if ( comments_open() ) : ?>
            <!-- If comments are open, but there are no comments. -->
    
        <?php else : // comments are closed
            ?>
    
            <!-- If comments are closed. -->
            <p class="alert alert-info"><?php _e("Comments are closed",LANGUAGE); ?>.</p>
    
        <?php endif; ?>
    
    <?php endif; ?>
    
    <?php if ( comments_open() ) : ?>
    
        <?php
        $commenter = wp_get_current_commenter();
        $req = get_option( 'require_name_email' );
        $aria_req = ( $req ? " aria-required='true'" : '' );
        $defaults = array(
            'fields' => apply_filters( 'comment_form_default_fields', array(
    
                    'author' =>'<div class="comment-form-author control-group col-sm-4"><input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) .'" ' . $aria_req . ' placeholder="'.__( 'Name', LANGUAGE ).'" /></div>',
    
                    'email' =>'<div class="comment-form-email control-group col-sm-4"><input id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) .'" ' . $aria_req . ' placeholder="'.__( 'Email', LANGUAGE ).'" /></div>',
    
                    'url' =>'<div class="comment-form-url control-group col-sm-4"><div class="controls"><input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) .'" placeholder="'.__( 'Website', LANGUAGE ).'"/></div></div>'
                )
            ),
            'comment_field' =>  '<div class="clear"></div><div class="comment-form-comment control-group col-xs-12"><div class="controls"><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true" placeholder="Your comment here.."></textarea></div></div>',
            'must_log_in' => '<div class="must-log-in control-group"><div class="controls">' .sprintf(__( 'You must be <a href="%s">logged in</a> to post a comment.' ),wp_login_url( apply_filters( 'the_permalink', get_permalink() ) )) . '</div></div >',
            'logged_in_as' => '<div class="logged-in-as control-group"><div class="controls">' .sprintf(__( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ),admin_url( 'profile.php' ),$user_identity,wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) )) . '</div></div>',
    
            'comment_notes_before' => '<div class="comment-notes control-group"><div class="controls">' .__( 'Your email address will not be published.' ) .'</div></div>',
    
            'comment_notes_after' => '<div class="form-allowed-tags control-group"><div class="controls">' .sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ),' <code>' . allowed_tags() . '</code>') . '</div></div>',
    
            'id_form'              => 'commentform',
    
            'id_submit'            => 'submit',
    
            'title_reply'          => __( 'Leave a Comment',LANGUAGE ),
    
            'title_reply_to'       => __( 'Leave a Reply %s',LANGUAGE ),
    
            'cancel_reply_link'    => __( 'Cancel reply',LANGUAGE ),
    
            'label_submit'         => __( 'Post Comment',LANGUAGE ),
    
        );?>
    
        <div class="row">
            <?php comment_form($defaults);?>
        </div>
    
    <?php endif; // if you delete this the sky will fall on your head ?>
    
    </div>

    #primary{
    width: 75%;
    float: left;
    }

    I think the problem in your css. block of text and sidebar

    Hi studentit16
    you try insert the code into any your pages
    <?php echo do_shortcode(‘[Shortcode]’); ?>

Viewing 9 replies - 1 through 9 (of 9 total)