Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit bfe31e6

Browse files
author
Marina Vuković
committed
v1.0.6
1 parent 168722d commit bfe31e6

File tree

6 files changed

+54
-3
lines changed

6 files changed

+54
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [1.0.6] - 2016-11-15
6+
### Changed
7+
- Changed style of post format link.
8+
59
## [1.0.5] - 2016-11-14
610
### Removed
711
- Remove support for aside, image, video and quote post format.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ If you already have uploaded images on the website, you should regenerate thumbn
3838
If you didn't use featured images you can install the [Easy Add Thumbnail](http://wordpress.org/plugins/easy-add-thumbnail/) plugin to dinamically set featured images for old published posts.
3939

4040

41+
# Limitations
42+
---------------
43+
#### Post Format Link
44+
It is envisaged that content of this post format is only an external link. In the list of the posts, link text is displayed instead of the post title and click leads to its URL.
45+
46+
4147
# Customization
4248
---------------
4349
### Customizer

source/js/customizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// Site copyright
2525
wp.customize( 'karta_sitecopyright', function( value ) {
2626
value.bind( function( to ) {
27-
$( 'footer .copyright' ).text( to );
27+
$( '.site-info__copyright' ).text( to );
2828
} );
2929
} );
3030
} )( jQuery );

source/less/main.less

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,30 @@ input, textarea {
179179
padding-bottom: 80px;
180180
}
181181

182+
.post-pagination {
183+
text-align: center;
184+
margin: 60px 0 40px;
185+
186+
a {
187+
background: #000;
188+
color: #fff;
189+
padding: 12px 20px;
190+
text-transform: uppercase;
191+
font-size: 15px;
192+
}
193+
194+
@media(max-width: 480px) {
195+
margin: 30px 0;
196+
197+
a {
198+
display: block;
199+
200+
&:first-of-type {
201+
margin-bottom: 25px;
202+
}
203+
}
204+
}
205+
}
182206

183207
/* ============== COMPONENTS ============== */
184208
/* ---- Header ---- */
@@ -718,6 +742,7 @@ input, textarea {
718742

719743
.post__intro {
720744
display: block;
745+
position: relative;
721746
background-color: @brand-primary;
722747
padding: 10px;
723748
transition: background ease-in 0.3s;
@@ -750,6 +775,19 @@ input, textarea {
750775
}
751776
}
752777

778+
.post__icon {
779+
position: absolute;
780+
right: 10px;
781+
bottom: 10px;
782+
783+
svg {
784+
width: 23px;
785+
786+
path {
787+
fill: #fff;
788+
}
789+
}
790+
}
753791

754792
.post__intro--big {
755793
padding: 22px 15px 5px;

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Theme URI: http://slicejack.com/karta-free-responsive-wordpress-travel-theme
44
Author: Slicejack
55
Author URI: http://slicejack.com
66
Description: Karta is free Wordpress theme beautifully designed for those who want to share their travel experience in modern and creative way. Use Karta to inspire others showcasing your favourite journeys, photos and tips.
7-
Version: 1.0.5
7+
Version: 1.0.6
88
License: GNU General Public License v2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010
Text Domain: karta

template-parts/content-link.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
$classes = array();
1111
$classes[] = 'masonry-grid__item';
1212
?>
13-
1413
<div id="post-<?php the_ID(); ?>" <?php post_class( $classes ); ?>>
1514
<figure class="post__figure">
1615
<?php karta_featured_image(); ?>
@@ -24,7 +23,11 @@
2423
<?php add_filter( 'the_content', 'wp_strip_all_tags', 1, 1 ); ?>
2524
<?php the_content(); ?>
2625
<?php remove_filter( 'the_content', 'wp_strip_all_tags', 1 ); ?>
26+
<div class="post__icon">
27+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 99.7"><path d="M57.5 11.8v5.7"/><path d="M98.6 4.8c0-.1 0-.2-.1-.3 0-.1-.1-.2-.1-.3 0-.1 0-.1-.1-.2v-.1c0-.1-.1-.2-.2-.3-.1-.2-.1-.3-.2-.4-.1-.1-.1-.2-.2-.3-.1-.1-.1-.2-.2-.2l-.3-.3-.2-.2c0-.1-.1-.1-.2-.2s-.2-.1-.2-.2c-.1-.1-.2-.1-.3-.2-.1 0-.2-.1-.3-.1 0 0-.1 0-.1-.1-.1 0-.2 0-.2-.1-.1 0-.2-.1-.3-.1-.1 0-.2-.1-.4-.1H94.1l-30.3.2c-2.5 0-4.6 2.1-4.6 4.6 0 2.5 2.1 4.6 4.6 4.5l19.3-.1-29.8 30.2c-1.1 1.1-1.5 2.7-1.2 4.1.2.9.6 1.7 1.3 2.4.9.9 2.1 1.3 3.2 1.3 1.2 0 2.3-.5 3.2-1.4l29.8-30.2.1 19.3c0 2.5 2.1 4.6 4.6 4.5 1.3 0 2.4-.5 3.2-1.4.8-.8 1.3-2 1.3-3.2l-.1-30.2v-.2-.4c-.1-.1-.1-.2-.1-.3z"/><path d="M6.5 83.3c0 5.7 4.6 10.4 10.4 10.4l55.6.1c5.7 0 10.4-4.6 10.4-10.4l-.1-40.8h6.1v40.8c0 9-7.3 16.3-16.3 16.3l-56.4-.1C7.6 99.6.6 92.6.6 84V27.8c0-9 7.3-16.3 16.3-16.3l41.1-.1v6.1H16.9c-5.7 0-10.4 4.6-10.4 10.4v55.4z"/></svg>
28+
</div>
2729
</a>
30+
2831
<?php else : ?>
2932
<div class="post__intro">
3033
<div class="post__date"><?php echo esc_html( get_the_date() );?></div>

0 commit comments

Comments
 (0)