Viewing 15 replies - 1 through 15 (of 16 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    It would actually be best to submit a support request if you received an error rather than go directly to a review and 1 star rating without asking for help….which I would be happy to help you with. The idea would be to post your support question first because if it’s an error, I can help you determine if it’s the theme or something else. If it’s a theme issue, then I can fix it and update the theme.

    What error did you see?

    Thread Starter lunaspot

    (@lunaspot)

    Bonjour merci de votre réponse, désolée mais je parle très mal anglais.
    sauf erreur de ma part, l’ennui vient des asides et la balise read more ou la balise fermante </p> est manquante.
    les balises de fermeture aside sont fermées à l’envers,(fichier right-sidebar.php) enfin toujours si je ne me trompe pas!

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Hello. My French is not very good, and have to use Google Translate which does not do a very good with some translations. I translated your last reply in english as:

    ———
    Hello thank you for your response, sorry but I speak very little English .
    unless I am mistaken , boredom comes from the tag asides and read more or closing tag & lt ; / p & gt; is missing.
    aside the closing tags are closed in reverse ( right- sidebar.php ) last forever if I ‘m not mistaken !
    ———-

    I do not see missing closing tags in the sidebar-right.php file and I did a check which came out 100%. I am not sure what you mean by the tag asides read more?

    Do you have a link to your site where these problems are showing and I will take a look?

    Thread Starter lunaspot

    (@lunaspot)

    Hello, see extras php lines 76
    element not closed span commentdate
    we do not see this error on posts that have no comments
    friendly

    Theme Author Shaped Pixels

    (@shaped-pixels)

    I have to say thank you for finding that! I just did a theme update to remove that as well I did a few other updates. You will probably get an update notification in your admin area for version 1.0.8, so you should be fine now.

    If all is working well, feel free to change your star rating for Senses Lite. No obligation of course ??

    As a side note, if you run into any other issues, post in the support forum for Senses Lite and I will be happy to fix whatever you find.

    Thread Starter lunaspot

    (@lunaspot)

    Hello anything with pleasure.
    Anyway thank you very much for your very reactive support.
    friendly
    Patricia

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Hi Patricia…no worries. When I get feedback from everyone, it helps make my themes better with fixes and improvements and I greatly appreciate it ??

    Thread Starter lunaspot

    (@lunaspot)

    I’ll bother you a little .. fichier archivephp in the file, it seems that the header tag is not closed and a pimp div closing tag before hand
    hereusement ago google translation , I speak really good English
    Thank you very much for your update

    Thread Starter lunaspot

    (@lunaspot)

    before main

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Actually, I just checked, all tags have opening and closing tags. I checked each archive type: tags, archive, and category. Also checked the HTML Validator online – no broken tags were reported. So unless I’m not seeing what you’re seeing, perhaps give me a link to the page you say there is no closing tag, or paste the code for that part here.

    Thread Starter lunaspot

    (@lunaspot)

    <header class="page-header text-center" itemscope="itemscope" itemtype="https://schema.org/WPHeader">
                                    <?php else : ?>
                                       <header class="page-header">
                                    <?php endif;  ?>
    
    								<?php
                                        senses_lite_the_archive_title( '<h1 class="page-title" itemprop="headline">', '</h1>' );
                                        senses_lite_archive_description( '<div class="taxonomy-description">', '</div>' );
                                    ?>
                                    </header><!-- .page-header -->
    Thread Starter lunaspot

    (@lunaspot)

    get_header(); ?>
    
    <div id="primary" class="content-area">
      <main id="main" class="site-main" itemprop="mainEntityOfPage" itemscope="itemscope" itemtype="https://schema.org/Blog">
        <div class="container">
          <div class="row">
            <?php // when we use a layout with a left sidebar
                                    if ( esc_attr(get_theme_mod('blog_style','top-featured-right')) == 'top-featured-left' ) : ?>
            <div class="col-md-8 col-md-push-4 <?php echo esc_attr(get_theme_mod( 'blog_style', 'top-featured-right' )); ?>">
              <?php else : ?>
              <div class="col-md-8 <?php echo esc_attr(get_theme_mod( 'blog_style', 'top-featured-right' )); ?>">
                <?php endif;  ?>
                <?php if ( have_posts() ) : ?>
                <?php // If this layout is centered, then use this
    								if ( esc_attr(get_theme_mod('blog_style','top-featured-right')) == 'top-featured-center' ) : ?>
                <header class="page-header text-center" itemscope="itemscope" itemtype="https://schema.org/WPHeader">
                  <?php else : ?>
                  <?php endif;  ?>
                  <?php
                                        senses_lite_the_archive_title( '<h1 class="page-title" itemprop="headline">', '</h1>' );
                                        senses_lite_archive_description( '<div class="taxonomy-description">', '</div>' );
                                    ?>
                </header>
                <!-- .page-header -->
    
                <div class="posts-layout">
                  <?php while ( have_posts() ) : the_post(); ?>
                  <?php get_template_part( 'template-parts/content', get_post_format() ); ?>
                  <?php endwhile; ?>
                </div>
                <?php senses_lite_blog_pagination(); ?>
                <?php else : ?>
                <?php get_template_part( 'template-parts/content', 'none' ); ?>
                <?php endif; ?>
              </div>
              <?php
    				   	if  ( esc_attr(get_theme_mod('blog_style','top-featured-right')) == 'top-featured-left' ) :
    						get_sidebar( 'left' );
    					endif;
    					?>
              <?php
                            if (esc_attr(get_theme_mod('blog_style','top-featured-right')) == 'top-featured-right' ) :
                                get_sidebar( 'right' );
                            endif;
                        ?>
            </div>
            <!-- .row -->
          </div>
        </div>
        <!-- .container -->
      </main>
    </div>
    <?php get_footer(); ?>
    Thread Starter lunaspot

    (@lunaspot)

    with this code I have more errors by cotnre I deleted the page hader header tag and add a hand before the closing div for md 8, I do not know if this is correct

    Theme Author Shaped Pixels

    (@shaped-pixels)

    This code is correct:

    <?php // If this layout is centered, then use this
    if ( esc_attr(get_theme_mod('blog_style','top-featured-right')) == 'top-featured-center' ) : ?>
    <header class="page-header text-center" itemscope="itemscope" itemtype="https://schema.org/WPHeader">
    <?php else : ?>
    <header class="page-header">
    <?php endif;  ?>
    
    <?php
    senses_lite_the_archive_title( '<h1 class="page-title" itemprop="headline">', '</h1>' );
    senses_lite_archive_description( '<div class="taxonomy-description">', '</div>' );
    ?>
    </header><!-- .page-header -->

    The php code is a conditional, which means if the blog style is centered, then load this part of the code

    <header class="page-header text-center" itemscope="itemscope" itemtype="https://schema.org/WPHeader">

    Otherwise, load this part instead

    <header class="page-header">

    The closing tag </header><!-- .page-header --> is used to close either one of the above conditionals.

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Whenever you see php code like this:

    <?php if...
    
    <?php else : ?>
    
    <?php endif; ?>

    That is a conditional using an if/else statement where is says if something, then do this, otherwise do the next thing instead.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘code’ is closed to new replies.