if( $my_query->have_posts() ) {
echo '<ul>';
while ($my_query->have_posts()) {
$my_query->the_post();
?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
<?php
}
echo '</ul>';
}if( $my_query->have_posts() ) {
echo '<div class="grid">';
while ($my_query->have_posts()) {
$my_query->the_post();
?>
<div class="grid-item">
<div class="overwrap-images">
<a href="<?php the_permalink();?>"><?php the_post_thumbnail();?></a>
<div class="overwrap-date">
<a href="<?php the_permalink();?>" class="date"><?php the_date('d/m/Y');?></a>
<h3><a href="<?php the_permalink();?>"><?php the_title();?></a></h3>
<p class="desc">
<?php the_excerpt();?>
</p>
</div>
</div>
</div>
<?php
}
echo '</div>';
}flex-shrink: 0;ymaps.ready(init);
function init() {
var kalug = [55.888786, 37.632664]; // координаты точки 1
var altuf = [55.659074, 37.522773]; // координаты точки 2
var myMap1 = new ymaps.Map('contact__map1', {
center: kalug,
zoom: 14
});
var myMap2 = new ymaps.Map('contact__map2', {
center: altuf,
zoom: 14
});
var myPlacemark1 = new ymaps.Placemark(kalug, {
}, {
preset: 'twirl#redIcon'
});
var myPlacemark2 = new ymaps.Placemark(altuf, {
}, {
preset: 'twirl#redIcon'
});
myMap1.geoObjects.add(myPlacemark1);
myMap2.geoObjects.add(myPlacemark2);
}<div id="contact__map1"></div>
<div id="contact__map2"></div> 4. Подскажите что значат цифры на скрине prntscr.com/bj4o94 идут по бокам по 2 @@ для чего они?
push, т.е. даже commit- локально.master- это такая же ветка, как и остальные.@@" кажется просто разделителем.push придется разрешать конфликт. Так что не обязательно. sourcemaps нужно перед изменениями файлов, чтобы объект sourcemaps получал в себя информацию об изменениях, которую впоследствии запишет.gulp.task('styles', function () {
return gulp.src('frontend/**/*.css')
.pipe(gulpIf(isDevelopment, sourcemaps.init()))
.pipe(concatCss('all.css'))
.pipe(autoprefixer(['last 15 versions', '> 1%', 'ie 8', 'ie 7'], {cascade: true}))
.pipe(minifyCss('all.css'))
.pipe(rename('all.min.css'))
.pipe(gulpIf(isDevelopment, sourcemaps.write()))
.pipe(gulp.dest('public/css'));
});sourcemap. Советую писать soucemap не в сам файл со стилями, как у вас, а в отдельный файл (чтобы all.min.css был полегче).sourcemaps.write('./maps')
// ~ Compile JS ~
var jsFilter = gulpFilter('**/*.js');
// Concat vendor JS (uglify for production)
gulp.task('js:vendor', function() {
gulp.src(mainBowerFiles({
"overrides": {
"jquery": {
"main": "./dist/jquery.min.js"
},
"bootstrap": {
"main": "./dist/js/bootstrap.min.js"
},
"magnific-popup": {
"main": "./dist/jquery.magnific-popup.min.js"
}
}
}))
.pipe(jsFilter)
.pipe(concat('vendor.js'))
.pipe(gulpIf(env !== 'dev', uglify()))
.pipe(gulp.dest(outputDir + 'js'))
});
// Concat own JS (uglify for production)
gulp.task('js', function() {
gulp.src(src.js)
.pipe(jsHint())
.pipe(jsHint.reporter('default'))
.pipe(concat('script.js'))
.pipe(gulpIf(env !== 'dev', uglify()))
.pipe(gulp.dest(outputDir + 'js'))
.pipe(connect.reload());
});