• Resolved LGphotography

    (@lgphotography)


    Hello,

    I have based my all site on Snapshot theme (I allready have created a chid-theme to make some changes), and I am very satisfyed with the result on the pages and galleries.

    Now, I was going to set up a single page to be the “blog part” of the site.
    I am just finding out now that the standard Snapshot “blog style” does not match my needs…
    I did not find any way to set it up, so I am asking here.

    I would like the articles to appear one under the other, as in a standard blog with one column instaed of the Snapshot standard layout for articles.
    My current blog is here, and that is the style I am looking for: http://blog.lgphotography.fr/

    Is there a way I can do that rewritting a part of the theme or with CSS?

    Other themes from the same editor have perfect layout for the blog part, such as Origami: https://siteorigin.com/theme/origami/?action=demo#origami (see the link “Page Templates/Blog”)
    I was thinking maby I can copy/paste the part of the CSS of this other theme for the article/blog page properties, but I have no idea of how I can find this part. And I don’t know if it would work…

    Thank you for your help: after weeks of work to build the all site, I am a little bit desesperated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter LGphotography

    (@lgphotography)

    No one?

    I have found out that I would have to edit index.php and loop.php, but I don’t know what to change…
    I have try to substitute them by one from other Siteorigins themes, but it doesn’t work properly.

    I have even tryed other themes, but none is fully responsive with the FooGalleries…

    Can anyone tell me what I should edit?

    Here are the files:

    index.php:

    <?php get_header() ?>

    <div id=”page-title” class=”archive-title”>
    <div class=”container”>
    <h1><?php wp_title(‘ ‘) ?></h1>
    </div>
    </div>
    <div id=”home-slider-below”></div>

    <?php get_template_part(‘loop’, ‘index’) ?>

    <?php get_footer() ?>

    Et celui de “Origami”, l’autre thème dont la présentation me convient mieux ressemble à ça :

    <?php get_header() ?>

    <div><?php get_template_part(‘loop’, ‘index’) ?></div>

    <div id=”posts-nav”>
    <?php posts_nav_link(”, __(‘Newer Entries’, ‘origami’), __(‘Older Entries’, ‘origami’)); ?>
    </div>

    <?php get_footer() ?>

    loop.php:
    <?php if(have_posts()) : ?>
    <div id=”post-loop”>
    <div class=”container”>
    <?php while(have_posts()): the_post(); ?>
    <div <?php post_class(‘post’) ?>>
    <div class=”post-background”>
    <?php if(has_post_thumbnail()) : the_post_thumbnail(‘post-thumbnail’, array(‘class’ => ‘thumbnail’)) ?>
    <?php else : ?><img src=”<?php echo get_template_directory_uri() ?>/images/defaults/no-thumbnail.jpg” width=”310″ height=”420″ class=”thumbnail” />
    <?php endif ?>
    <div class=”post-content”>
    <?php do_action(‘before_post_summary’) ?>
    <h2>“><?php the_title() ?></h2>
    <div class=”excerpt”>
    <?php the_excerpt() ?>
    </div>

    <div class=”date”>

    “><?php echo get_the_date() ?>
    </div>

    <?php $comments = get_comment_count(get_the_ID()); ?>
    <?php if(!empty($comments[‘approved’])) : ?>
    <div class=”comments”>

    #comments”><?php printf(__(‘%s Comments’, ‘snapshot’), $comments[‘approved’]) ?>
    </div>
    <?php endif; ?>
    <?php do_action(‘after_post_summary’) ?>
    </div>

    <div class=”corner corner-se”></div>
    </div>
    </div>
    <?php endwhile; ?>
    <div class=”clear”></div>

    <div id=”page-navigation”>
    <?php if(function_exists(‘wp_pagenavi’)) : wp_pagenavi(); ?>
    <?php else : posts_nav_link(‘ ‘, __(‘Previous Page’, ‘snapshot’), __(‘Next Page’, ‘snapshot’)); echo ‘<div class=”clear”></div>’; endif;?>
    </div>
    </div>
    </div>
    <?php else : ?>
    <div class=”page”>
    <div class=”container”>
    <div id=”post-main”>
    <div class=”entry-content”>
    <p><?php echo wp_kses_post(siteorigin_setting(‘messages_no_results’, __(“No results.”, ‘snapshot’))) ?></p>
    </div>
    </div>

    </div>
    <div class=”clear”></div>
    </div>
    <?php endif; ?>

    Does anyone no what I should change?

    Thread Starter LGphotography

    (@lgphotography)

    Solved. I have changed my theme for Twenty Twelve. 😉

    Hi @lgphotography

    Sorry to hear you ran into trouble. If you’d like to re-investigate at the problem, let me know and I’ll take a look.

    All the best.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change blog/articles page settings in Snapshot?’ is closed to new replies.