Skip to content

Commit

Permalink
remove rss-club specialties
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Jan 29, 2024
1 parent 4bc9391 commit c2c5079
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 22 deletions.
2 changes: 1 addition & 1 deletion assets/css/editor-style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/editor-style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions assets/sass/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,6 @@ h4.entry-title {
&.type-page .post-format .entry-type-page:before {
content: "\f105";
}

&.type-rssclub .post-format .entry-type-rssclub:before {
content: "\f303";
}
}

.edit-link {
Expand Down
7 changes: 0 additions & 7 deletions includes/template-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,6 @@ function autonomie_get_post_format_string() {
return __( 'Attachment', 'autonomie' );
} elseif ( 'page' === get_post_type() ) {
return __( 'Page', 'autonomie' );
} elseif ( 'post' !== get_post_type() ) {
$post_type_obj = get_post_type_object( get_post_type() );
return $post_type_obj->labels->singular_name;
} elseif ( get_post_format() ) {
return get_post_format();
} else {
Expand All @@ -219,10 +216,6 @@ function autonomie_get_post_format_link( $post_format ) {
return get_permalink();
}

if ( 'post' !== get_post_type() ) {
return get_post_type_archive_link( get_post_type() );
}

if ( 'standard' !== $post_format ) {
return get_post_format_link( $post_format );
}
Expand Down
14 changes: 7 additions & 7 deletions languages/autonomie.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Autonomie 1.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/autonomie\n"
"POT-Creation-Date: 2024-01-08 16:23:03+00:00\n"
"POT-Creation-Date: 2024-01-29 15:06:19+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -244,28 +244,28 @@ msgstr ""
msgid "Text"
msgstr ""

#: includes/template-functions.php:265
#: includes/template-functions.php:269
#. translators: list of followers
msgid "%s Followers"
msgstr ""

#: includes/template-functions.php:267
#: includes/template-functions.php:271
#. translators: a post counter
msgid "%s Posts"
msgstr ""

#: includes/template-functions.php:268
#: includes/template-functions.php:272
msgid "Subscribe"
msgstr ""

#: includes/template-functions.php:292
#: includes/template-functions.php:296
#. translators: Description for search results
msgid "Found %1$s search result for <strong>%2$s</strong>."
msgid_plural "Found %1$s search results for <strong>%2$s</strong>."
msgstr[0] ""
msgstr[1] ""

#: includes/template-functions.php:307
#: includes/template-functions.php:311
msgid ""
"<span class=\"entry-duration\"><time datetime=\"PT%1$sM\" "
"class=\"dt-duration\" itemprop=\"timeRequired\">%1$s minute</time> to "
Expand All @@ -277,7 +277,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""

#: includes/template-functions.php:329 includes/template-functions.php:338
#: includes/template-functions.php:333 includes/template-functions.php:342
msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>"
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion style.css

Large diffs are not rendered by default.

Loading

0 comments on commit c2c5079

Please sign in to comment.