This commit is contained in:
parent
af9769ebc3
commit
355112a6a7
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the same license as the Plugins - Akismet Anti-Spam - Stable (latest release) package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2020-01-26 16:14:01+0000\n"
|
||||
"PO-Revision-Date: 2020-03-25 06:06:52+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
@ -11,6 +11,26 @@ msgstr ""
|
|||
"Language: sv_SE\n"
|
||||
"Project-Id-Version: Plugins - Akismet Anti-Spam - Stable (latest release)\n"
|
||||
|
||||
#: class.akismet-admin.php:682
|
||||
msgid "No comment history."
|
||||
msgstr "Ingen kommentarhistorik."
|
||||
|
||||
#: class.akismet-admin.php:650
|
||||
msgid "Akismet was unable to recheck this comment."
|
||||
msgstr "Akismet kunde inte kontrollera denna kommentar igen."
|
||||
|
||||
#: class.akismet-admin.php:642
|
||||
msgid "Akismet was unable to check this comment but will automatically retry later."
|
||||
msgstr "Akismet kunde inte kontrollera den här kommentaren men kommer automatiskt att försöka igen senare."
|
||||
|
||||
#: class.akismet-admin.php:613
|
||||
msgid "Comment was caught by %s."
|
||||
msgstr "Kommentaren stoppades av %s."
|
||||
|
||||
#: class.akismet.php:552
|
||||
msgid "Akismet is not configured. Please enter an API key."
|
||||
msgstr "Akismet är inte konfigurerad. Ange en API-nyckel."
|
||||
|
||||
#: views/enter.php:8
|
||||
msgid "Enter your API key"
|
||||
msgstr "Ange din API-nyckel"
|
||||
|
|
@ -19,19 +39,15 @@ msgstr "Ange din API-nyckel"
|
|||
msgid "Set up a different account"
|
||||
msgstr "Ställ in ett annat konto"
|
||||
|
||||
#: views/setup.php:5
|
||||
#: views/setup.php:2
|
||||
msgid "Set up your Akismet account to enable spam filtering on this site."
|
||||
msgstr "Ställ in ditt Akismetkonto för att aktivera skräppostfiltrering på denna webbplats."
|
||||
|
||||
#: views/setup.php:1
|
||||
msgid "Set Up Akismet"
|
||||
msgstr "Ställ in Akismet"
|
||||
|
||||
#: class.akismet-admin.php:1081
|
||||
#: class.akismet-admin.php:1085
|
||||
msgid "Akismet could not recheck your comments for spam."
|
||||
msgstr "Akismet kunde inte kontrollera dina kommentarer igen efter skräppost."
|
||||
|
||||
#: class.akismet-admin.php:429
|
||||
#: class.akismet-admin.php:435
|
||||
msgid "You don't have permission to do that."
|
||||
msgstr "Du har inte behörighet att göra det."
|
||||
|
||||
|
|
@ -47,22 +63,10 @@ msgstr "För närvarande kan statistik inte hämtas. Försök igen."
|
|||
msgid "API key must be set to fetch stats."
|
||||
msgstr "API-nyckeln måste vara inställd för att hämta statistik."
|
||||
|
||||
#: views/notice.php:144
|
||||
msgid "To help your site with transparency under privacy laws like the GDPR, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, you can turn it on below."
|
||||
msgstr "För att hjälpa din webbplats med öppenhet enligt integritetslagar som GDPR kan Akismet visa ett meddelande till dina användare under dina kommentarformulär. Denna funktion är som standard inaktiverad, men du kan aktivera den nedan."
|
||||
|
||||
#: views/config.php:162
|
||||
msgid "To help your site with transparency under privacy laws like the GDPR, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, you can turn it on above."
|
||||
msgstr "För att hjälpa din webbplats med öppenhet enligt integritetslagar som GDPR kan Akismet visa ett meddelande till dina användare under dina kommentarformulär. Denna funktion är som standard inaktiverad, men du kan aktivera den ovan."
|
||||
|
||||
#: views/notice.php:145
|
||||
msgid " Please <a href=\"%s\">enable</a> or <a href=\"%s\">disable</a> this feature. <a href=\"%s\" id=\"akismet-privacy-notice-control-notice-info-link\" target=\"_blank\">More information</a>."
|
||||
msgstr " Vänligen <a href=\"%s\">aktivera</a> eller <a href=\"%s\">inaktivera</a> denna funktion. <a href=\"%s\" id=\"akismet-privacy-notice-control-notice-info-link\" target=\"_blank\">Mer information</a>."
|
||||
|
||||
#: views/notice.php:143
|
||||
msgid "Akismet & Privacy."
|
||||
msgstr "Akismet och integritet."
|
||||
|
||||
#: views/config.php:160
|
||||
msgid "Do not display privacy notice."
|
||||
msgstr "Visa inte integritetsmeddelandet."
|
||||
|
|
@ -79,15 +83,15 @@ msgstr "Akismet integritetsmeddelande"
|
|||
msgid "Privacy"
|
||||
msgstr "Integritet"
|
||||
|
||||
#: class.akismet.php:1420
|
||||
#: class.akismet.php:1491
|
||||
msgid "This site uses Akismet to reduce spam. <a href=\"%s\" target=\"_blank\" rel=\"nofollow noopener\">Learn how your comment data is processed</a>."
|
||||
msgstr "Denna webbplats använder Akismet för att minska skräppost. <a href=\"%s\" target=\"_blank\" rel=\"nofollow noopener\">Lär dig hur din kommentardata bearbetas</a>."
|
||||
|
||||
#: class.akismet-admin.php:96
|
||||
#: class.akismet-admin.php:87
|
||||
msgid "We collect information about visitors who comment on Sites that use our Akismet anti-spam service. The information we collect depends on how the User sets up Akismet for the Site, but typically includes the commenter's IP address, user agent, referrer, and Site URL (along with other information directly provided by the commenter such as their name, username, email address, and the comment itself)."
|
||||
msgstr "Vi samlar information om besökare som kommenterar på webbplatser som använder vår Akismet anti-skräppost-tjänst. Informationen vi samlar in beror på hur användaren konfigurerar Akismet för webbplatsen, men brukar innehålla kommentatorns IP-adress, användaragent, hänvisare och webbplats-URL (tillsammans med annan information som tillhandahålls direkt av kommentatorn såsom dess namn, användarnamn, e-postadress och själva kommentaren)."
|
||||
|
||||
#: class.akismet.php:231
|
||||
#: class.akismet.php:236
|
||||
msgid "Comment discarded."
|
||||
msgstr "Kommentaren har kastats."
|
||||
|
||||
|
|
@ -120,7 +124,7 @@ msgstr "Om sant kommer Akismet ta bort den värsta skräpposten automatiskt ist
|
|||
msgid "A 12-character Akismet API key. Available at akismet.com/get/"
|
||||
msgstr "En Akismet API-nyckel på 12 tecken. Finns på akismet.com/get/"
|
||||
|
||||
#: class.akismet-admin.php:405
|
||||
#: class.akismet-admin.php:411
|
||||
msgid "(%1$s%)"
|
||||
msgstr "(%1$s%)"
|
||||
|
||||
|
|
@ -137,7 +141,7 @@ msgstr "En API-nyckel för Akismet har angetts i filen %s för denna webbplats."
|
|||
msgid "Manual Configuration"
|
||||
msgstr "Manuell konfigurering"
|
||||
|
||||
#: class.akismet-admin.php:239
|
||||
#: class.akismet-admin.php:230
|
||||
msgid "On this page, you are able to update your Akismet settings and view spam stats."
|
||||
msgstr "På denna sida kan du uppdatera dina inställningar för Akismet och se spam-statistik."
|
||||
|
||||
|
|
@ -146,7 +150,7 @@ msgid "Used by millions, Akismet is quite possibly the best way in the world to
|
|||
msgstr "Akismet används av miljoner personer och är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Det skyddar din webbplats t.o.m. medan du sover. För att komma igång behöver du aktivera tillägget Akismet och sedan gå till inställningssidan för Akismet och konfigurera din API-nyckel."
|
||||
|
||||
#. Plugin Name of the plugin
|
||||
#: class.akismet-admin.php:121 class.akismet-admin.php:124
|
||||
#: class.akismet-admin.php:112 class.akismet-admin.php:115
|
||||
msgid "Akismet Anti-Spam"
|
||||
msgstr "Akismet Anti-Spam"
|
||||
|
||||
|
|
@ -196,39 +200,39 @@ msgstr "Detaljerad statistik"
|
|||
msgid "Statistics"
|
||||
msgstr "Statistik"
|
||||
|
||||
#: class.akismet-admin.php:1193
|
||||
#: class.akismet-admin.php:1189
|
||||
msgid "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started, just go to <a href=\"admin.php?page=akismet-key-config\">your Akismet Settings page</a> to set up your API key."
|
||||
msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Det skyddar din webbplats t.o.m. medan du sover. För att komma igång behöver du bara gå till <a href=\"admin.php?page=akismet-key-config\">din inställningssida för Akismet</a> för att konfigurera din API-nyckel."
|
||||
|
||||
#: class.akismet-admin.php:1190
|
||||
#: class.akismet-admin.php:1186
|
||||
msgid "Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. Your site is fully configured and being protected, even while you sleep."
|
||||
msgstr "Akismet, som används av miljoner personer, är kanske världens bästa sätt att <strong>skydda din blogg från skräppost</strong>. Din webbplats är färdigkonfigurerad och skyddar din webbplats t.o.m. medan du sover. "
|
||||
|
||||
#: class.akismet-admin.php:1074
|
||||
#: class.akismet-admin.php:1078
|
||||
msgid "%s comment was caught as spam."
|
||||
msgid_plural "%s comments were caught as spam."
|
||||
msgstr[0] "%s kommentar bedömdes som skräppost."
|
||||
msgstr[1] "%s kommentarer bedömdes som skräppost."
|
||||
|
||||
#: class.akismet-admin.php:1071
|
||||
#: class.akismet-admin.php:1075
|
||||
msgid "No comments were caught as spam."
|
||||
msgstr "Inga kommentarer bedömdes som skräppost."
|
||||
|
||||
#: class.akismet-admin.php:1067
|
||||
#: class.akismet-admin.php:1071
|
||||
msgid "Akismet checked %s comment."
|
||||
msgid_plural "Akismet checked %s comments."
|
||||
msgstr[0] "Akismet har kontrollerat %s kommentar."
|
||||
msgstr[1] "Akismet har kontrollerat %s kommentarer."
|
||||
|
||||
#: class.akismet-admin.php:1064
|
||||
msgid "There were no comments to check. Akismet will only check comments in the Pending queue."
|
||||
msgstr "Det fanns inga kommentarer att granska. Akismet kontrollerar bara kommentarer i kön med väntande kommentarer."
|
||||
#: class.akismet-admin.php:1068
|
||||
msgid "There were no comments to check. Akismet will only check comments awaiting moderation."
|
||||
msgstr "Det finns inga kommentarer att kontrollera. Akismet kommer endast att kontrollera kommentarer som inväntar granskning."
|
||||
|
||||
#: class.akismet-admin.php:404
|
||||
#: class.akismet-admin.php:410
|
||||
msgid "Checking for Spam"
|
||||
msgstr "Söker efter skräppost"
|
||||
|
||||
#: class.akismet.php:512
|
||||
#: class.akismet.php:558
|
||||
msgid "Comment not found."
|
||||
msgstr "Kommentaren kunde inte hittas."
|
||||
|
||||
|
|
@ -302,26 +306,26 @@ msgstr "Vänligen uppdatera din betalinformation."
|
|||
msgid "<strong>Almost done</strong> - configure Akismet and say goodbye to spam"
|
||||
msgstr "<strong>Nästan klart</strong> – konfigurera Akismet och vinka adjö till skräppost"
|
||||
|
||||
#: class.akismet-admin.php:995
|
||||
#: class.akismet-admin.php:1002
|
||||
msgid "Akismet has saved you %d minute!"
|
||||
msgid_plural "Akismet has saved you %d minutes!"
|
||||
msgstr[0] "Akismet har sparat dig %d minut!"
|
||||
msgstr[1] "Akismet har sparat dig %d minuter!"
|
||||
|
||||
#: class.akismet-admin.php:993
|
||||
#: class.akismet-admin.php:1000
|
||||
msgid "Akismet has saved you %d hour!"
|
||||
msgid_plural "Akismet has saved you %d hours!"
|
||||
msgstr[0] "Akismet har sparat dig %d timme!"
|
||||
msgstr[1] "Akismet har sparat dig %d timmar!"
|
||||
|
||||
#: class.akismet-admin.php:991
|
||||
#: class.akismet-admin.php:998
|
||||
msgid "Akismet has saved you %s day!"
|
||||
msgid_plural "Akismet has saved you %s days!"
|
||||
msgstr[0] "Akismet har sparat dig %s dag!"
|
||||
msgstr[1] "Akismet har sparat dig %s dagar!"
|
||||
|
||||
#: class.akismet-admin.php:187 class.akismet-admin.php:225
|
||||
#: class.akismet-admin.php:238
|
||||
#: class.akismet-admin.php:178 class.akismet-admin.php:216
|
||||
#: class.akismet-admin.php:229
|
||||
msgid "Akismet filters out spam, so you can focus on more important things."
|
||||
msgstr "Akismet filtrerar bort skräppost så att du kan fokusera på viktigare saker."
|
||||
|
||||
|
|
@ -381,244 +385,244 @@ msgstr "Inaktiverat."
|
|||
msgid "SSL Status"
|
||||
msgstr "SSL-status"
|
||||
|
||||
#: class.akismet-admin.php:624
|
||||
#: class.akismet-admin.php:628
|
||||
msgid "This comment was reported as not spam."
|
||||
msgstr "Denna kommentar rapporterades som 'inte skräppost'."
|
||||
|
||||
#: class.akismet-admin.php:616
|
||||
#: class.akismet-admin.php:620
|
||||
msgid "This comment was reported as spam."
|
||||
msgstr "Denna kommentar rapporterades som skräppost."
|
||||
|
||||
#: class.akismet-admin.php:156
|
||||
#: class.akismet-admin.php:147
|
||||
msgid "(undo)"
|
||||
msgstr "(ångra)"
|
||||
|
||||
#: class.akismet-admin.php:155
|
||||
#: class.akismet-admin.php:146
|
||||
msgid "URL removed"
|
||||
msgstr "URL borttagen"
|
||||
|
||||
#: class.akismet-admin.php:154
|
||||
#: class.akismet-admin.php:145
|
||||
msgid "Removing..."
|
||||
msgstr "Tar bort..."
|
||||
|
||||
#: class.akismet-admin.php:95 class.akismet-admin.php:1212
|
||||
#: class.akismet-admin.php:86 class.akismet-admin.php:1204
|
||||
msgid "Akismet"
|
||||
msgstr "Akismet"
|
||||
|
||||
#: class.akismet-admin.php:114 class.akismet-admin.php:246
|
||||
#: class.akismet-admin.php:674 views/config.php:60
|
||||
#: views/config.php:60 class.akismet-admin.php:105 class.akismet-admin.php:237
|
||||
#: class.akismet-admin.php:689
|
||||
msgid "Settings"
|
||||
msgstr "Inställningar"
|
||||
|
||||
#: class.akismet-admin.php:157
|
||||
#: class.akismet-admin.php:148
|
||||
msgid "Re-adding..."
|
||||
msgstr "Återställer..."
|
||||
|
||||
#: class.akismet-admin.php:184 class.akismet-admin.php:222
|
||||
#: class.akismet-admin.php:235
|
||||
#: class.akismet-admin.php:175 class.akismet-admin.php:213
|
||||
#: class.akismet-admin.php:226
|
||||
msgid "Overview"
|
||||
msgstr "Översikt"
|
||||
|
||||
#: class.akismet-admin.php:186 class.akismet-admin.php:197
|
||||
#: class.akismet-admin.php:208
|
||||
#: class.akismet-admin.php:177 class.akismet-admin.php:188
|
||||
#: class.akismet-admin.php:199
|
||||
msgid "Akismet Setup"
|
||||
msgstr "Konfiguration för Akismet"
|
||||
|
||||
#: class.akismet-admin.php:188
|
||||
#: class.akismet-admin.php:179
|
||||
msgid "On this page, you are able to set up the Akismet plugin."
|
||||
msgstr "På den här sidan har du möjlighet att konfigurera tillägget Akismet."
|
||||
|
||||
#: class.akismet-admin.php:195
|
||||
#: class.akismet-admin.php:186
|
||||
msgid "New to Akismet"
|
||||
msgstr "Ny på Akismet"
|
||||
|
||||
#: class.akismet-admin.php:198
|
||||
#: class.akismet-admin.php:189
|
||||
msgid "You need to enter an API key to activate the Akismet service on your site."
|
||||
msgstr "Du måste ange en API-nyckel för att aktivera tjänsten från Akismet på din webbplats."
|
||||
|
||||
#: class.akismet-admin.php:206
|
||||
#: class.akismet-admin.php:197
|
||||
msgid "Enter an API Key"
|
||||
msgstr "Ange en API-nyckel"
|
||||
|
||||
#: class.akismet-admin.php:199
|
||||
#: class.akismet-admin.php:190
|
||||
msgid "Sign up for an account on %s to get an API Key."
|
||||
msgstr "Registrera ett konto på %s för att få en API-nyckel."
|
||||
|
||||
#: class.akismet-admin.php:209
|
||||
#: class.akismet-admin.php:200
|
||||
msgid "If you already have an API key"
|
||||
msgstr "Om du redan har en API-nyckel"
|
||||
|
||||
#: class.akismet-admin.php:211
|
||||
#: class.akismet-admin.php:202
|
||||
msgid "Copy and paste the API key into the text field."
|
||||
msgstr "Kopiera och klistra in API-nyckeln i textfältet."
|
||||
|
||||
#: class.akismet-admin.php:212
|
||||
#: class.akismet-admin.php:203
|
||||
msgid "Click the Use this Key button."
|
||||
msgstr "Klicka på knappen Använd denna nyckel."
|
||||
|
||||
#: class.akismet-admin.php:224
|
||||
#: class.akismet-admin.php:215
|
||||
msgid "Akismet Stats"
|
||||
msgstr "Akismet statistik"
|
||||
|
||||
#: class.akismet-admin.php:226
|
||||
#: class.akismet-admin.php:217
|
||||
msgid "On this page, you are able to view stats on spam filtered on your site."
|
||||
msgstr "På den här sidan har du möjlighet att se statistik för skräppost som har filtrerats på din webbplats."
|
||||
|
||||
#: class.akismet-admin.php:237 class.akismet-admin.php:248
|
||||
#: class.akismet-admin.php:261
|
||||
#: class.akismet-admin.php:228 class.akismet-admin.php:239
|
||||
#: class.akismet-admin.php:252
|
||||
msgid "Akismet Configuration"
|
||||
msgstr "Konfigurera Akismet"
|
||||
|
||||
#: class.akismet-admin.php:249 views/config.php:70
|
||||
#: views/config.php:70 class.akismet-admin.php:240
|
||||
msgid "API Key"
|
||||
msgstr "API-nyckel"
|
||||
|
||||
#: class.akismet-admin.php:249
|
||||
#: class.akismet-admin.php:240
|
||||
msgid "Enter/remove an API key."
|
||||
msgstr "Ange/ta bort en API-nyckel."
|
||||
|
||||
#: class.akismet-admin.php:250 views/config.php:105
|
||||
#: views/config.php:105 class.akismet-admin.php:241
|
||||
msgid "Comments"
|
||||
msgstr "Kommentarer"
|
||||
|
||||
#: class.akismet-admin.php:250
|
||||
#: class.akismet-admin.php:241
|
||||
msgid "Show the number of approved comments beside each comment author in the comments list page."
|
||||
msgstr "Visa antalet godkända kommentarer bredvid varje kommentarsförfattare på kommentarslistningssidan."
|
||||
|
||||
#: class.akismet-admin.php:251
|
||||
#: class.akismet-admin.php:242
|
||||
msgid "Choose to either discard the worst spam automatically or to always put all spam in spam folder."
|
||||
msgstr "Välj att antingen ignorera den värsta skräpposten automatiskt eller att alltid placera all skräppost i skräppostmappen."
|
||||
|
||||
#: class.akismet-admin.php:251 views/config.php:128
|
||||
#: views/config.php:128 class.akismet-admin.php:242
|
||||
msgid "Strictness"
|
||||
msgstr "Strikthet"
|
||||
|
||||
#: class.akismet-admin.php:259 views/config.php:188
|
||||
#: views/config.php:188 class.akismet-admin.php:250
|
||||
msgid "Account"
|
||||
msgstr "Konto"
|
||||
|
||||
#: class.akismet-admin.php:262 views/config.php:196
|
||||
#: views/config.php:196 class.akismet-admin.php:253
|
||||
msgid "Subscription Type"
|
||||
msgstr "Prenumerationstyp"
|
||||
|
||||
#: class.akismet-admin.php:263
|
||||
#: class.akismet-admin.php:254
|
||||
msgid "The subscription status - active, cancelled or suspended"
|
||||
msgstr "Prenumerationsstatus - aktiv, avslutad eller suspenderad"
|
||||
|
||||
#: class.akismet-admin.php:263 views/config.php:203
|
||||
#: views/config.php:203 class.akismet-admin.php:254
|
||||
msgid "Status"
|
||||
msgstr "Status"
|
||||
|
||||
#: class.akismet-admin.php:262
|
||||
#: class.akismet-admin.php:253
|
||||
msgid "The Akismet subscription plan"
|
||||
msgstr "Akismets prenumerationsplan"
|
||||
|
||||
#: class.akismet-admin.php:273
|
||||
#: class.akismet-admin.php:264
|
||||
msgid "Akismet FAQ"
|
||||
msgstr "Vanliga frågor för Akismet"
|
||||
|
||||
#: class.akismet-admin.php:272
|
||||
#: class.akismet-admin.php:263
|
||||
msgid "For more information:"
|
||||
msgstr "För mer information:"
|
||||
|
||||
#: class.akismet-admin.php:274
|
||||
#: class.akismet-admin.php:265
|
||||
msgid "Akismet Support"
|
||||
msgstr "Support för Akismet"
|
||||
|
||||
#: class.akismet-admin.php:280
|
||||
#: class.akismet-admin.php:271
|
||||
msgid "Cheatin’ uh?"
|
||||
msgstr "Fuskar du va?"
|
||||
|
||||
#: class.akismet-admin.php:350
|
||||
#: class.akismet-admin.php:341
|
||||
msgctxt "comments"
|
||||
msgid "Spam"
|
||||
msgstr "Skräppost"
|
||||
|
||||
#: class.akismet-admin.php:352
|
||||
#: class.akismet-admin.php:343
|
||||
msgid "<a href=\"%1$s\">Akismet</a> has protected your site from <a href=\"%2$s\">%3$s spam comment</a>."
|
||||
msgid_plural "<a href=\"%1$s\">Akismet</a> has protected your site from <a href=\"%2$s\">%3$s spam comments</a>."
|
||||
msgstr[0] "<a href=\"%1$s\">Akismet</a> har skyddat din webbplats från <a href=\"%2$s\">%3$s skräpkommentar</a>."
|
||||
msgstr[1] "<a href=\"%1$s\">Akismet</a> har skyddat din webbplats från <a href=\"%2$s\">%3$s skräpkommentarer</a>."
|
||||
|
||||
#: class.akismet-admin.php:362
|
||||
#: class.akismet-admin.php:353
|
||||
msgid "<a href=\"%1$s\">Akismet</a> has protected your site from %2$s spam comment already. "
|
||||
msgid_plural "<a href=\"%1$s\">Akismet</a> has protected your site from %2$s spam comments already. "
|
||||
msgstr[0] "<a href=\"%1$s\">Akismet</a> har redan skyddat din webbplats från %2$s skräpkommentar. "
|
||||
msgstr[1] "<a href=\"%1$s\">Akismet</a> har redan skyddat din webbplats från %2$s skräpkommentarer. "
|
||||
|
||||
#: class.akismet-admin.php:368
|
||||
#: class.akismet-admin.php:359
|
||||
msgid "<a href=\"%s\">Akismet</a> blocks spam from getting to your blog. "
|
||||
msgstr "<a href=\"%s\">Akismet</a> motverkar skräpposter på din blogg."
|
||||
|
||||
#: class.akismet-admin.php:374
|
||||
#: class.akismet-admin.php:365
|
||||
msgid "There’s <a href=\"%2$s\">%1$s comment</a> in your spam queue right now."
|
||||
msgid_plural "There are <a href=\"%2$s\">%1$s comments</a> in your spam queue right now."
|
||||
msgstr[0] "Det finns <a href=\"%2$s\">%1$s kommentar</a> markerad som skräp just nu."
|
||||
msgstr[1] "Det finns <a href=\"%2$s\">%1$s kommentarer</a> markerade som skräp just nu."
|
||||
|
||||
#: class.akismet-admin.php:380
|
||||
#: class.akismet-admin.php:371
|
||||
msgid "There’s nothing in your <a href='%s'>spam queue</a> at the moment."
|
||||
msgstr "Det finns inga poster markerade som <a href='%s'>skräppost</a> för tillfället."
|
||||
|
||||
#: class.akismet-admin.php:603
|
||||
#: class.akismet-admin.php:607
|
||||
msgid "Akismet re-checked and cleared this comment."
|
||||
msgstr "Akismet kontrollerade denna kommentar igen och godkände den."
|
||||
|
||||
#: class.akismet-admin.php:597
|
||||
#: class.akismet-admin.php:601
|
||||
msgid "Akismet re-checked and caught this comment as spam."
|
||||
msgstr "Akismet kontrollerade denna kommentar igen och markerade den som skräppost."
|
||||
|
||||
#: class.akismet-admin.php:411
|
||||
#: class.akismet-admin.php:417
|
||||
msgid "Check for Spam"
|
||||
msgstr "Kolla efter skräppost"
|
||||
|
||||
#: class.akismet-admin.php:640
|
||||
#: class.akismet-admin.php:647
|
||||
msgid "Akismet was unable to recheck this comment (response: %s)."
|
||||
msgstr "Akismet kunde inte kontrollera denna kommentar igen (svar: %s)."
|
||||
|
||||
#: class.akismet-admin.php:525
|
||||
#: class.akismet-admin.php:531
|
||||
msgid "Flagged as spam by Akismet"
|
||||
msgstr "Flaggat som skräppost av Akismet"
|
||||
|
||||
#: class.akismet-admin.php:521
|
||||
#: class.akismet-admin.php:527
|
||||
msgid "Awaiting spam check"
|
||||
msgstr "Inväntar skräppostkontroll"
|
||||
|
||||
#: class.akismet-admin.php:531
|
||||
#: class.akismet-admin.php:537
|
||||
msgid "Flagged as spam by %s"
|
||||
msgstr "Flaggat som skräppost av %s"
|
||||
|
||||
#: class.akismet-admin.php:527
|
||||
#: class.akismet-admin.php:533
|
||||
msgid "Cleared by Akismet"
|
||||
msgstr "Godkänd av Akismet"
|
||||
|
||||
#: class.akismet-admin.php:533
|
||||
#: class.akismet-admin.php:539
|
||||
msgid "Un-spammed by %s"
|
||||
msgstr "Avmarkerat som skräppost av %s"
|
||||
|
||||
#: class.akismet-admin.php:568
|
||||
#: class.akismet-admin.php:574
|
||||
msgid "%s approved"
|
||||
msgid_plural "%s approved"
|
||||
msgstr[0] "%s godkänd"
|
||||
msgstr[1] "%s godkända"
|
||||
|
||||
#: class.akismet-admin.php:545
|
||||
#: class.akismet-admin.php:551
|
||||
msgid "History"
|
||||
msgstr "Historik"
|
||||
|
||||
#: class.akismet-admin.php:545 class.akismet-admin.php:553
|
||||
#: class.akismet-admin.php:551 class.akismet-admin.php:559
|
||||
msgid "View comment history"
|
||||
msgstr "Visa kommentarshistorik"
|
||||
|
||||
#: class.akismet-admin.php:881
|
||||
#: class.akismet-admin.php:888
|
||||
msgid "Please check your <a href=\"%s\">Akismet configuration</a> and contact your web host if problems persist."
|
||||
msgstr "Vänligen kontrollera din <a href=\"%s\">konfiguration av Akismet</a> och kontakta ditt webbhotell om problemen består."
|
||||
|
||||
#: class.akismet-admin.php:662
|
||||
#: class.akismet-admin.php:673
|
||||
msgid "%s ago"
|
||||
msgstr "%s sedan"
|
||||
|
||||
#: class.akismet-admin.php:988
|
||||
#: class.akismet-admin.php:995
|
||||
msgid "Cleaning up spam takes time."
|
||||
msgstr "Att rensa upp skräppost tar tid."
|
||||
|
||||
|
|
@ -644,51 +648,47 @@ msgid_plural "<strong class=\"count\">%1$s spam</strong> blocked by <strong>Akis
|
|||
msgstr[0] "<strong class=\"count\">%1$s skräppost</strong> blockerad av <strong>Akismet</strong>"
|
||||
msgstr[1] "<strong class=\"count\">%1$s skräpposter</strong> blockerade av <strong>Akismet</strong>"
|
||||
|
||||
#: class.akismet-admin.php:600
|
||||
#: class.akismet-admin.php:604
|
||||
msgid "Akismet caught this comment as spam."
|
||||
msgstr "Akismet markerade denna kommentar som skräppost."
|
||||
|
||||
#: class.akismet-admin.php:648
|
||||
#: class.akismet-admin.php:658
|
||||
msgid "Comment status was changed to %s"
|
||||
msgstr "Kommentarsstatus ändrades till %s"
|
||||
|
||||
#: class.akismet-admin.php:606
|
||||
#: class.akismet-admin.php:610
|
||||
msgid "Akismet cleared this comment."
|
||||
msgstr "Akismet godkände denna kommentar."
|
||||
|
||||
#: class.akismet-admin.php:609
|
||||
msgid "Comment was caught by wp_blacklist_check."
|
||||
msgstr "Kommentaren fångades av wp_blacklist_check."
|
||||
|
||||
#: class.akismet-admin.php:635
|
||||
#: class.akismet-admin.php:639
|
||||
msgid "Akismet was unable to check this comment (response: %s) but will automatically retry later."
|
||||
msgstr "Akismet kunde inte kontrollera denna kommentar (svar: %s) men kommer automatiskt att försök igen senare."
|
||||
|
||||
#: class.akismet-admin.php:654
|
||||
#: class.akismet-admin.php:664
|
||||
msgid "%1$s changed the comment status to %2$s."
|
||||
msgstr "%1$s ändrade status för kommentaren till %2$s."
|
||||
|
||||
#: class.akismet-admin.php:613
|
||||
#: class.akismet-admin.php:617
|
||||
msgid "%s reported this comment as spam."
|
||||
msgstr "%s rapporterade denna kommentar som skräppost."
|
||||
|
||||
#: class.akismet-admin.php:621
|
||||
#: class.akismet-admin.php:625
|
||||
msgid "%s reported this comment as not spam."
|
||||
msgstr "%s rapporterade denna kommentar som 'inte skräppost'."
|
||||
|
||||
#: class.akismet-admin.php:628
|
||||
#: class.akismet-admin.php:632
|
||||
msgid "Akismet caught this comment as spam during an automatic retry."
|
||||
msgstr "Akismet fångade den här kommentaren som skräpport under en automatisk körning."
|
||||
|
||||
#: class.akismet-admin.php:631
|
||||
#: class.akismet-admin.php:635
|
||||
msgid "Akismet cleared this comment during an automatic retry."
|
||||
msgstr "Akismet godkände den här kommentaren under en automatisk skanning."
|
||||
|
||||
#: class.akismet.php:1277
|
||||
#: class.akismet.php:1348
|
||||
msgid "Please <a href=\"%1$s\">upgrade WordPress</a> to a current version, or <a href=\"%2$s\">downgrade to version 2.4 of the Akismet plugin</a>."
|
||||
msgstr "Vänligen <a href=\"%1$s\">uppdatera WordPress</a> till aktuell version eller <a href=\"%2$s\">använd version 2.4 av tillägget Akismet</a>."
|
||||
|
||||
#: class.akismet.php:1277
|
||||
#: class.akismet.php:1348
|
||||
msgid "Akismet %s requires WordPress %s or higher."
|
||||
msgstr "Akismet %s kräver WordPress %s eller senare."
|
||||
|
||||
|
|
@ -872,10 +872,10 @@ msgstr "https://automattic.com/wordpress-plugins/"
|
|||
msgid "Automattic"
|
||||
msgstr "Automattic"
|
||||
|
||||
#: class.akismet-admin.php:153
|
||||
#: class.akismet-admin.php:144
|
||||
msgid "Remove this URL"
|
||||
msgstr "Ta bort denna URL"
|
||||
|
||||
#: class.akismet-admin.php:91
|
||||
#: class.akismet-admin.php:82
|
||||
msgid "Comment History"
|
||||
msgstr "Kommentarshistorik"
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"translation-revision-date":"2020-05-06 12:54:15+0000","generator":"GlotPress\/3.0.0-alpha","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.":["Ett ov\u00e4ntat fel intr\u00e4ffade i Podcast Player. Att l\u00e4sa in den h\u00e4r sidan igen kan l\u00f6sa problemet."],"The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser\u2019s \"Internet options\" settings. In the \"Advanced\" tab you will have to check the box next to \"Play sounds in webpages\" in the \"Multimedia\" section. Once you have confirmed that the box is checked, please press \"Apply\" and then reload this page.":["Podcastspelaren kan inte visas eftersom dina webbl\u00e4sarinst\u00e4llningar inte till\u00e5ter att ljud spelas upp p\u00e5 webbsidor. Detta kan \u00e4ndras i din webbl\u00e4sares \"Internetalternativ\"-inst\u00e4llningar. P\u00e5 fliken \"Avancerat\" m\u00e5ste du markera rutan bredvid \"Spela upp ljud p\u00e5 webbsidor\" i avsnittet \"Multimedia\". N\u00e4r du har bekr\u00e4ftat att rutan \u00e4r markerad trycker du p\u00e5 \"Till\u00e4mpa\" och l\u00e4ser d\u00e4refter in den h\u00e4r sidan igen."],"Select an episode to play it in the audio player.":["V\u00e4lj ett avsnitt f\u00f6r att spela upp det i ljudspelaren."],"Playlist: %s":["Spellista: %s"],"Error: Episode unavailable - Open in a new tab":["Fel: Avsnittet \u00e4r inte tillg\u00e4ngligt - \u00d6ppna i en ny flik"],"Loading: %s":["Laddar: %s"],"Paused":["Pausad"],"track":["sp\u00e5r"],"%s:":["%s:"],"Error:":["Fel:"],"Open in a new tab":["\u00d6ppna i en ny flik"],"Episode unavailable. ":["Avsnitt inte tillg\u00e4ngligt."],"Playing:":["Spelar:"]}},"comment":{"reference":"_inc\/blocks\/podcast-player\/view.js"}}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
{"translation-revision-date":"2020-03-06 11:02:18+0000","generator":"GlotPress\/2.4.0-alpha","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"block search term\u0004map":["karta"],"block search term\u0004navigation":["navigering"],"Terrain":["Terr\u00e4ng"],"Satellite":["Satellit"],"Black and white":["Svart och vit"],"Basic":["Grundl\u00e4ggande"],"Delete Marker":["Ta bort mark\u00f6r"],"Add an interactive map showing one or more locations.":["L\u00e4gg till en interaktiv karta som visar en eller flera platser."],"block search term\u0004location":["plats"],"Marker Caption":["Tidsmark\u00f6rstext"],"Marker Title":["Tidsmark\u00f6rstitel"],"Map":["Karta"]}},"comment":{"reference":"_inc\/blocks\/map\/view.js"}}
|
||||
{"translation-revision-date":"2020-05-06 12:54:15+0000","generator":"GlotPress\/3.0.0-alpha","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"sv_SE"},"block search term\u0004maps":["kartor"],"Grow":["V\u00e4x"],"Earn":["Tj\u00e4na"],"Delete Marker":["Ta bort mark\u00f6r"],"Marker Caption":["Tidsmark\u00f6rstext"],"Marker Title":["Tidsmark\u00f6rstitel"],"Terrain":["Terr\u00e4ng"],"Satellite":["Satellit"],"Black and white":["Svart och vit"],"Basic":["Grundl\u00e4ggande"],"Add an interactive map showing one or more locations.":["L\u00e4gg till en interaktiv karta som visar en eller flera platser."],"block search term\u0004navigation":["navigering"],"block search term\u0004location":["plats"],"Map":["Karta"]}},"comment":{"reference":"_inc\/blocks\/map\/view.js"}}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the same license as the Themes - Twenty Eleven package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2019-05-08 07:52:09+0000\n"
|
||||
"PO-Revision-Date: 2020-03-31 21:00:33+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
@ -19,6 +19,14 @@ msgstr "2011 års tema för WordPress är sofistikerat, lätt och anpassningsbar
|
|||
msgid "Twenty Eleven"
|
||||
msgstr "Twenty Eleven"
|
||||
|
||||
#: functions.php:751
|
||||
msgid "Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved."
|
||||
msgstr "Din kommentar inväntar granskning. Detta är en förhandsvisning. Din kommentar blir synlig när den har godkänts."
|
||||
|
||||
#: inc/theme-options.php:121
|
||||
msgid "<a href=\"https://wordpress.org/support/article/appearance-customize-screen/\" target=\"_blank\">Documentation on Theme Options</a>"
|
||||
msgstr "<a href=\"https://wordpress.org/support/article/appearance-customize-screen/\" target=\"_blank\">Dokumentation av temats inställningar</a>"
|
||||
|
||||
#. translators: %s: The post title.
|
||||
#: comments.php:37
|
||||
msgid "One thought on “%1$s”"
|
||||
|
|
@ -56,7 +64,8 @@ msgstr "Mall för sidofält"
|
|||
msgid "Showcase Template"
|
||||
msgstr "Mall för showcase"
|
||||
|
||||
#: tag.php:20
|
||||
#. translators: %s: Tag title.
|
||||
#: tag.php:21
|
||||
msgid "Tag Archives: %s"
|
||||
msgstr "Etikettarkiv: %s"
|
||||
|
||||
|
|
@ -76,11 +85,12 @@ msgstr "Meta"
|
|||
msgid "Archives"
|
||||
msgstr "Arkiv"
|
||||
|
||||
#: showcase.php:170
|
||||
#: showcase.php:176
|
||||
msgid "Recent Posts"
|
||||
msgstr "Senaste inläggen"
|
||||
|
||||
#: showcase.php:160
|
||||
#. translators: %s: Post title.
|
||||
#: showcase.php:164
|
||||
msgid "Featuring: %s"
|
||||
msgstr "Innehåller: %s"
|
||||
|
||||
|
|
@ -92,35 +102,36 @@ msgstr "Utvalt inlägg"
|
|||
msgid "Search"
|
||||
msgstr "Sök"
|
||||
|
||||
#: search.php:51
|
||||
#: search.php:56
|
||||
msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords."
|
||||
msgstr "Ledsen, men inga matchande resultat kunde hittas baserat på dina kriterier. Var vänlig försök med andra sökord."
|
||||
|
||||
#: search.php:18
|
||||
#. translators: %s: Search query.
|
||||
#: search.php:21
|
||||
msgid "Search Results for: %s"
|
||||
msgstr "Sökresultat för: %s"
|
||||
|
||||
#: inc/widgets.php:196
|
||||
#: inc/widgets.php:198
|
||||
msgid "Number of posts to show:"
|
||||
msgstr "Antal inlägg att visa:"
|
||||
|
||||
#: inc/widgets.php:193
|
||||
#: inc/widgets.php:195
|
||||
msgid "Title:"
|
||||
msgstr "Titel:"
|
||||
|
||||
#: inc/widgets.php:117 inc/widgets.php:126
|
||||
#: inc/widgets.php:119 inc/widgets.php:128
|
||||
msgid "% <span class=\"reply\">comments →</span>"
|
||||
msgstr "%s <span class=\"reply\">kommentarer →</span>"
|
||||
|
||||
#: inc/widgets.php:117 inc/widgets.php:126
|
||||
#: inc/widgets.php:119 inc/widgets.php:128
|
||||
msgid "1 <span class=\"reply\">comment →</span>"
|
||||
msgstr "1 <span class=\"reply\">kommentar →</span>"
|
||||
|
||||
#: inc/widgets.php:117 inc/widgets.php:126
|
||||
#: inc/widgets.php:119 inc/widgets.php:128
|
||||
msgid "0 <span class=\"reply\">comments →</span>"
|
||||
msgstr "0 <span class=\"reply\">kommentarer →</span>"
|
||||
|
||||
#: inc/widgets.php:73
|
||||
#: inc/widgets.php:74
|
||||
msgid "Ephemera"
|
||||
msgstr "Ephemera"
|
||||
|
||||
|
|
@ -132,15 +143,17 @@ msgstr "Twenty Eleven Ephemera"
|
|||
msgid "Use this widget to list your recent Aside, Status, Quote, and Link posts"
|
||||
msgstr "Använd denna widget för att lista senaste inläggen från inläggsformaten notiser, statusar, citat och länkar "
|
||||
|
||||
#: inc/theme-options.php:600
|
||||
#: inc/theme-options.php:612
|
||||
msgid "Layout"
|
||||
msgstr "Layout"
|
||||
|
||||
#: inc/theme-options.php:341
|
||||
#. translators: %s: Theme name.
|
||||
#: inc/theme-options.php:349
|
||||
msgid "%s Theme Options"
|
||||
msgstr "Temainställningar för %s"
|
||||
|
||||
#: inc/theme-options.php:305
|
||||
#. translators: %s: Link color.
|
||||
#: inc/theme-options.php:308
|
||||
msgid "Default color: %s"
|
||||
msgstr "Standardfärg: %s"
|
||||
|
||||
|
|
@ -176,10 +189,6 @@ msgstr "Översikt"
|
|||
msgid "<a href=\"https://wordpress.org/support/\" target=\"_blank\">Support</a>"
|
||||
msgstr "<a href=\"https://wordpress.org/support/\" target=\"_blank\">Support</a>"
|
||||
|
||||
#: inc/theme-options.php:121
|
||||
msgid "<a href=\"https://codex.wordpress.org/Appearance_Theme_Options_Screen\" target=\"_blank\">Documentation on Theme Options</a>"
|
||||
msgstr "<a href=\"https://codex.wordpress.org/Appearance_Theme_Options_Screen\" target=\"_blank\">Dokumentation för temainställningar</a>"
|
||||
|
||||
#: inc/theme-options.php:120
|
||||
msgid "For more information:"
|
||||
msgstr "För mer information:"
|
||||
|
|
@ -212,15 +221,17 @@ msgstr "Temainställningar"
|
|||
msgid "Default Layout"
|
||||
msgstr "Standardlayout"
|
||||
|
||||
#: inc/theme-options.php:62 inc/theme-options.php:589
|
||||
#: inc/theme-options.php:62 inc/theme-options.php:601
|
||||
msgid "Link Color"
|
||||
msgstr "Länkfärg"
|
||||
|
||||
#: inc/theme-options.php:56 inc/theme-options.php:564
|
||||
#: inc/theme-options.php:56 inc/theme-options.php:576
|
||||
msgid "Color Scheme"
|
||||
msgstr "Färgschema"
|
||||
|
||||
#: image.php:34
|
||||
#. translators: 1: Time, 2: Date, 3: Image permalink, 4: Image width, 5: Image
|
||||
#. height, 6: Parent permalink, 7: Parent post title, 8: Parent post title.
|
||||
#: image.php:35
|
||||
msgid "<span class=\"meta-prep meta-prep-entry-date\">Published </span> <span class=\"entry-date\"><abbr class=\"published\" title=\"%1$s\">%2$s</abbr></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s × %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%8$s</a>"
|
||||
msgstr "<span class=\"meta-prep meta-prep-entry-date\">Publicerad </span> <span class=\"entry-date\"><abbr class=\"published\" title=\"%1$s\">%2$s</abbr></span> i storleken <a href=\"%3$s\" title=\"Link to full-size image\">%4$s × %5$s</a> i <a href=\"%6$s\" title=\"Gå tillbaka till %7$s\" rel=\"gallery\">%8$s</a>"
|
||||
|
||||
|
|
@ -236,39 +247,43 @@ msgstr "← Föregående"
|
|||
msgid "Image navigation"
|
||||
msgstr "Bildnavigering"
|
||||
|
||||
#: header.php:147
|
||||
#: functions.php:924
|
||||
msgid "Skip to secondary content"
|
||||
msgstr "Hoppa till sekundärt innehåll"
|
||||
|
||||
#: header.php:145
|
||||
#: functions.php:922
|
||||
msgid "Skip to primary content"
|
||||
msgstr "Hoppa till huvudinnehåll"
|
||||
|
||||
#: header.php:143
|
||||
#: header.php:147
|
||||
msgid "Main menu"
|
||||
msgstr "Huvudmeny"
|
||||
|
||||
#: header.php:45
|
||||
#. translators: %s: Page number.
|
||||
#: header.php:46
|
||||
msgid "Page %s"
|
||||
msgstr "Sida %s"
|
||||
|
||||
#: functions.php:787
|
||||
#. translators: 1: The permalink, 2: Time, 3: Date and time, 4: Date and time,
|
||||
#. 5: Author posts, 6: Author post link text, 7: Author display name.
|
||||
#: functions.php:797
|
||||
msgid "<span class=\"sep\">Posted on </span><a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\">%4$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>"
|
||||
msgstr "<span class=\"sep\">Postat </span><a href=\"%1$s\" title=\"%2$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%3$s\">%4$s</time></a><span class=\"by-author\"> <span class=\"sep\"> av </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%5$s\" title=\"%6$s\" rel=\"author\">%7$s</a></span></span>"
|
||||
|
||||
#: functions.php:761
|
||||
#: functions.php:770
|
||||
msgid "Reply <span>↓</span>"
|
||||
msgstr "Svara <span>↓</span>"
|
||||
|
||||
#: functions.php:747
|
||||
#: functions.php:749
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "Din kommentar inväntar granskning."
|
||||
|
||||
#. translators: 1: date, 2: time
|
||||
#. translators: 1: Date, 2: Time.
|
||||
#: functions.php:738
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr "%1$s kl. %2$s"
|
||||
|
||||
#. translators: 1: Comment author, 2: Date and time.
|
||||
#: functions.php:731
|
||||
msgid "%1$s on %2$s <span class=\"says\">said:</span>"
|
||||
msgstr "%1$s den %2$s <span class=\"says\">skrev:</span>"
|
||||
|
|
@ -317,42 +332,42 @@ msgstr "Sidopanel presentation"
|
|||
msgid "Main Sidebar"
|
||||
msgstr "Primär sidopanel"
|
||||
|
||||
#. translators: header image description
|
||||
#. translators: Header image description.
|
||||
#: functions.php:280
|
||||
msgid "Hanoi Plant"
|
||||
msgstr "Hanoi-blom"
|
||||
|
||||
#. translators: header image description
|
||||
#. translators: Header image description.
|
||||
#: functions.php:274
|
||||
msgid "Willow"
|
||||
msgstr "Vide"
|
||||
|
||||
#. translators: header image description
|
||||
#. translators: Header image description.
|
||||
#: functions.php:268
|
||||
msgid "Lanterns"
|
||||
msgstr "Lanternor"
|
||||
|
||||
#. translators: header image description
|
||||
#. translators: Header image description.
|
||||
#: functions.php:262
|
||||
msgid "Chessboard"
|
||||
msgstr "Schackbräde"
|
||||
|
||||
#. translators: header image description
|
||||
#. translators: Header image description.
|
||||
#: functions.php:256
|
||||
msgid "Pine Cone"
|
||||
msgstr "Tallkotte"
|
||||
|
||||
#. translators: header image description
|
||||
#. translators: Header image description.
|
||||
#: functions.php:250
|
||||
msgid "Trolley"
|
||||
msgstr "Kärra"
|
||||
|
||||
#. translators: header image description
|
||||
#. translators: Header image description.
|
||||
#: functions.php:244
|
||||
msgid "Shore"
|
||||
msgstr "Strand"
|
||||
|
||||
#. translators: header image description
|
||||
#. translators: Header image description.
|
||||
#: functions.php:238
|
||||
msgid "Wheel"
|
||||
msgstr "Hjul"
|
||||
|
|
@ -361,7 +376,8 @@ msgstr "Hjul"
|
|||
msgid "Primary Menu"
|
||||
msgstr "Primär meny"
|
||||
|
||||
#: footer.php:35
|
||||
#. translators: %s: WordPress
|
||||
#: footer.php:37
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr "Drivs med %s"
|
||||
|
||||
|
|
@ -377,19 +393,26 @@ msgstr "Utvalda"
|
|||
msgid "Status"
|
||||
msgstr "Status"
|
||||
|
||||
#: content-single.php:74
|
||||
#. translators: %s: Author name.
|
||||
#: content-single.php:88
|
||||
msgid "View all posts by %s <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: content-single.php:46
|
||||
#. translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title,
|
||||
#. 5: Author name, 6: Author URL.
|
||||
#: content-single.php:49
|
||||
msgid "This entry was posted by <a href=\"%6$s\">%5$s</a>. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr "Detta inlägg postades av <a href=\"%6$s\">%5$s</a>. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>."
|
||||
|
||||
#: content-single.php:44
|
||||
#. translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title,
|
||||
#. 5: Author name, 6: Author URL.
|
||||
#: content-single.php:46
|
||||
msgid "This entry was posted in %1$s by <a href=\"%6$s\">%5$s</a>. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr "Det här inlägget postades i %1$s av <a href=\"%6$s\">%5$s</a>. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>."
|
||||
|
||||
#: content-single.php:42
|
||||
#. translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title,
|
||||
#. 5: Author name, 6: Author URL.
|
||||
#: content-single.php:43
|
||||
msgid "This entry was posted in %1$s and tagged %2$s by <a href=\"%6$s\">%5$s</a>. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr "Det här inlägget postades i %1$s och märktes %2$s av <a href=\"%6$s\">%5$s</a>. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>."
|
||||
|
||||
|
|
@ -401,11 +424,14 @@ msgstr "Citat"
|
|||
msgid "Link"
|
||||
msgstr "Länk"
|
||||
|
||||
#: content-image.php:49 functions.php:793
|
||||
#. translators: %s: Author display name.
|
||||
#: content-image.php:51 functions.php:804
|
||||
msgid "View all posts by %s"
|
||||
msgstr "Visa alla inlägg av %s"
|
||||
|
||||
#: content-image.php:44
|
||||
#. translators: 1: The permalink, 2: Date and time, 3: Date and time, 4: Author
|
||||
#. link, 5: Author link title, 6: Author display name.
|
||||
#: content-image.php:45
|
||||
msgid "<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%2$s\">%3$s</time></a><span class=\"by-author\"> <span class=\"sep\"> by </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%4$s\" title=\"%5$s\" rel=\"author\">%6$s</a></span></span>"
|
||||
msgstr "<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"%2$s\">%3$s</time></a><span class=\"by-author\"> <span class=\"sep\"> av </span> <span class=\"author vcard\"><a class=\"url fn n\" href=\"%4$s\" title=\"%5$s\" rel=\"author\">%6$s</a></span></span>"
|
||||
|
||||
|
|
@ -413,21 +439,27 @@ msgstr "<a href=\"%1$s\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"
|
|||
msgid "Image"
|
||||
msgstr "Bild"
|
||||
|
||||
#: content-gallery.php:93 content-image.php:70 content-quote.php:71
|
||||
#: content.php:80
|
||||
#. translators: 1: CSS classes, 2: List of tags.
|
||||
#. translators: 1: CSS classes, 2: Tag list.
|
||||
#: content-gallery.php:97 content-image.php:77 content-quote.php:73
|
||||
#: content.php:82
|
||||
msgid "<span class=\"%1$s\">Tagged</span> %2$s"
|
||||
msgstr "<span class=\"%1$s\">Etiketter</span> %2$s"
|
||||
|
||||
#: content-gallery.php:78 content-image.php:61 content-quote.php:56
|
||||
#: content.php:63
|
||||
#. translators: 1: CSS classes, 2: List of categories.
|
||||
#. translators: 1: CSS classes, 2: Category list.
|
||||
#: content-gallery.php:81 content-image.php:65 content-quote.php:57
|
||||
#: content.php:64
|
||||
msgid "<span class=\"%1$s\">Posted in</span> %2$s"
|
||||
msgstr "<span class=\"%1$s\">Publicerat i</span> %2$s"
|
||||
|
||||
#: content-gallery.php:50 showcase.php:128
|
||||
#. translators: %s: Post title.
|
||||
#: content-gallery.php:52 showcase.php:129
|
||||
msgid "Permalink to %s"
|
||||
msgstr "Permanent länk till %s"
|
||||
|
||||
#: content-gallery.php:49
|
||||
#. translators: 1: Link attributes, 2: Number of photos.
|
||||
#: content-gallery.php:50
|
||||
msgid "This gallery contains <a %1$s>%2$s photo</a>."
|
||||
msgid_plural "This gallery contains <a %1$s>%2$s photos</a>."
|
||||
msgstr[0] "Detta galleri innehåller <a %1$s>%2$s bild</a>."
|
||||
|
|
@ -437,50 +469,53 @@ msgstr[1] "Detta galleri innehåller <a %1$s>%2$s bilder</a>."
|
|||
msgid "Gallery"
|
||||
msgstr "Galleri"
|
||||
|
||||
#: content-featured.php:40
|
||||
#. translators: 1: Category list, 3: Post permalink, 4: Post title.
|
||||
#: content-featured.php:42
|
||||
msgid "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr "Det här inlägget postades i %1$s. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>. "
|
||||
|
||||
#: content-featured.php:38
|
||||
#. translators: 1: Category list, 2: Tag list, 3: Post permalink, 4: Post
|
||||
#. title.
|
||||
#: content-featured.php:39
|
||||
msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr "Det här inlägget postades i %1$s och har märkts med etiketterna %2$s. Bokmärk <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalänken</a>."
|
||||
|
||||
#. translators: used between list items, there is a space after the comma
|
||||
#: content-gallery.php:73 content-gallery.php:85 content-image.php:57
|
||||
#: content-image.php:66 content-single.php:37 content-single.php:40
|
||||
#: content-quote.php:51 content-quote.php:63 content-featured.php:36
|
||||
#: content-featured.php:45 content.php:58 content.php:72
|
||||
#. translators: Used between list items, there is a space after the comma.
|
||||
#: content-gallery.php:75 content-gallery.php:88 content-image.php:59
|
||||
#: content-image.php:71 content-single.php:37 content-single.php:40
|
||||
#: content-quote.php:51 content-quote.php:64 content-featured.php:36
|
||||
#: content-featured.php:47 content.php:58 content.php:73
|
||||
msgid ", "
|
||||
msgstr ", "
|
||||
|
||||
#: content-gallery.php:106 content-aside.php:53 content-status.php:66
|
||||
#: content-image.php:79 content-single.php:59 content-link.php:53
|
||||
#: content-intro.php:26 content-page.php:28 content-quote.php:84 image.php:45
|
||||
#: functions.php:712 functions.php:743 content-featured.php:52 content.php:94
|
||||
#: content-gallery.php:110 content-aside.php:53 content-status.php:66
|
||||
#: content-image.php:87 content-single.php:62 content-link.php:53
|
||||
#: content-intro.php:26 content-page.php:28 content-quote.php:86 image.php:46
|
||||
#: functions.php:712 functions.php:743 content-featured.php:54 content.php:96
|
||||
msgid "Edit"
|
||||
msgstr "Redigera"
|
||||
|
||||
#: content-gallery.php:103 content-aside.php:51 content-status.php:64
|
||||
#: content-image.php:75 content-link.php:51 content-quote.php:81
|
||||
#: showcase.php:214 content.php:91
|
||||
#: content-gallery.php:107 content-aside.php:51 content-status.php:64
|
||||
#: content-image.php:83 content-link.php:51 content-quote.php:83
|
||||
#: showcase.php:220 content.php:93
|
||||
msgid "<b>%</b> Replies"
|
||||
msgstr "<b>%</b> Kommentarer"
|
||||
|
||||
#: content-gallery.php:103 content-aside.php:51 content-status.php:64
|
||||
#: content-image.php:75 content-link.php:51 content-quote.php:81
|
||||
#: showcase.php:214 content.php:91
|
||||
#: content-gallery.php:107 content-aside.php:51 content-status.php:64
|
||||
#: content-image.php:83 content-link.php:51 content-quote.php:83
|
||||
#: showcase.php:220 content.php:93
|
||||
msgid "<b>1</b> Reply"
|
||||
msgstr "<b>1</b> Kommentar"
|
||||
|
||||
#: content-gallery.php:103 content-aside.php:51 content-status.php:64
|
||||
#: content-image.php:75 content-link.php:51 content-quote.php:81
|
||||
#: showcase.php:214 content.php:91
|
||||
#: content-gallery.php:107 content-aside.php:51 content-status.php:64
|
||||
#: content-image.php:83 content-link.php:51 content-quote.php:83
|
||||
#: showcase.php:220 content.php:93
|
||||
msgid "Leave a reply"
|
||||
msgstr "Kommentera"
|
||||
|
||||
#: content-gallery.php:61 content-aside.php:39 content-status.php:52
|
||||
#: content-gallery.php:63 content-aside.php:39 content-status.php:52
|
||||
#: content-image.php:33 content-single.php:27 content-link.php:39
|
||||
#: content-intro.php:21 content-page.php:21 content-quote.php:39 image.php:119
|
||||
#: content-intro.php:21 content-page.php:21 content-quote.php:39 image.php:122
|
||||
#: content-featured.php:26 content.php:45
|
||||
msgid "Pages:"
|
||||
msgstr "Sidor:"
|
||||
|
|
@ -539,54 +574,63 @@ msgstr[1] "%1$s svar på ”%2$s”"
|
|||
msgid "This post is password protected. Enter the password to view any comments."
|
||||
msgstr "Det här inlägget är lösenordsskyddat. Ange lösenordet för att se eventuella kommentarer."
|
||||
|
||||
#: category.php:20
|
||||
#. translators: %s: Ñategory title.
|
||||
#: category.php:21
|
||||
msgid "Category Archives: %s"
|
||||
msgstr "Kategoriarkiv: %s"
|
||||
|
||||
#: content-single.php:70 author.php:61
|
||||
#. translators: %s: Author name.
|
||||
#. translators: Author display name.
|
||||
#: content-single.php:80 author.php:70
|
||||
msgid "About %s"
|
||||
msgstr "Om %s"
|
||||
|
||||
#: author.php:29
|
||||
#. translators: %s: Author display name.
|
||||
#: author.php:32
|
||||
msgid "Author Archives: %s"
|
||||
msgstr "Författararkiv: %s"
|
||||
|
||||
#: archive.php:64 index.php:44 tag.php:69 category.php:68 author.php:94
|
||||
#: archive.php:71 index.php:44 tag.php:70 category.php:70 author.php:106
|
||||
msgid "Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post."
|
||||
msgstr "Tyvärr så kunde inga resultat hittas för efterfrågat arkiv. Kanske kan en sökning hjälpa dig att hitta relaterande inlägg."
|
||||
|
||||
#: archive.php:60 index.php:40 tag.php:65 search.php:47 category.php:64
|
||||
#: author.php:90
|
||||
#: archive.php:67 index.php:40 tag.php:66 search.php:52 category.php:66
|
||||
#: author.php:102
|
||||
msgid "Nothing Found"
|
||||
msgstr "Kunde inte hittas"
|
||||
|
||||
#: archive.php:31
|
||||
#: archive.php:35
|
||||
msgid "Blog Archives"
|
||||
msgstr "Bloggarkiv"
|
||||
|
||||
#: archive.php:29
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:33
|
||||
msgctxt "yearly archives date format"
|
||||
msgid "Y"
|
||||
msgstr "Y"
|
||||
|
||||
#: archive.php:29
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:33
|
||||
msgid "Yearly Archives: %s"
|
||||
msgstr "Årsarkiv: %s"
|
||||
|
||||
#: archive.php:27
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:30
|
||||
msgctxt "monthly archives date format"
|
||||
msgid "F Y"
|
||||
msgstr "F Y"
|
||||
|
||||
#: archive.php:27
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:30
|
||||
msgid "Monthly Archives: %s"
|
||||
msgstr "månadsarkiv: %s"
|
||||
|
||||
#: archive.php:25
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:27
|
||||
msgid "Daily Archives: %s"
|
||||
msgstr "Dagsarkiv: %s"
|
||||
|
||||
#. translators: %1$s: smilie
|
||||
#. translators: %1$s: Smilie.
|
||||
#: 404.php:46
|
||||
msgid "Try looking in the monthly archives. %1$s"
|
||||
msgstr "Prova att leta i månadsarkiven. %1$s"
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the same license as the Themes - Twenty Fifteen package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2018-12-07 12:20:26+0000\n"
|
||||
"PO-Revision-Date: 2020-03-31 20:57:42+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
@ -19,117 +19,118 @@ msgstr "Vårt 2015-års standardtema är rent, bloggfokuserat, och utformat för
|
|||
msgid "Twenty Fifteen"
|
||||
msgstr "Twenty Fifteen"
|
||||
|
||||
#: functions.php:212
|
||||
#: functions.php:245
|
||||
msgid "Light Blue"
|
||||
msgstr "Ljusblått"
|
||||
|
||||
#: functions.php:207
|
||||
#: functions.php:240
|
||||
msgid "Bright Blue"
|
||||
msgstr "Djupblått"
|
||||
|
||||
#: functions.php:162
|
||||
#: functions.php:195
|
||||
msgid "Light Gray"
|
||||
msgstr "Ljusgrått"
|
||||
|
||||
#: functions.php:157
|
||||
#: functions.php:190
|
||||
msgid "Dark Gray"
|
||||
msgstr "Mörkgrått"
|
||||
|
||||
#: functions.php:177
|
||||
#: functions.php:210
|
||||
msgid "Dark Brown"
|
||||
msgstr "Mörkbrunt"
|
||||
|
||||
#: functions.php:167
|
||||
#: functions.php:200
|
||||
msgid "White"
|
||||
msgstr "Vitt"
|
||||
|
||||
#: functions.php:187
|
||||
#: functions.php:220
|
||||
msgid "Light Pink"
|
||||
msgstr "Ljusrosa"
|
||||
|
||||
#: functions.php:182
|
||||
#: functions.php:215
|
||||
msgid "Medium Pink"
|
||||
msgstr "Mellanrosa"
|
||||
|
||||
#: functions.php:202
|
||||
#: functions.php:235
|
||||
msgid "Blue Gray"
|
||||
msgstr "Blågrått"
|
||||
|
||||
#: functions.php:192
|
||||
#: functions.php:225
|
||||
msgid "Dark Purple"
|
||||
msgstr "Mörklila"
|
||||
|
||||
#. translators: %s: post title
|
||||
#. translators: %s: Post title.
|
||||
#: comments.php:31
|
||||
msgctxt "comments title"
|
||||
msgid "One thought on “%s”"
|
||||
msgstr "En kommentar till “%s”"
|
||||
|
||||
#. translators: %s: post title
|
||||
#: inc/template-tags.php:123
|
||||
#. translators: %s: Post title.
|
||||
#: inc/template-tags.php:132
|
||||
msgid "Leave a comment<span class=\"screen-reader-text\"> on %s</span>"
|
||||
msgstr "Lämna en kommentar<span class=\"screen-reader-text\"> till %s</span>"
|
||||
|
||||
#: single.php:37
|
||||
#: single.php:39
|
||||
msgid "Previous post:"
|
||||
msgstr "Föregående inlägg:"
|
||||
|
||||
#: single.php:36
|
||||
#: single.php:38
|
||||
msgid "Previous"
|
||||
msgstr "Föregående"
|
||||
|
||||
#: single.php:34
|
||||
#: single.php:36
|
||||
msgid "Next post:"
|
||||
msgstr "Nästa inlägg:"
|
||||
|
||||
#: single.php:33
|
||||
#: single.php:35
|
||||
msgid "Next"
|
||||
msgstr "Nästa"
|
||||
|
||||
#: search.php:18
|
||||
#. translators: %s: Search query.
|
||||
#: search.php:21
|
||||
msgid "Search Results for: %s"
|
||||
msgstr "Sökresultat för: %s"
|
||||
|
||||
#: inc/template-tags.php:113
|
||||
#: inc/template-tags.php:122
|
||||
msgctxt "Used before full size attachment link."
|
||||
msgid "Full size"
|
||||
msgstr "Full storlek"
|
||||
|
||||
#: inc/template-tags.php:102
|
||||
#: inc/template-tags.php:110
|
||||
msgctxt "Used before tag names."
|
||||
msgid "Tags"
|
||||
msgstr "Taggar"
|
||||
|
||||
#: inc/template-tags.php:94
|
||||
#: inc/template-tags.php:101
|
||||
msgctxt "Used before category names."
|
||||
msgid "Categories"
|
||||
msgstr "Kategorier"
|
||||
|
||||
#: inc/template-tags.php:91 inc/template-tags.php:99
|
||||
#: inc/template-tags.php:97 inc/template-tags.php:106
|
||||
msgctxt "Used between list items, there is a space after the comma."
|
||||
msgid ", "
|
||||
msgstr ", "
|
||||
|
||||
#: inc/template-tags.php:85
|
||||
#: inc/template-tags.php:91
|
||||
msgctxt "Used before post author name."
|
||||
msgid "Author"
|
||||
msgstr "Författare"
|
||||
|
||||
#: inc/template-tags.php:76
|
||||
#: inc/template-tags.php:81
|
||||
msgctxt "Used before publish date."
|
||||
msgid "Posted on"
|
||||
msgstr "Postat"
|
||||
|
||||
#: inc/template-tags.php:55
|
||||
#: inc/template-tags.php:58
|
||||
msgctxt "Used before post format."
|
||||
msgid "Format"
|
||||
msgstr "Format"
|
||||
|
||||
#: inc/template-tags.php:49
|
||||
#: inc/template-tags.php:51
|
||||
msgid "Featured"
|
||||
msgstr "Utvalda"
|
||||
|
||||
#: inc/template-tags.php:30
|
||||
#: inc/template-tags.php:31
|
||||
msgid "Newer Comments"
|
||||
msgstr "Nyare kommentarer"
|
||||
|
||||
|
|
@ -141,154 +142,157 @@ msgstr "Äldre kommentarer"
|
|||
msgid "Comment navigation"
|
||||
msgstr "Kommentarsnavigering"
|
||||
|
||||
#: inc/customizer.php:205
|
||||
#: inc/customizer.php:237
|
||||
msgid "Blue"
|
||||
msgstr "Blå"
|
||||
|
||||
#: functions.php:197 inc/customizer.php:194
|
||||
#: functions.php:230 inc/customizer.php:226
|
||||
msgid "Purple"
|
||||
msgstr "Lila"
|
||||
|
||||
#: inc/customizer.php:183
|
||||
#: inc/customizer.php:215
|
||||
msgid "Pink"
|
||||
msgstr "Rosa"
|
||||
|
||||
#: functions.php:172 inc/customizer.php:172
|
||||
#: functions.php:205 inc/customizer.php:204
|
||||
msgid "Yellow"
|
||||
msgstr "Gult"
|
||||
|
||||
#: inc/customizer.php:161
|
||||
#: inc/customizer.php:193
|
||||
msgid "Dark"
|
||||
msgstr "Mörkt"
|
||||
|
||||
#: inc/customizer.php:150
|
||||
#: inc/customizer.php:182
|
||||
msgid "Default"
|
||||
msgstr "Standard"
|
||||
|
||||
#: inc/customizer.php:75
|
||||
#: inc/customizer.php:103
|
||||
msgid "Header and Sidebar Background Color"
|
||||
msgstr "Bakgrundsfärg för sidhuvud och sidofält"
|
||||
|
||||
#: inc/customizer.php:60 inc/customizer.php:76 inc/customizer.php:81
|
||||
#: inc/customizer.php:79 inc/customizer.php:104 inc/customizer.php:111
|
||||
msgid "Applied to the header on small screens and the sidebar on wide screens."
|
||||
msgstr "Anges som sidhuvud på små skärmar och sidofält på större skärmar."
|
||||
|
||||
#: inc/customizer.php:59
|
||||
#: inc/customizer.php:78
|
||||
msgid "Header and Sidebar Text Color"
|
||||
msgstr "Textfärg för sidhuvud och sidofält"
|
||||
|
||||
#: inc/customizer.php:44
|
||||
#: inc/customizer.php:55
|
||||
msgid "Base Color Scheme"
|
||||
msgstr "Huvudfärgschema"
|
||||
|
||||
#: inc/back-compat.php:37 inc/back-compat.php:47 inc/back-compat.php:60
|
||||
#. translators: %s: WordPress version.
|
||||
#: inc/back-compat.php:38 inc/back-compat.php:50 inc/back-compat.php:67
|
||||
msgid "Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again."
|
||||
msgstr "Twenty Fifteen kräver minst WordPress version 4.1. Du använder version %s. Uppdatera och försök igen."
|
||||
|
||||
#: image.php:84
|
||||
#: image.php:88
|
||||
msgctxt "Parent post link"
|
||||
msgid "<span class=\"meta-nav\">Published in</span><span class=\"post-title\">%title</span>"
|
||||
msgstr "<span class=\"meta-nav\">Publicerat i</span><span class=\"post-title\">%title</span>"
|
||||
|
||||
#: image.php:24
|
||||
#: image.php:25
|
||||
msgid "Next Image"
|
||||
msgstr "Nästa bild"
|
||||
|
||||
#: image.php:24
|
||||
#: image.php:25
|
||||
msgid "Previous Image"
|
||||
msgstr "Föregående bild"
|
||||
|
||||
#: header.php:45
|
||||
#: header.php:50
|
||||
msgid "Menu and widgets"
|
||||
msgstr "Meny och widgets"
|
||||
|
||||
#: header.php:26
|
||||
#: header.php:27
|
||||
msgid "Skip to content"
|
||||
msgstr "Hoppa till innehåll"
|
||||
|
||||
#: functions.php:359
|
||||
#: functions.php:402
|
||||
msgid "collapse child menu"
|
||||
msgstr "minimera undermeny"
|
||||
|
||||
#: functions.php:358
|
||||
#: functions.php:401
|
||||
msgid "expand child menu"
|
||||
msgstr "expandera undermeny"
|
||||
|
||||
#: functions.php:285
|
||||
#: functions.php:321
|
||||
msgctxt "Add new subset (greek, cyrillic, devanagari, vietnamese)"
|
||||
msgid "no-subset"
|
||||
msgstr "no-subset"
|
||||
|
||||
#: functions.php:277
|
||||
#: functions.php:313
|
||||
msgctxt "Inconsolata font: on or off"
|
||||
msgid "on"
|
||||
msgstr "på"
|
||||
|
||||
#: functions.php:269
|
||||
#: functions.php:305
|
||||
msgctxt "Noto Serif font: on or off"
|
||||
msgid "on"
|
||||
msgstr "på"
|
||||
|
||||
#: functions.php:261
|
||||
#: functions.php:297
|
||||
msgctxt "Noto Sans font: on or off"
|
||||
msgid "on"
|
||||
msgstr "på"
|
||||
|
||||
#: functions.php:235
|
||||
#: functions.php:270
|
||||
msgid "Add widgets here to appear in your sidebar."
|
||||
msgstr "Lägg till widgets som ska visas i din sidopanel här."
|
||||
|
||||
#: functions.php:233
|
||||
#: functions.php:268
|
||||
msgid "Widget Area"
|
||||
msgstr "Widgetfält"
|
||||
|
||||
#: functions.php:86
|
||||
#: functions.php:87
|
||||
msgid "Social Links Menu"
|
||||
msgstr "Meny för sociala länkar"
|
||||
|
||||
#: functions.php:85
|
||||
#: functions.php:86
|
||||
msgid "Primary Menu"
|
||||
msgstr "Primär meny"
|
||||
|
||||
#: footer.php:31
|
||||
#. translators: %s: WordPress
|
||||
#: footer.php:33
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr "Drivs med %s"
|
||||
|
||||
#: content-none.php:31
|
||||
#: content-none.php:36
|
||||
msgid "It seems we can’t find what you’re looking for. Perhaps searching can help."
|
||||
msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en sökning hjälpa."
|
||||
|
||||
#: content-none.php:26
|
||||
#: content-none.php:31
|
||||
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
|
||||
msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord."
|
||||
|
||||
#: content-none.php:22
|
||||
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
|
||||
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%1$s\">Starta här</a>."
|
||||
#. translators: %s: Post editor URL.
|
||||
#: content-none.php:25
|
||||
msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
|
||||
msgstr "Redo att publicera ditt första inlägg? <a href=\"%s\">Kom igång här</a>."
|
||||
|
||||
#: content-none.php:15
|
||||
msgid "Nothing Found"
|
||||
msgstr "Kunde inte hittas"
|
||||
|
||||
#: content-link.php:56 content.php:57 image.php:71 content-search.php:28
|
||||
#: content-search.php:33 content-page.php:35
|
||||
#: content-link.php:60 content.php:61 image.php:74 content-search.php:28
|
||||
#: content-search.php:33 content-page.php:37
|
||||
msgid "Edit"
|
||||
msgstr "Redigera"
|
||||
|
||||
#: content-link.php:36 content.php:38 image.php:59 content-page.php:25
|
||||
#: content-link.php:39 content.php:41 image.php:61 content-page.php:26
|
||||
msgid "Pages:"
|
||||
msgstr "Sidor:"
|
||||
|
||||
#. translators: %s: Name of current post
|
||||
#: content-link.php:31 content.php:33 inc/template-tags.php:238
|
||||
#. translators: %s: Post title.
|
||||
#: content-link.php:32 content.php:34 inc/template-tags.php:252
|
||||
msgid "Continue reading %s"
|
||||
msgstr "Fortsätt läsa %s"
|
||||
|
||||
#: comments.php:69
|
||||
#: comments.php:71
|
||||
msgid "Comments are closed."
|
||||
msgstr "Kommentarer inaktiverade."
|
||||
|
||||
#. translators: 1: number of comments, 2: post title
|
||||
#. translators: 1: Number of comments, 2: Post title.
|
||||
#: comments.php:35
|
||||
msgctxt "comments title"
|
||||
msgid "%1$s thought on “%2$s”"
|
||||
|
|
@ -296,7 +300,8 @@ msgid_plural "%1$s thoughts on “%2$s”"
|
|||
msgstr[0] "%1$s reaktion till “%2$s”"
|
||||
msgstr[1] "%1$s reaktioner till “%2$s”"
|
||||
|
||||
#: author-bio.php:34
|
||||
#. translators: %s: Author display name.
|
||||
#: author-bio.php:36
|
||||
msgid "View all posts by %s"
|
||||
msgstr "Visa alla inlägg av %s"
|
||||
|
||||
|
|
@ -304,16 +309,16 @@ msgstr "Visa alla inlägg av %s"
|
|||
msgid "Published by"
|
||||
msgstr "Publicerat av"
|
||||
|
||||
#: content-link.php:40 index.php:48 content.php:42 archive.php:51 search.php:40
|
||||
#: image.php:63 content-page.php:29
|
||||
#: content-link.php:43 index.php:50 content.php:45 archive.php:53 search.php:48
|
||||
#: image.php:65 content-page.php:30
|
||||
msgid "Page"
|
||||
msgstr "Sida"
|
||||
|
||||
#: index.php:47 archive.php:50 search.php:39
|
||||
#: index.php:49 archive.php:52 search.php:47
|
||||
msgid "Next page"
|
||||
msgstr "Nästa sida"
|
||||
|
||||
#: index.php:46 archive.php:49 search.php:38
|
||||
#: index.php:48 archive.php:51 search.php:46
|
||||
msgid "Previous page"
|
||||
msgstr "Föregående sida"
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the same license as the Themes - Twenty Nineteen package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2019-05-19 11:20:08+0000\n"
|
||||
"PO-Revision-Date: 2020-03-31 20:56:24+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
@ -19,7 +19,19 @@ msgstr "Vårt standardtema för 2019 är utformat för att visa upp blockrediger
|
|||
msgid "Twenty Nineteen"
|
||||
msgstr "Twenty Nineteen"
|
||||
|
||||
#. translators: %s: parent post link
|
||||
#: classes/class-twentynineteen-walker-comment.php:96
|
||||
msgid "Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved."
|
||||
msgstr "Din kommentar inväntar granskning. Detta är en förhandsvisning. Din kommentar blir synlig när den har godkänts."
|
||||
|
||||
#: functions.php:153
|
||||
msgid "Dark Blue"
|
||||
msgstr "Mörkblått"
|
||||
|
||||
#: functions.php:148
|
||||
msgid "Blue"
|
||||
msgstr "Blått"
|
||||
|
||||
#. translators: %s: Parent post link.
|
||||
#: single.php:31
|
||||
msgid "<span class=\"meta-nav\">Published in</span><span class=\"post-title\">%s</span>"
|
||||
msgstr "<span class=\"meta-nav\">Publicerad i</span><span class=\"post-title\">%s</span>"
|
||||
|
|
@ -29,21 +41,22 @@ msgctxt "Parent post link"
|
|||
msgid "<span class=\"meta-nav\">Published in</span><br><span class=\"post-title\">%title</span>"
|
||||
msgstr "<span class=\"meta-nav\">Publicerat i</span><br><span class=\"post-title\">%title</span>"
|
||||
|
||||
#: template-parts/content/content.php:18
|
||||
#: template-parts/content/content-excerpt.php:18
|
||||
#: template-parts/content/content.php:18
|
||||
msgctxt "post"
|
||||
msgid "Featured"
|
||||
msgstr "Utvalt"
|
||||
|
||||
#: inc/back-compat.php:39 inc/back-compat.php:53 inc/back-compat.php:73
|
||||
#. translators: %s: WordPress version.
|
||||
#: inc/back-compat.php:40 inc/back-compat.php:55 inc/back-compat.php:76
|
||||
msgid "Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again."
|
||||
msgstr "Twenty Nineteen kräver lägst WordPress version 4.7. Du använder version %s. Uppgradera och försök igen."
|
||||
|
||||
#: inc/template-functions.php:216
|
||||
#: inc/template-functions.php:143
|
||||
msgid "Back"
|
||||
msgstr "Tillbaka"
|
||||
|
||||
#: inc/template-functions.php:209
|
||||
#: inc/template-functions.php:136
|
||||
msgid "More"
|
||||
msgstr "Mer"
|
||||
|
||||
|
|
@ -65,55 +78,51 @@ msgctxt "primary color"
|
|||
msgid "Default"
|
||||
msgstr "Standard"
|
||||
|
||||
#: functions.php:166
|
||||
#: functions.php:168
|
||||
msgid "White"
|
||||
msgstr "Vitt"
|
||||
|
||||
#: functions.php:161
|
||||
#: functions.php:163
|
||||
msgid "Light Gray"
|
||||
msgstr "Ljustgrått"
|
||||
|
||||
#: functions.php:156
|
||||
#: functions.php:158
|
||||
msgid "Dark Gray"
|
||||
msgstr "Mörkgrått"
|
||||
|
||||
#: functions.php:151
|
||||
msgid "Secondary"
|
||||
msgstr "Sekundär"
|
||||
|
||||
#: functions.php:134
|
||||
#: functions.php:136
|
||||
msgid "XL"
|
||||
msgstr "XL"
|
||||
|
||||
#: functions.php:133
|
||||
#: functions.php:135
|
||||
msgid "Huge"
|
||||
msgstr "Enorm"
|
||||
|
||||
#: functions.php:128
|
||||
#: functions.php:130
|
||||
msgid "L"
|
||||
msgstr "L"
|
||||
|
||||
#: functions.php:127
|
||||
#: functions.php:129
|
||||
msgid "Large"
|
||||
msgstr "Stor"
|
||||
|
||||
#: functions.php:122
|
||||
#: functions.php:124
|
||||
msgid "M"
|
||||
msgstr "M"
|
||||
|
||||
#: functions.php:121
|
||||
#: functions.php:123
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#: functions.php:115
|
||||
#: functions.php:117
|
||||
msgid "Small"
|
||||
msgstr "Liten"
|
||||
|
||||
#: functions.php:116
|
||||
#: functions.php:118
|
||||
msgid "S"
|
||||
msgstr "S"
|
||||
|
||||
#: functions.php:60 footer.php:37
|
||||
#: footer.php:37 functions.php:60
|
||||
msgid "Footer Menu"
|
||||
msgstr "Sidfotsmeny"
|
||||
|
||||
|
|
@ -126,11 +135,11 @@ msgstr "Full storlek"
|
|||
msgid "Page"
|
||||
msgstr "Sida"
|
||||
|
||||
#: functions.php:190
|
||||
#: functions.php:192
|
||||
msgid "Add widgets here to appear in your footer."
|
||||
msgstr "Lägg till widgetar här som ska visas i sidfoten."
|
||||
|
||||
#: functions.php:188 template-parts/footer/footer-widgets.php:12
|
||||
#: template-parts/footer/footer-widgets.php:12 functions.php:190
|
||||
msgid "Footer"
|
||||
msgstr "Sidfot"
|
||||
|
||||
|
|
@ -142,7 +151,7 @@ msgstr "Huvudfärg"
|
|||
msgid "No comments"
|
||||
msgstr "Ingen kommentar"
|
||||
|
||||
#. translators: %1(X comments)$s
|
||||
#. translators: %d: Number of comments.
|
||||
#: template-parts/post/discussion-meta.php:16
|
||||
msgid "%d Comment"
|
||||
msgid_plural "%d Comments"
|
||||
|
|
@ -153,7 +162,7 @@ msgstr[1] "%d kommentarer"
|
|||
msgid "View more posts"
|
||||
msgstr "Visa fler inlägg"
|
||||
|
||||
#. translators: %s: post author
|
||||
#. translators: %s: Post author.
|
||||
#: template-parts/post/author-bio.php:17
|
||||
msgid "Published by %s"
|
||||
msgstr "Publicerat av %s"
|
||||
|
|
@ -162,15 +171,15 @@ msgstr "Publicerat av %s"
|
|||
msgid "Top Menu"
|
||||
msgstr "Toppmeny"
|
||||
|
||||
#. translators: %s: Name of current post. Only visible to screen readers
|
||||
#: template-parts/content/content.php:36
|
||||
#. translators: %s: Post title. Only visible to screen readers.
|
||||
#: template-parts/content/content-single.php:27
|
||||
#: template-parts/content/content.php:36
|
||||
msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
|
||||
msgstr "Fortsätt läsa<span class=\"screen-reader-text\"> \"%s\"</span>"
|
||||
|
||||
#: image.php:52 template-parts/content/content-page.php:27
|
||||
#: template-parts/content/content.php:49
|
||||
#: template-parts/content/content-single.php:40
|
||||
#: template-parts/content/content.php:49
|
||||
#: template-parts/content/content-page.php:27 image.php:52
|
||||
msgid "Pages:"
|
||||
msgstr "Sidor:"
|
||||
|
||||
|
|
@ -182,7 +191,7 @@ msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en s
|
|||
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
|
||||
msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord."
|
||||
|
||||
#. translators: 1: link to WP admin new post page.
|
||||
#. translators: 1: Link to WP admin new post page.
|
||||
#: template-parts/content/content-none.php:26
|
||||
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
|
||||
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%1$s\">Starta här</a>."
|
||||
|
|
@ -208,7 +217,7 @@ msgid "Next Post"
|
|||
msgstr "Nästa inlägg"
|
||||
|
||||
#: search.php:22
|
||||
msgid "Search results for:"
|
||||
msgid "Search results for: "
|
||||
msgstr "Sökresultat för:"
|
||||
|
||||
#: inc/template-tags.php:234
|
||||
|
|
@ -227,12 +236,12 @@ msgstr "Etiketter:"
|
|||
msgid "Posted in"
|
||||
msgstr "Publicerat i"
|
||||
|
||||
#. translators: used between list items, there is a space after the comma.
|
||||
#. translators: Used between list items, there is a space after the comma.
|
||||
#: inc/template-tags.php:86 inc/template-tags.php:98
|
||||
msgid ", "
|
||||
msgstr ", "
|
||||
|
||||
#. translators: %s: Name of current post. Only visible to screen readers.
|
||||
#. translators: %s: Post title. Only visible to screen readers.
|
||||
#: inc/template-tags.php:63
|
||||
msgid "Leave a comment<span class=\"screen-reader-text\"> on %s</span>"
|
||||
msgstr "Lämna en kommentar<span class=\"screen-reader-text\"> till %s</span>"
|
||||
|
|
@ -255,7 +264,7 @@ msgstr "Y"
|
|||
msgid "Archives:"
|
||||
msgstr "Arkiv:"
|
||||
|
||||
#. translators: %s: Taxonomy singular name
|
||||
#. translators: %s: Taxonomy singular name.
|
||||
#: inc/template-functions.php:90
|
||||
msgid "%s Archives:"
|
||||
msgstr "Arkiv för %s:"
|
||||
|
|
@ -288,10 +297,9 @@ msgstr "Etikettarkiv:"
|
|||
msgid "Category Archives: "
|
||||
msgstr "Kategoriarkiv:"
|
||||
|
||||
#. translators: %s: Name of current post. Only visible to screen readers
|
||||
#. translators: %s: Name of current post. Only visible to screen readers.
|
||||
#: template-parts/content/content-page.php:41
|
||||
#: template-parts/header/entry-header.php:32 inc/template-tags.php:120
|
||||
#. translators: %s: Post title. Only visible to screen readers.
|
||||
#: template-parts/header/entry-header.php:32
|
||||
#: template-parts/content/content-page.php:41 inc/template-tags.php:120
|
||||
msgid "Edit <span class=\"screen-reader-text\">%s</span>"
|
||||
msgstr "Redigera <span class=\"screen-reader-text\">%s</span>"
|
||||
|
||||
|
|
@ -299,11 +307,11 @@ msgstr "Redigera <span class=\"screen-reader-text\">%s</span>"
|
|||
msgid "Skip to content"
|
||||
msgstr "Hoppa till innehåll"
|
||||
|
||||
#: functions.php:61 template-parts/header/site-branding.php:46
|
||||
#: template-parts/header/site-branding.php:46 functions.php:61
|
||||
msgid "Social Links Menu"
|
||||
msgstr "Meny för sociala länkar"
|
||||
|
||||
#: functions.php:59 functions.php:146
|
||||
#: functions.php:59
|
||||
msgid "Primary"
|
||||
msgstr "Huvudmeny"
|
||||
|
||||
|
|
@ -328,7 +336,7 @@ msgstr "Föregående"
|
|||
msgid "Comments"
|
||||
msgstr "Kommentarer"
|
||||
|
||||
#. translators: 1: number of comments, 2: post title
|
||||
#. translators: 1: Number of comments, 2: Post title.
|
||||
#: comments.php:44
|
||||
msgctxt "comments title"
|
||||
msgid "%1$s reply on “%2$s”"
|
||||
|
|
@ -336,7 +344,7 @@ msgid_plural "%1$s replies on “%2$s”"
|
|||
msgstr[0] "%1$s svar på ”%2$s”"
|
||||
msgstr[1] "%1$s svar på ”%2$s”"
|
||||
|
||||
#. translators: %s: post title
|
||||
#. translators: %s: Post title.
|
||||
#: comments.php:40
|
||||
msgctxt "comments title"
|
||||
msgid "One reply on “%s”"
|
||||
|
|
@ -350,20 +358,21 @@ msgstr "Lämna en kommentar"
|
|||
msgid "Join the Conversation"
|
||||
msgstr "Delta i diskussionen"
|
||||
|
||||
#: classes/class-twentynineteen-walker-comment.php:99
|
||||
#: classes/class-twentynineteen-walker-comment.php:94
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "Din kommentar inväntar granskning."
|
||||
|
||||
#: classes/class-twentynineteen-walker-comment.php:94
|
||||
#: classes/class-twentynineteen-walker-comment.php:87
|
||||
msgid "Edit"
|
||||
msgstr "Redigera"
|
||||
|
||||
#. translators: 1: comment date, 2: comment time
|
||||
#: classes/class-twentynineteen-walker-comment.php:86
|
||||
#. translators: 1: Comment date, 2: Comment time.
|
||||
#: classes/class-twentynineteen-walker-comment.php:79
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr "%1$s \\k\\l. %2$s"
|
||||
|
||||
#: classes/class-twentynineteen-walker-comment.php:66
|
||||
#. translators: %s: Comment author link.
|
||||
#: classes/class-twentynineteen-walker-comment.php:59
|
||||
msgid "%s <span class=\"screen-reader-text says\">says:</span>"
|
||||
msgstr "%s <span class=\"screen-reader-text says\">säger:</span>"
|
||||
|
||||
|
|
@ -386,4 +395,4 @@ msgstr "WordPress-teamet"
|
|||
#. Author URI of the theme
|
||||
#: footer.php:25
|
||||
msgid "https://wordpress.org/"
|
||||
msgstr "https://wordpress.org/"
|
||||
msgstr "https://wordpress.org/"
|
||||
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the same license as the Themes - Twenty Seventeen package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2018-11-02 11:53:35+0000\n"
|
||||
"PO-Revision-Date: 2020-03-31 20:57:10+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
@ -23,30 +23,30 @@ msgstr "Twenty Seventeen"
|
|||
msgid "Footer"
|
||||
msgstr "Sidfot"
|
||||
|
||||
#: functions.php:338
|
||||
#: functions.php:340
|
||||
msgid "Add widgets here to appear in your sidebar on blog posts and archive pages."
|
||||
msgstr "Lägg till widgetar här som kommer att visas i sidokolumnen för blogginlägg och arkivsidor."
|
||||
|
||||
#: sidebar.php:18 functions.php:336
|
||||
#: functions.php:338 sidebar.php:18
|
||||
msgid "Blog Sidebar"
|
||||
msgstr "Sidokolumn för blogg"
|
||||
|
||||
#: template-parts/navigation/navigation-top.php:31
|
||||
#: template-parts/header/site-branding.php:34
|
||||
#: template-parts/navigation/navigation-top.php:31
|
||||
msgid "Scroll down to content"
|
||||
msgstr "Rulla ned till innehållet"
|
||||
|
||||
#: functions.php:179
|
||||
#: functions.php:181
|
||||
msgctxt "Theme starter content"
|
||||
msgid "Coffee"
|
||||
msgstr "Kaffe"
|
||||
|
||||
#: functions.php:175
|
||||
#: functions.php:177
|
||||
msgctxt "Theme starter content"
|
||||
msgid "Sandwich"
|
||||
msgstr "Macka"
|
||||
|
||||
#: functions.php:171
|
||||
#: functions.php:173
|
||||
msgctxt "Theme starter content"
|
||||
msgid "Espresso"
|
||||
msgstr "Espresso"
|
||||
|
|
@ -59,9 +59,10 @@ msgstr "Pausa bakgrundsvideo"
|
|||
msgid "Play background video"
|
||||
msgstr "Spela bakgrundsvideo"
|
||||
|
||||
#: inc/template-tags.php:151
|
||||
msgid "Front Page Section %1$s Placeholder"
|
||||
msgstr "Platshållare för förstasidessektionen %1$s"
|
||||
#. translators: %s: The section ID.
|
||||
#: inc/template-tags.php:158
|
||||
msgid "Front Page Section %s Placeholder"
|
||||
msgstr "Platshållare för förstasidessektionen %s"
|
||||
|
||||
#: inc/customizer.php:109
|
||||
msgid "When the two-column layout is assigned, the page title is in one column and content is in the other."
|
||||
|
|
@ -83,17 +84,17 @@ msgstr "Taggar"
|
|||
msgid "Categories"
|
||||
msgstr "Kategorier"
|
||||
|
||||
#. translators: used between list items, there is a space after the comma
|
||||
#. translators: Used between list items, there is a space after the comma.
|
||||
#: inc/template-tags.php:66
|
||||
msgid ", "
|
||||
msgstr ", "
|
||||
|
||||
#. translators: %s: post date
|
||||
#. translators: %s: Post date.
|
||||
#: inc/template-tags.php:52
|
||||
msgid "<span class=\"screen-reader-text\">Posted on</span> %s"
|
||||
msgstr "<span class=\"screen-reader-text\">Publicerat</span> %s"
|
||||
|
||||
#. translators: %s: post author
|
||||
#. translators: %s: Post author.
|
||||
#: inc/template-tags.php:21
|
||||
msgid "by %s"
|
||||
msgstr "av %s"
|
||||
|
|
@ -110,7 +111,7 @@ msgstr "Ange standard-parametrar i form av en array."
|
|||
msgid "Select pages to feature in each area from the dropdowns. Add an image to a section by setting a featured image in the page editor. Empty sections will not be displayed."
|
||||
msgstr "Välj sidor som ska framhävas i varje sektions rullgardinsmenyer. Lägg till en bild i en sektion genom att ställa in en utvald bild i sidredigeraren. Tomma sektioner visas ej."
|
||||
|
||||
#. translators: %d is the front page section number
|
||||
#. translators: %d: The front page section number.
|
||||
#: inc/customizer.php:142
|
||||
msgid "Front Page Section %d Content"
|
||||
msgstr "Innehåll för förstasidessektion %d"
|
||||
|
|
@ -147,25 +148,25 @@ msgstr "Färgschema"
|
|||
msgid "Default Header Image"
|
||||
msgstr "Standard-sidhuvudsbild"
|
||||
|
||||
#: functions.php:360
|
||||
#: functions.php:362
|
||||
msgid "Footer 2"
|
||||
msgstr "Sidfot 2"
|
||||
|
||||
#: functions.php:350 functions.php:362
|
||||
#: functions.php:352 functions.php:364
|
||||
msgid "Add widgets here to appear in your footer."
|
||||
msgstr "Lägg till widgets som ska visas i sidfoten här."
|
||||
|
||||
#: functions.php:348
|
||||
#: functions.php:350
|
||||
msgid "Footer 1"
|
||||
msgstr "Sidfot 1"
|
||||
|
||||
#: functions.php:289
|
||||
#: functions.php:290
|
||||
msgctxt "Libre Franklin font: on or off"
|
||||
msgid "on"
|
||||
msgstr "on"
|
||||
|
||||
#: template-parts/navigation/navigation-top.php:12 functions.php:64
|
||||
#: functions.php:203
|
||||
#: functions.php:205
|
||||
msgid "Top Menu"
|
||||
msgstr "Toppmeny"
|
||||
|
||||
|
|
@ -173,19 +174,20 @@ msgstr "Toppmeny"
|
|||
msgid "Reply"
|
||||
msgstr "Svara"
|
||||
|
||||
#: template-parts/post/content-none.php:28
|
||||
#: template-parts/post/content-none.php:33
|
||||
msgid "It seems we can’t find what you’re looking for. Perhaps searching can help."
|
||||
msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en sökning hjälpa."
|
||||
|
||||
#: search.php:54
|
||||
#: search.php:59
|
||||
msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
|
||||
msgstr "Ledsen, inget matchade dina sökkriterier. Vänligen försök igen med andra nyckelord."
|
||||
|
||||
#: template-parts/post/content-none.php:24
|
||||
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
|
||||
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%1$s\">Starta här</a>."
|
||||
#. translators: %s: Post editor URL.
|
||||
#: template-parts/post/content-none.php:27
|
||||
msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
|
||||
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%s\">Starta här</a>."
|
||||
|
||||
#: template-parts/post/content-none.php:17 search.php:21
|
||||
#: template-parts/post/content-none.php:17 search.php:26
|
||||
msgid "Nothing Found"
|
||||
msgstr "Kunde inte hittas"
|
||||
|
||||
|
|
@ -216,17 +218,18 @@ msgctxt "label"
|
|||
msgid "Search for:"
|
||||
msgstr "Sök efter:"
|
||||
|
||||
#: search.php:19
|
||||
#. translators: Search query.
|
||||
#: search.php:22
|
||||
msgid "Search Results for: %s"
|
||||
msgstr "Sökresultat för: %s"
|
||||
|
||||
#. translators: %s: Name of current post
|
||||
#: template-parts/page/content-front-page-panels.php:45
|
||||
#: template-parts/page/content-front-page.php:42
|
||||
#: template-parts/post/content-audio.php:84 template-parts/post/content.php:57
|
||||
#: template-parts/post/content-gallery.php:71
|
||||
#. translators: %s: Post title.
|
||||
#: template-parts/post/content.php:57 template-parts/post/content-audio.php:84
|
||||
#: template-parts/post/content-image.php:61
|
||||
#: template-parts/post/content-video.php:83
|
||||
#: template-parts/post/content-image.php:61 functions.php:390
|
||||
#: template-parts/post/content-gallery.php:71
|
||||
#: template-parts/page/content-front-page.php:42
|
||||
#: template-parts/page/content-front-page-panels.php:45 functions.php:392
|
||||
msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
|
||||
msgstr "Fortsätt läsa<span class=\"screen-reader-text\"> \"%s\"</span>"
|
||||
|
||||
|
|
@ -234,20 +237,21 @@ msgstr "Fortsätt läsa<span class=\"screen-reader-text\"> \"%s\"</span>"
|
|||
msgid "Dark"
|
||||
msgstr "Mörkt"
|
||||
|
||||
#: inc/back-compat.php:39 inc/back-compat.php:52 inc/back-compat.php:70
|
||||
#. translators: %s: The current WordPress version.
|
||||
#: inc/back-compat.php:40 inc/back-compat.php:54 inc/back-compat.php:73
|
||||
msgid "Twenty Seventeen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again."
|
||||
msgstr "Twenty Seventeen kräver minst version 4.7 av WordPress. Du kör version %s. Vänligen uppdatera WordPress och försök igen."
|
||||
|
||||
#. translators: %s: Name of current post
|
||||
#. translators: %s: Post title.
|
||||
#: inc/template-tags.php:117
|
||||
msgid "Edit<span class=\"screen-reader-text\"> \"%s\"</span>"
|
||||
msgstr "Redigera<span class=\"screen-reader-text\"> ”%s”</span>"
|
||||
|
||||
#: template-parts/page/content-page.php:26
|
||||
#: template-parts/post/content-audio.php:91 template-parts/post/content.php:64
|
||||
#: template-parts/post/content-gallery.php:78
|
||||
#: template-parts/post/content-video.php:90
|
||||
#: template-parts/post/content.php:64 template-parts/post/content-audio.php:91
|
||||
#: template-parts/post/content-image.php:68
|
||||
#: template-parts/post/content-video.php:90
|
||||
#: template-parts/post/content-gallery.php:78
|
||||
#: template-parts/page/content-page.php:26
|
||||
msgid "Pages:"
|
||||
msgstr "Sidor:"
|
||||
|
||||
|
|
@ -259,19 +263,20 @@ msgstr "Meny"
|
|||
msgid "Skip to content"
|
||||
msgstr "Hoppa till innehåll"
|
||||
|
||||
#: functions.php:482
|
||||
#: functions.php:484
|
||||
msgid "Collapse child menu"
|
||||
msgstr "Minimera undermeny"
|
||||
|
||||
#: functions.php:481
|
||||
#: functions.php:483
|
||||
msgid "Expand child menu"
|
||||
msgstr "Expandera undermeny"
|
||||
|
||||
#: functions.php:65 functions.php:214
|
||||
#: functions.php:65 functions.php:216
|
||||
msgid "Social Links Menu"
|
||||
msgstr "Meny för sociala länkar"
|
||||
|
||||
#: template-parts/footer/site-info.php:19
|
||||
#. translators: %s: WordPress
|
||||
#: template-parts/footer/site-info.php:21
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr "Drivs med %s"
|
||||
|
||||
|
|
@ -283,7 +288,7 @@ msgstr "Social länkmeny sidfot"
|
|||
msgid "Comments are closed."
|
||||
msgstr "Kommentarer kan inte lämnas på detta inlägg."
|
||||
|
||||
#. translators: 1: number of comments, 2: post title
|
||||
#. translators: 1: Number of comments, 2: Post title.
|
||||
#: comments.php:41
|
||||
msgctxt "comments title"
|
||||
msgid "%1$s Reply to “%2$s”"
|
||||
|
|
@ -291,13 +296,13 @@ msgid_plural "%1$s Replies to “%2$s”"
|
|||
msgstr[0] "%1$s svar på ”%2$s”"
|
||||
msgstr[1] "%1$s svar på ”%2$s”"
|
||||
|
||||
#. translators: %s: post title
|
||||
#. translators: %s: Post title.
|
||||
#: comments.php:37
|
||||
msgctxt "comments title"
|
||||
msgid "One Reply to “%s”"
|
||||
msgstr "Ett svar på ”%s”"
|
||||
|
||||
#: archive.php:50 search.php:47 index.php:54
|
||||
#: index.php:55 archive.php:51 search.php:52
|
||||
msgid "Page"
|
||||
msgstr "Sida"
|
||||
|
||||
|
|
@ -309,11 +314,11 @@ msgstr "Ojdå! Sidan kunde inte hittas."
|
|||
msgid "It looks like nothing was found at this location. Maybe try a search?"
|
||||
msgstr "Det verkar inte som något kunde hittas för den här platsen. Testa en sökning kanske?"
|
||||
|
||||
#: archive.php:48 search.php:45 index.php:52
|
||||
#: index.php:53 archive.php:49 search.php:50
|
||||
msgid "Previous page"
|
||||
msgstr "Föregående sida"
|
||||
|
||||
#: archive.php:49 search.php:46 index.php:53
|
||||
#: index.php:54 archive.php:50 search.php:51
|
||||
msgid "Next page"
|
||||
msgstr "Nästa sida"
|
||||
|
||||
|
|
@ -328,4 +333,4 @@ msgstr "https://wordpress.org/themes/twentyseventeen/"
|
|||
#. Author URI of the theme
|
||||
#: template-parts/footer/site-info.php:18
|
||||
msgid "https://wordpress.org/"
|
||||
msgstr "https://wordpress.org/"
|
||||
msgstr "https://wordpress.org/"
|
||||
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the same license as the Themes - Twenty Ten package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2019-03-23 10:32:07+0000\n"
|
||||
"PO-Revision-Date: 2020-03-31 20:59:15+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
@ -19,36 +19,41 @@ msgstr "Temat 2010 för WordPress är ett stilfullt, anpassningsbart, enkelt och
|
|||
msgid "Twenty Ten"
|
||||
msgstr "Twenty Ten"
|
||||
|
||||
#: functions.php:437
|
||||
msgid "Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved."
|
||||
msgstr "Din kommentar inväntar granskning. Detta är en förhandsvisning. Din kommentar blir synlig när den har godkänts."
|
||||
|
||||
#. translators: %s: The post title.
|
||||
#: comments.php:40
|
||||
msgid "One Response to %s"
|
||||
msgstr "Ett svar på %s"
|
||||
|
||||
#: functions.php:90
|
||||
msgid "Blue"
|
||||
msgstr "Blått"
|
||||
#: functions.php:112
|
||||
msgid "White"
|
||||
msgstr "Vitt"
|
||||
|
||||
#: functions.php:95
|
||||
msgid "Black"
|
||||
msgstr "Svart"
|
||||
|
||||
#: functions.php:100
|
||||
msgid "Medium Gray"
|
||||
msgstr "Mellangrått"
|
||||
|
||||
#: functions.php:105
|
||||
#: functions.php:107
|
||||
msgid "Light Gray"
|
||||
msgstr "Ljusgrått"
|
||||
|
||||
#: functions.php:110
|
||||
msgid "White"
|
||||
msgstr "Vitt"
|
||||
#: functions.php:102
|
||||
msgid "Medium Gray"
|
||||
msgstr "Mellangrått"
|
||||
|
||||
#: functions.php:97
|
||||
msgid "Black"
|
||||
msgstr "Svart"
|
||||
|
||||
#: functions.php:92
|
||||
msgid "Blue"
|
||||
msgstr "Blått"
|
||||
|
||||
#. Template Name of the theme
|
||||
msgid "One column, no sidebar"
|
||||
msgstr "En kolumn, utan sidofält"
|
||||
|
||||
#: tag.php:17
|
||||
#. translators: %s: Tag title.
|
||||
#: tag.php:18
|
||||
msgid "Tag Archives: %s"
|
||||
msgstr "Etikettarkiv: %s"
|
||||
|
||||
|
|
@ -60,60 +65,65 @@ msgstr "Meta"
|
|||
msgid "Archives"
|
||||
msgstr "Arkiv"
|
||||
|
||||
#: search.php:29
|
||||
#: search.php:34
|
||||
msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords."
|
||||
msgstr "Ledsen, men inga matchande resultat kunde hittas baserat på dina kriterier. Var vänlig försök med andra sökord."
|
||||
|
||||
#: search.php:27
|
||||
#: search.php:32
|
||||
msgid "Nothing Found"
|
||||
msgstr "Inget kunde hittas"
|
||||
|
||||
#: search.php:16
|
||||
#. translators: %s: Search query.
|
||||
#: search.php:19
|
||||
msgid "Search Results for: %s"
|
||||
msgstr "Sökresultat för: %s"
|
||||
|
||||
#: loop.php:176
|
||||
#. translators: 1: CSS classes, 2: Category list.
|
||||
#: loop.php:186
|
||||
msgid "<span class=\"%1$s\">Tagged</span> %2$s"
|
||||
msgstr "<span class=\"%1$s\">Etiketter</span> %2$s"
|
||||
|
||||
#: loop.php:167
|
||||
#. translators: 1: CSS classes, 2: Category list.
|
||||
#: loop.php:174
|
||||
msgid "<span class=\"%1$s\">Posted in</span> %2$s"
|
||||
msgstr "<span class=\"%1$s\">Publicerat i</span> %2$s"
|
||||
|
||||
#: loop.php:115
|
||||
#: loop.php:120
|
||||
msgctxt "asides category slug"
|
||||
msgid "asides"
|
||||
msgstr "notiser"
|
||||
|
||||
#: loop.php:108 loop.php:131 loop.php:180
|
||||
#: loop.php:113 loop.php:136 loop.php:191
|
||||
msgid "% Comments"
|
||||
msgstr "% kommentarer"
|
||||
|
||||
#: loop.php:108 loop.php:131 loop.php:180
|
||||
#: loop.php:113 loop.php:136 loop.php:191
|
||||
msgid "1 Comment"
|
||||
msgstr "1 kommentar"
|
||||
|
||||
#: loop.php:108 loop.php:131 loop.php:180
|
||||
#: loop.php:113 loop.php:136 loop.php:191
|
||||
msgid "Leave a comment"
|
||||
msgstr "Lämna en kommentar"
|
||||
|
||||
#: loop.php:105
|
||||
#: loop.php:110
|
||||
msgid "View posts in the Gallery category"
|
||||
msgstr "Visa inlägg i gallerikategorin"
|
||||
|
||||
#: loop.php:102 loop.php:105
|
||||
#: loop.php:107 loop.php:110
|
||||
msgid "More Galleries"
|
||||
msgstr "Fler gallerier"
|
||||
|
||||
#: loop.php:102
|
||||
#: loop.php:107
|
||||
msgid "View Galleries"
|
||||
msgstr "Visa gallerier"
|
||||
|
||||
#: loop.php:90
|
||||
#. translators: %s: Post title.
|
||||
#: loop.php:92
|
||||
msgid "Permalink to %s"
|
||||
msgstr "Permanent länk till %s"
|
||||
|
||||
#: loop.php:89
|
||||
#. translators: 1: HTML tag attributes, 2: Image count.
|
||||
#: loop.php:90
|
||||
msgid "This gallery contains <a %1$s>%2$s photo</a>."
|
||||
msgid_plural "This gallery contains <a %1$s>%2$s photos</a>."
|
||||
msgstr[0] "Detta galleri innehåller <a %1$s>%2$s bild</a>."
|
||||
|
|
@ -128,196 +138,210 @@ msgstr "galleri"
|
|||
msgid "Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post."
|
||||
msgstr "Tyvärr så kunde inga resultat hittas för efterfrågat arkiv. Kanske kan en sökning hjälpa dig att hitta relaterande inlägg."
|
||||
|
||||
#: loop.php:26 loop.php:195
|
||||
#: loop.php:26 loop.php:206
|
||||
msgid "Newer posts <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Nyare inlägg <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: loop.php:25 loop.php:194
|
||||
#: loop.php:25 loop.php:205
|
||||
msgid "<span class=\"meta-nav\">←</span> Older posts"
|
||||
msgstr "<span class=\"meta-nav\">←</span> Äldre inlägg"
|
||||
|
||||
#: loop-single.php:61
|
||||
#. translators: %s: Author display name.
|
||||
#: loop-single.php:69
|
||||
msgid "View all posts by %s <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: loop-single.php:26 loop-single.php:76
|
||||
#: loop-single.php:26 loop-single.php:85
|
||||
msgctxt "Next post link"
|
||||
msgid "→"
|
||||
msgstr "→"
|
||||
|
||||
#: loop-single.php:25 loop-single.php:75
|
||||
#: loop-single.php:25 loop-single.php:84
|
||||
msgctxt "Previous post link"
|
||||
msgid "←"
|
||||
msgstr "←"
|
||||
|
||||
#: loop-page.php:36 loop-attachment.php:155 loop.php:156 loop-single.php:41
|
||||
#: loop-attachment.php:165 loop.php:161 loop-page.php:36 loop-single.php:41
|
||||
msgid "Pages:"
|
||||
msgstr "Sidor:"
|
||||
|
||||
#: loop-page.php:41 loop-attachment.php:75 loop-attachment.php:165 loop.php:109
|
||||
#: loop.php:132 loop.php:181 loop-single.php:70
|
||||
#: loop-attachment.php:83 loop-attachment.php:175 loop.php:114 loop.php:137
|
||||
#: loop.php:192 loop-page.php:41 loop-single.php:79
|
||||
msgid "Edit"
|
||||
msgstr "Redigera"
|
||||
|
||||
#: loop-attachment.php:68
|
||||
#: loop-attachment.php:76
|
||||
msgid "Link to full-size image"
|
||||
msgstr "Länk till bild i originalstorlek"
|
||||
|
||||
#: loop-attachment.php:64
|
||||
#. translators: %s: Image dimensions.
|
||||
#: loop-attachment.php:72
|
||||
msgid "Full size is %s pixels"
|
||||
msgstr "Full storlek är %s pixlar"
|
||||
|
||||
#: loop-attachment.php:52
|
||||
#. translators: 1: CSS classes, 2: Date.
|
||||
#: loop-attachment.php:59
|
||||
msgid "<span class=\"%1$s\">Published</span> %2$s"
|
||||
msgstr "<span class=\"%1$s\">Publicerat</span> %2$s"
|
||||
|
||||
#: loop-attachment.php:39
|
||||
#. translators: %s: Author display name.
|
||||
#: loop-attachment.php:44
|
||||
msgid "<span class=\"%1$s\">By</span> %2$s"
|
||||
msgstr "<span class=\"%1$s\">Av</span> %2$s"
|
||||
|
||||
#. translators: %s - title of parent post
|
||||
#: loop-attachment.php:28
|
||||
#. translators: %s: Title of parent post.
|
||||
#: loop-attachment.php:32
|
||||
msgid "<span class=\"meta-nav\">←</span> %s"
|
||||
msgstr "<span class=\"meta-nav\">←</span> %s"
|
||||
|
||||
#: loop-attachment.php:25
|
||||
#. translators: %s: Post title.
|
||||
#: loop-attachment.php:27
|
||||
msgid "Return to %s"
|
||||
msgstr "Tillbaka till %s"
|
||||
|
||||
#: header.php:110
|
||||
#: header.php:114
|
||||
msgid "Skip to content"
|
||||
msgstr "Gå till innehåll"
|
||||
|
||||
#: header.php:35
|
||||
#. translators: %s: Page number.
|
||||
#: header.php:36
|
||||
msgid "Page %s"
|
||||
msgstr "Sida %s"
|
||||
|
||||
#: functions.php:621
|
||||
#. translators: 3: Post permalink, 4: Post title.
|
||||
#: functions.php:641
|
||||
msgid "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr "Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänk</a>."
|
||||
|
||||
#: functions.php:619
|
||||
#. translators: 1: Category name, 3: Post permalink, 4: Post title.
|
||||
#: functions.php:638
|
||||
msgid "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr "Det här inlägget postades i %1$s. Bokmärk <a href=\"%3$s\" title=\"Permalänk till %4$s\" rel=\"bookmark\">permalänken</a>. "
|
||||
|
||||
#: functions.php:617
|
||||
#. translators: 1: Category name, 2: Tag name, 3: Post permalink, 4: Post
|
||||
#. title.
|
||||
#: functions.php:635
|
||||
msgid "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
|
||||
msgstr "Det här inlägget postades i %1$s och har märkts med etiketterna %2$s. Bokmärk <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark\">permalänken</a>."
|
||||
|
||||
#: functions.php:600 loop-attachment.php:44
|
||||
#. translators: %s: Author display name.
|
||||
#: loop-attachment.php:50 functions.php:617
|
||||
msgid "View all posts by %s"
|
||||
msgstr "Visa alla inlägg av %s"
|
||||
|
||||
#: functions.php:589
|
||||
#. translators: 1: CSS classes, 2: Date, 3: Author display name.
|
||||
#: functions.php:605
|
||||
msgid "<span class=\"%1$s\">Posted on</span> %2$s <span class=\"meta-sep\">by</span> %3$s"
|
||||
msgstr "<span class=\"%1$s\">Postat den</span> %2$s <span class=\"meta-sep\">av</span> %3$s"
|
||||
|
||||
#: functions.php:551
|
||||
#: functions.php:566
|
||||
msgid "Fourth Footer Widget Area"
|
||||
msgstr "Fjärde widgetfält i sidfot"
|
||||
|
||||
#: functions.php:538
|
||||
#: functions.php:553
|
||||
msgid "Third Footer Widget Area"
|
||||
msgstr "Tredje widgetfält i sidfot"
|
||||
|
||||
#: functions.php:525
|
||||
#: functions.php:540
|
||||
msgid "Second Footer Widget Area"
|
||||
msgstr "Andra widgetfält i sidfot"
|
||||
|
||||
#: functions.php:514 functions.php:527 functions.php:540 functions.php:553
|
||||
#: functions.php:529 functions.php:542 functions.php:555 functions.php:568
|
||||
msgid "An optional widget area for your site footer."
|
||||
msgstr "Ett valfritt widgetfält för din sidfot."
|
||||
|
||||
#: functions.php:512
|
||||
#: functions.php:527
|
||||
msgid "First Footer Widget Area"
|
||||
msgstr "Första widgetfält i sidfot"
|
||||
|
||||
#: functions.php:501
|
||||
#: functions.php:516
|
||||
msgid "An optional secondary widget area, displays below the primary widget area in your sidebar."
|
||||
msgstr "Ett valfritt sekundärt widgetfält, visas under det primära widgetfältet i din sidopanel."
|
||||
|
||||
#: functions.php:499
|
||||
#: functions.php:514
|
||||
msgid "Secondary Widget Area"
|
||||
msgstr "Sekundärt widgetfält"
|
||||
|
||||
#: functions.php:488
|
||||
#: functions.php:503
|
||||
msgid "Add widgets here to appear in your sidebar."
|
||||
msgstr "Lägg till widgets som ska visas i din sidopanel här."
|
||||
|
||||
#: functions.php:486
|
||||
#: functions.php:501
|
||||
msgid "Primary Widget Area"
|
||||
msgstr "Primärt widgetfält"
|
||||
|
||||
#: functions.php:465
|
||||
#: functions.php:480
|
||||
msgid "Pingback:"
|
||||
msgstr "Pingback: "
|
||||
|
||||
#: functions.php:438 functions.php:465
|
||||
#: functions.php:453 functions.php:480
|
||||
msgid "(Edit)"
|
||||
msgstr "(Redigera)"
|
||||
|
||||
#. translators: 1: date, 2: time
|
||||
#: functions.php:434
|
||||
#. translators: 1: Date, 2: Time.
|
||||
#: functions.php:449
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr "%1$s kl. %2$s"
|
||||
|
||||
#: functions.php:427
|
||||
#: functions.php:435
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "Din kommentar inväntar granskning."
|
||||
|
||||
#: functions.php:424
|
||||
#. translators: %s: Author display name.
|
||||
#: functions.php:428
|
||||
msgid "%s <span class=\"says\">says:</span>"
|
||||
msgstr "%s <span class=\"says\">skriver:</span>"
|
||||
|
||||
#: functions.php:327 loop-attachment.php:151 loop.php:124 loop.php:152
|
||||
#: loop-attachment.php:161 loop.php:129 loop.php:157 functions.php:329
|
||||
msgid "Continue reading <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Läs mer <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:252
|
||||
#. translators: Header image description.
|
||||
#: functions.php:254
|
||||
msgid "Sunset"
|
||||
msgstr "Solnedgång"
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:246
|
||||
#. translators: Header image description.
|
||||
#: functions.php:248
|
||||
msgid "Path"
|
||||
msgstr "Sökväg"
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:240
|
||||
#. translators: Header image description.
|
||||
#: functions.php:242
|
||||
msgid "Inkwell"
|
||||
msgstr "Färgbrunn"
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:234
|
||||
#. translators: Header image description.
|
||||
#: functions.php:236
|
||||
msgid "Forest Floor"
|
||||
msgstr "Skogsmatta"
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:228
|
||||
#. translators: Header image description.
|
||||
#: functions.php:230
|
||||
msgid "Fern"
|
||||
msgstr "Ormbunke"
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:222
|
||||
#. translators: Header image description.
|
||||
#: functions.php:224
|
||||
msgid "Concave"
|
||||
msgstr "Konkav"
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:216
|
||||
#. translators: Header image description.
|
||||
#: functions.php:218
|
||||
msgid "Cherry Blossoms"
|
||||
msgstr "Körsbärsblom"
|
||||
|
||||
#. translators: header image description
|
||||
#: functions.php:210
|
||||
#. translators: Header image description.
|
||||
#: functions.php:212
|
||||
msgid "Berries"
|
||||
msgstr "Bär"
|
||||
|
||||
#: functions.php:135
|
||||
#: functions.php:137
|
||||
msgid "Primary Navigation"
|
||||
msgstr "Primär navigation"
|
||||
|
||||
#: footer.php:47
|
||||
#. translators: %s: WordPress
|
||||
#: footer.php:49
|
||||
msgid "Proudly powered by %s."
|
||||
msgstr "Drivs med %s."
|
||||
|
||||
|
|
@ -337,6 +361,7 @@ msgstr "Nyare kommentarer <span class=\"meta-nav\">→</span>"
|
|||
msgid "<span class=\"meta-nav\">←</span> Older Comments"
|
||||
msgstr "<span class=\"meta-nav\">←</span> Äldre kommentarer"
|
||||
|
||||
#. translators: %1$s: The number of comments. %2$s: The post title.
|
||||
#: comments.php:46
|
||||
msgid "%1$s Response to %2$s"
|
||||
msgid_plural "%1$s Responses to %2$s"
|
||||
|
|
@ -347,41 +372,49 @@ msgstr[1] "%1$s svar på %2$s"
|
|||
msgid "This post is password protected. Enter the password to view any comments."
|
||||
msgstr "Det här inlägget är lösenordsskyddat. Ange lösenordet för att se eventuella kommentarer."
|
||||
|
||||
#: category.php:17
|
||||
#. translators: %s: Category title.
|
||||
#: category.php:18
|
||||
msgid "Category Archives: %s"
|
||||
msgstr "Kategoriarkiv: %s"
|
||||
|
||||
#: author.php:49 loop-single.php:57
|
||||
#. translators: %s: Author display name.
|
||||
#: loop-single.php:61 author.php:58
|
||||
msgid "About %s"
|
||||
msgstr "Om %s"
|
||||
|
||||
#: author.php:29
|
||||
#. translators: %s: Author display name.
|
||||
#: author.php:32
|
||||
msgid "Author Archives: %s"
|
||||
msgstr "Författararkiv: %s"
|
||||
|
||||
#: archive.php:41
|
||||
#: archive.php:45
|
||||
msgid "Blog Archives"
|
||||
msgstr "Bloggarkiv"
|
||||
|
||||
#: archive.php:39
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:43
|
||||
msgctxt "yearly archives date format"
|
||||
msgid "Y"
|
||||
msgstr "Y"
|
||||
|
||||
#: archive.php:39
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:43
|
||||
msgid "Yearly Archives: <span>%s</span>"
|
||||
msgstr "Årsarkiv: <span>%s</span>"
|
||||
|
||||
#: archive.php:37
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:40
|
||||
msgctxt "monthly archives date format"
|
||||
msgid "F Y"
|
||||
msgstr "F Y"
|
||||
|
||||
#: archive.php:37
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:40
|
||||
msgid "Monthly Archives: <span>%s</span>"
|
||||
msgstr "Månadsarkiv: <span>%s</span>"
|
||||
|
||||
#: archive.php:35
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:37
|
||||
msgid "Daily Archives: <span>%s</span>"
|
||||
msgstr "Dagsarkiv: <span>%s</span>"
|
||||
|
||||
|
|
@ -389,7 +422,7 @@ msgstr "Dagsarkiv: <span>%s</span>"
|
|||
msgid "Apologies, but the page you requested could not be found. Perhaps searching will help."
|
||||
msgstr "Tyvärr så kunde inte sidan du efterfrågat hittas. Kanske kan en sökning hjälpa."
|
||||
|
||||
#: 404.php:16 loop.php:33
|
||||
#: loop.php:33 404.php:16
|
||||
msgid "Not Found"
|
||||
msgstr "Kunde inte hittas"
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the same license as the Themes - Twenty Thirteen package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2019-02-22 13:05:04+0000\n"
|
||||
"PO-Revision-Date: 2020-03-31 20:58:29+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
@ -25,59 +25,62 @@ msgctxt "comments title"
|
|||
msgid "One thought on “%s”"
|
||||
msgstr "En tanke kring ”%s”"
|
||||
|
||||
#: functions.php:96
|
||||
msgid "Dark Gray"
|
||||
msgstr "Mörkgrått"
|
||||
|
||||
#: functions.php:121
|
||||
msgid "White"
|
||||
msgstr "Vitt"
|
||||
|
||||
#: functions.php:126
|
||||
msgid "Dark Brown"
|
||||
msgstr "Mörkbrunt"
|
||||
|
||||
#: functions.php:131
|
||||
msgid "Medium Brown"
|
||||
msgstr "Mellanbrunt"
|
||||
|
||||
#: functions.php:101
|
||||
msgid "Red"
|
||||
msgstr "Röd"
|
||||
|
||||
#: functions.php:116
|
||||
msgid "Yellow"
|
||||
msgstr "Gult"
|
||||
|
||||
#: functions.php:106
|
||||
msgid "Medium Orange"
|
||||
msgstr "Mellanorange"
|
||||
|
||||
#: functions.php:111
|
||||
msgid "Light Orange"
|
||||
msgstr "Ljusorange"
|
||||
|
||||
#: functions.php:136
|
||||
msgid "Light Brown"
|
||||
msgstr "Ljusbrunt"
|
||||
|
||||
#: functions.php:141
|
||||
msgid "Beige"
|
||||
msgstr "Beige"
|
||||
|
||||
#: functions.php:146
|
||||
#: functions.php:147
|
||||
msgid "Off-white"
|
||||
msgstr "Off-white"
|
||||
|
||||
#: taxonomy-post_format.php:23
|
||||
#: functions.php:142
|
||||
msgid "Beige"
|
||||
msgstr "Beige"
|
||||
|
||||
#: functions.php:137
|
||||
msgid "Light Brown"
|
||||
msgstr "Ljusbrunt"
|
||||
|
||||
#: functions.php:132
|
||||
msgid "Medium Brown"
|
||||
msgstr "Mellanbrunt"
|
||||
|
||||
#: functions.php:127
|
||||
msgid "Dark Brown"
|
||||
msgstr "Mörkbrunt"
|
||||
|
||||
#: functions.php:122
|
||||
msgid "White"
|
||||
msgstr "Vitt"
|
||||
|
||||
#: functions.php:117
|
||||
msgid "Yellow"
|
||||
msgstr "Gult"
|
||||
|
||||
#: functions.php:112
|
||||
msgid "Light Orange"
|
||||
msgstr "Ljusorange"
|
||||
|
||||
#: functions.php:107
|
||||
msgid "Medium Orange"
|
||||
msgstr "Mellanorange"
|
||||
|
||||
#: functions.php:102
|
||||
msgid "Red"
|
||||
msgstr "Röd"
|
||||
|
||||
#: functions.php:97
|
||||
msgid "Dark Gray"
|
||||
msgstr "Mörkgrått"
|
||||
|
||||
#. translators: %s: Post format name.
|
||||
#: taxonomy-post_format.php:26
|
||||
msgid "%s Archives"
|
||||
msgstr "Arkiv för %s"
|
||||
|
||||
#: tag.php:21
|
||||
#. translators: Tag title.
|
||||
#: tag.php:24
|
||||
msgid "Tag Archives: %s"
|
||||
msgstr "Etikettarkiv: %s"
|
||||
|
||||
#: search.php:18
|
||||
#. translators: %s: Search query.
|
||||
#: search.php:21
|
||||
msgid "Search Results for: %s"
|
||||
msgstr "Sökresultat för: %s"
|
||||
|
||||
|
|
@ -96,180 +99,183 @@ msgctxt "header image description"
|
|||
msgid "Circle"
|
||||
msgstr "Cirkel"
|
||||
|
||||
#: inc/back-compat.php:37 inc/back-compat.php:48 inc/back-compat.php:64
|
||||
#. translators: %s: WordPress version.
|
||||
#: inc/back-compat.php:38 inc/back-compat.php:50 inc/back-compat.php:67
|
||||
msgid "Twenty Thirteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again."
|
||||
msgstr "Twenty Thirteen kräver minst WordPress version 3.6. Du kör version %s. Vänligen uppdatera och försök igen."
|
||||
|
||||
#: image.php:62
|
||||
#: image.php:63
|
||||
msgid "Next <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Nästa <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: image.php:61
|
||||
#: image.php:62
|
||||
msgid "<span class=\"meta-nav\">←</span> Previous"
|
||||
msgstr "<span class=\"meta-nav\">←</span> Föregående"
|
||||
|
||||
#: image.php:49
|
||||
#: image.php:50
|
||||
msgid "Full resolution"
|
||||
msgstr "Full upplösning"
|
||||
|
||||
#: image.php:48
|
||||
#: image.php:49
|
||||
msgid "Link to full-size image"
|
||||
msgstr "Länk till bild i originalstorlek"
|
||||
|
||||
#: image.php:29
|
||||
#. translators: 1: Date, 2: Date, 3, Parent permalink, 4, Post title, 5: Post
|
||||
#. title.
|
||||
#: image.php:30
|
||||
msgid "<span class=\"attachment-meta\">Published on <time class=\"entry-date\" datetime=\"%1$s\">%2$s</time> in <a href=\"%3$s\" title=\"Return to %4$s\" rel=\"gallery\">%5$s</a></span>"
|
||||
msgstr "<span class=\"attachment-meta\">Publicerat <time class=\"entry-date\" datetime=\"%1$s\">%2$s</time> i <a href=\"%3$s\" title=\"Tillbaka till %4$s\" rel=\"gallery\">%5$s</a></span>"
|
||||
|
||||
#: header.php:44
|
||||
#: header.php:45
|
||||
msgid "Skip to content"
|
||||
msgstr "Hoppa till innehåll"
|
||||
|
||||
#: header.php:43
|
||||
#: header.php:44
|
||||
msgid "Menu"
|
||||
msgstr "Meny"
|
||||
|
||||
#: functions.php:525
|
||||
#. translators: %s: Post title.
|
||||
#: functions.php:533
|
||||
msgid "Permalink to %s"
|
||||
msgstr "Permanent länk till %s"
|
||||
|
||||
#: functions.php:517
|
||||
#. translators: 1: Post format name, 2: Date.
|
||||
#: functions.php:524
|
||||
msgctxt "1: post format name. 2: date"
|
||||
msgid "%1$s on %2$s"
|
||||
msgstr "%1$s den %2$s"
|
||||
|
||||
#: functions.php:497
|
||||
#. translators: %s: Author display name.
|
||||
#: functions.php:503
|
||||
msgid "View all posts by %s"
|
||||
msgstr "Visa alla inlägg av %s"
|
||||
|
||||
#. Translators: used between list items, there is a space after the comma.
|
||||
#: functions.php:481 functions.php:487
|
||||
#. translators: Used between list items, there is a space after the comma.
|
||||
#: functions.php:486 functions.php:492
|
||||
msgid ", "
|
||||
msgstr ", "
|
||||
|
||||
#: functions.php:473
|
||||
#: functions.php:478
|
||||
msgid "Sticky"
|
||||
msgstr "Klistrad"
|
||||
|
||||
#: functions.php:455
|
||||
#: functions.php:460
|
||||
msgctxt "Next post link"
|
||||
msgid "%title <span class=\"meta-nav\">→</span>"
|
||||
msgstr "%title <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: functions.php:454
|
||||
#: functions.php:459
|
||||
msgctxt "Previous post link"
|
||||
msgid "<span class=\"meta-nav\">←</span> %title"
|
||||
msgstr "<span class=\"meta-nav\">←</span> %title"
|
||||
|
||||
#: functions.php:451
|
||||
#: functions.php:456
|
||||
msgid "Post navigation"
|
||||
msgstr "Inläggsnavigering"
|
||||
|
||||
#: functions.php:424
|
||||
#: functions.php:429
|
||||
msgid "Newer posts <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Nyare inlägg <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: functions.php:420
|
||||
#: functions.php:425
|
||||
msgid "<span class=\"meta-nav\">←</span> Older posts"
|
||||
msgstr "<span class=\"meta-nav\">←</span> Äldre inlägg"
|
||||
|
||||
#: functions.php:416
|
||||
#: functions.php:421
|
||||
msgid "Posts navigation"
|
||||
msgstr "Inläggsnavigering"
|
||||
|
||||
#: functions.php:391
|
||||
#: functions.php:396
|
||||
msgid "Appears on posts and pages in the sidebar."
|
||||
msgstr "Visas i inlägg och på sidor i sidofältet."
|
||||
|
||||
#: functions.php:389
|
||||
#: functions.php:394
|
||||
msgid "Secondary Widget Area"
|
||||
msgstr "Sekundärt widgetfält"
|
||||
|
||||
#: functions.php:379
|
||||
#: functions.php:384
|
||||
msgid "Appears in the footer section of the site."
|
||||
msgstr "Visas i webbplatsens sidfot."
|
||||
|
||||
#: functions.php:377
|
||||
#: functions.php:382
|
||||
msgid "Main Widget Area"
|
||||
msgstr "Primärt widgetfält"
|
||||
|
||||
#: functions.php:362
|
||||
#. translators: %s: Page number.
|
||||
#: functions.php:367
|
||||
msgid "Page %s"
|
||||
msgstr "Sida %s"
|
||||
|
||||
#. Translators: If there are characters in your language that are not *
|
||||
#. supported by Bitter, translate this to 'off'. Do not translate into your *
|
||||
#. own language.
|
||||
#: functions.php:231
|
||||
#: functions.php:234
|
||||
msgctxt "Bitter font: on or off"
|
||||
msgid "on"
|
||||
msgstr "på"
|
||||
|
||||
#. Translators: If there are characters in your language that are not *
|
||||
#. supported by Source Sans Pro, translate this to 'off'. Do not translate *
|
||||
#. into your own language.
|
||||
#: functions.php:225
|
||||
#: functions.php:228
|
||||
msgctxt "Source Sans Pro font: on or off"
|
||||
msgid "on"
|
||||
msgstr "på"
|
||||
|
||||
#: functions.php:191
|
||||
#: functions.php:194
|
||||
msgid "Navigation Menu"
|
||||
msgstr "Navigeringsmeny"
|
||||
|
||||
#: footer.php:25
|
||||
#. translators: %s: WordPress
|
||||
#: footer.php:27
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr "Drivs med %s"
|
||||
|
||||
#: content-none.php:27
|
||||
#: content-none.php:32
|
||||
msgid "It seems we can’t find what you’re looking for. Perhaps searching can help."
|
||||
msgstr "Det verkar inte som om vi kan hitta det du letar efter. Kanske kan en sökning hjälpa."
|
||||
|
||||
#: content-none.php:22
|
||||
#: content-none.php:27
|
||||
msgid "Sorry, but nothing matched your search terms. Please try again with different keywords."
|
||||
msgstr "Beklagar, inget som matchade dina söktermer kunde hittas. Vänligen försök igen med andra sökord."
|
||||
|
||||
#: content-none.php:18
|
||||
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
|
||||
msgstr "Är du redo att posta ditt första inlägg? <a href=\"%1$s\">Starta här</a>."
|
||||
#. translators: %s: Post editor URL.
|
||||
#: content-none.php:21
|
||||
msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
|
||||
msgstr "Redo att publicera ditt första inlägg? <a href=\"%s\">Kom igång här</a>."
|
||||
|
||||
#: content-none.php:12
|
||||
msgid "Nothing Found"
|
||||
msgstr "Kunde inte hittas"
|
||||
|
||||
#: content-gallery.php:52 content-video.php:48 content-image.php:48
|
||||
#: content-quote.php:38 content.php:65
|
||||
#: content-image.php:48 content-gallery.php:52 content.php:65
|
||||
#: content-video.php:48 content-quote.php:38
|
||||
msgid "View all % comments"
|
||||
msgstr "Visa alla % kommentarer"
|
||||
|
||||
#: content-gallery.php:52 content-video.php:48 content-image.php:48
|
||||
#: content-quote.php:38 content.php:65
|
||||
#: content-image.php:48 content-gallery.php:52 content.php:65
|
||||
#: content-video.php:48 content-quote.php:38
|
||||
msgid "One comment so far"
|
||||
msgstr "En kommentar så här långt"
|
||||
|
||||
#: content-gallery.php:52 content-video.php:48 content-image.php:48
|
||||
#: content-quote.php:38 content.php:65
|
||||
#: content-image.php:48 content-gallery.php:52 content.php:65
|
||||
#: content-video.php:48 content-quote.php:38
|
||||
msgid "Leave a comment"
|
||||
msgstr "Lämna en kommentar"
|
||||
|
||||
#: content-gallery.php:55 content-aside.php:36 content-aside.php:44
|
||||
#: content-status.php:35 content-video.php:51 content-image.php:51
|
||||
#: content-link.php:19 content-audio.php:47 content-quote.php:41 image.php:54
|
||||
#: content-chat.php:45 content.php:31 page.php:51
|
||||
#: content-image.php:51 content-gallery.php:55 content.php:31
|
||||
#: content-video.php:51 content-audio.php:47 image.php:55 content-status.php:35
|
||||
#: page.php:51 content-chat.php:45 content-quote.php:41 content-aside.php:36
|
||||
#: content-aside.php:44 content-link.php:19
|
||||
msgid "Edit"
|
||||
msgstr "Redigera"
|
||||
|
||||
#: content-gallery.php:35 content-aside.php:24 content-status.php:24
|
||||
#: content-video.php:34 content-image.php:34 content-link.php:35
|
||||
#: content-audio.php:35 content-quote.php:24 image.php:83 content-chat.php:34
|
||||
#: content.php:52 page.php:41
|
||||
#: content-image.php:34 content-gallery.php:35 content.php:52
|
||||
#: content-video.php:34 content-audio.php:35 image.php:84 content-status.php:24
|
||||
#: page.php:41 content-chat.php:34 content-quote.php:24 content-aside.php:24
|
||||
#: content-link.php:35
|
||||
msgid "Pages:"
|
||||
msgstr "Sidor:"
|
||||
|
||||
#. translators: %s: Name of current post
|
||||
#: content-gallery.php:28 content-aside.php:17 content-status.php:17
|
||||
#: content-video.php:27 content-image.php:27 content-link.php:28
|
||||
#: content-audio.php:28 content-quote.php:17 functions.php:639
|
||||
#: content-chat.php:27 content.php:45
|
||||
#. translators: %s: Post title.
|
||||
#: content-image.php:27 functions.php:647 content-gallery.php:28 content.php:45
|
||||
#: content-video.php:27 content-audio.php:28 content-status.php:17
|
||||
#: content-chat.php:27 content-quote.php:17 content-aside.php:17
|
||||
#: content-link.php:28
|
||||
msgid "Continue reading %s <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Fortsätt läsa %s <span class=\"meta-nav\">→</span>"
|
||||
|
||||
|
|
@ -297,45 +303,54 @@ msgid_plural "%1$s thoughts on “%2$s”"
|
|||
msgstr[0] "%1$s tanke kring ”%2$s”"
|
||||
msgstr[1] "%1$s tankar kring ”%2$s”"
|
||||
|
||||
#: category.php:19
|
||||
#. translators: %s: Category title.
|
||||
#: category.php:22
|
||||
msgid "Category Archives: %s"
|
||||
msgstr "Kategoriarkiv: %s"
|
||||
|
||||
#: author.php:31
|
||||
#. translators: %s: Author display name.
|
||||
#: author.php:34
|
||||
msgid "All posts by %s"
|
||||
msgstr "Alla inlägg av %s"
|
||||
|
||||
#: author-bio.php:30
|
||||
#. translators: %s: Author display name.
|
||||
#: author-bio.php:37
|
||||
msgid "View all posts by %s <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: author-bio.php:26
|
||||
#. translators: %s: Author display name.
|
||||
#: author-bio.php:29
|
||||
msgid "About %s"
|
||||
msgstr "Om %s"
|
||||
|
||||
#: archive.php:36
|
||||
#: archive.php:39
|
||||
msgid "Archives"
|
||||
msgstr "Arkiv"
|
||||
|
||||
#: archive.php:34
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:37
|
||||
msgctxt "yearly archives date format"
|
||||
msgid "Y"
|
||||
msgstr "Y"
|
||||
|
||||
#: archive.php:34
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:37
|
||||
msgid "Yearly Archives: %s"
|
||||
msgstr "Årsarkiv: %s"
|
||||
|
||||
#: archive.php:32
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:34
|
||||
msgctxt "monthly archives date format"
|
||||
msgid "F Y"
|
||||
msgstr "F Y"
|
||||
|
||||
#: archive.php:32
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:34
|
||||
msgid "Monthly Archives: %s"
|
||||
msgstr "månadsarkiv: %s"
|
||||
|
||||
#: archive.php:30
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:31
|
||||
msgid "Daily Archives: %s"
|
||||
msgstr "Dagsarkiv: %s"
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the same license as the Themes - Twenty Twelve package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2019-02-22 13:05:36+0000\n"
|
||||
"PO-Revision-Date: 2020-03-31 20:58:56+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
@ -19,28 +19,32 @@ msgstr "The 2012 theme for WordPress is a fully responsive theme that looks grea
|
|||
msgid "Twenty Twelve"
|
||||
msgstr "Twenty Twelve"
|
||||
|
||||
#: functions.php:454
|
||||
msgid "Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved."
|
||||
msgstr "Din kommentar inväntar granskning. Detta är en förhandsvisning. Din kommentar blir synlig när den har godkänts."
|
||||
|
||||
#. translators: %s: The post title.
|
||||
#: comments.php:35
|
||||
msgid "One thought on “%s”"
|
||||
msgstr "En tanke kring ”%s”"
|
||||
|
||||
#: functions.php:92
|
||||
#: functions.php:94
|
||||
msgid "White"
|
||||
msgstr "Vitt"
|
||||
|
||||
#: functions.php:87
|
||||
#: functions.php:89
|
||||
msgid "Light Gray"
|
||||
msgstr "Ljusgrått"
|
||||
|
||||
#: functions.php:82
|
||||
#: functions.php:84
|
||||
msgid "Medium Gray"
|
||||
msgstr "Mellangrått"
|
||||
|
||||
#: functions.php:77
|
||||
#: functions.php:79
|
||||
msgid "Dark Gray"
|
||||
msgstr "Mörkgrått"
|
||||
|
||||
#: functions.php:72
|
||||
#: functions.php:74
|
||||
msgid "Blue"
|
||||
msgstr "Blått"
|
||||
|
||||
|
|
@ -52,7 +56,8 @@ msgstr "Fullbreddsmall, utan sidofält"
|
|||
msgid "Front Page Template"
|
||||
msgstr "Mall för startsida"
|
||||
|
||||
#: tag.php:21
|
||||
#. translators: %s: Tag title.
|
||||
#: tag.php:24
|
||||
msgid "Tag Archives: %s"
|
||||
msgstr "Etikettarkiv: %s"
|
||||
|
||||
|
|
@ -66,15 +71,17 @@ msgctxt "Previous post link"
|
|||
msgid "←"
|
||||
msgstr "←"
|
||||
|
||||
#: search.php:41
|
||||
#: search.php:46
|
||||
msgid "Sorry, but nothing matched your search criteria. Please try again with some different keywords."
|
||||
msgstr "Ledsen, men inga matchande resultat kunde hittas baserat på dina kriterier. Var vänlig försök med andra sökord."
|
||||
|
||||
#: search.php:18
|
||||
#. translators: %s: Search query.
|
||||
#: search.php:21
|
||||
msgid "Search Results for: %s"
|
||||
msgstr "Sökresultat för: %s"
|
||||
|
||||
#: index.php:46
|
||||
#. translators: %s: Post editor URL.
|
||||
#: index.php:49
|
||||
msgid "Ready to publish your first post? <a href=\"%s\">Get started here</a>."
|
||||
msgstr "Är du redo att publicera ditt första inlägg? <a href=\"%s\">Kom igång här</a>."
|
||||
|
||||
|
|
@ -82,131 +89,132 @@ msgstr "Är du redo att publicera ditt första inlägg? <a href=\"%s\">Kom igån
|
|||
msgid "No posts to display"
|
||||
msgstr "Inga inlägg att visa"
|
||||
|
||||
#: image.php:46
|
||||
#: image.php:47
|
||||
msgid "Next →"
|
||||
msgstr "Nästa →"
|
||||
|
||||
#: image.php:45
|
||||
#: image.php:46
|
||||
msgid "← Previous"
|
||||
msgstr "← Föregående"
|
||||
|
||||
#: image.php:30
|
||||
#. translators: 1: Date, 2: Date, 3: Attachment URL, 4: Image width in pixels,
|
||||
#. 5: Image height in pixels, 6: Post parent permalink, 7: Post parent title,
|
||||
#. 8: Post parent title.
|
||||
#: image.php:31
|
||||
msgid "<span class=\"meta-prep meta-prep-entry-date\">Published </span> <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\">%2$s</time></span> at <a href=\"%3$s\" title=\"Link to full-size image\">%4$s × %5$s</a> in <a href=\"%6$s\" title=\"Return to %7$s\" rel=\"gallery\">%8$s</a>."
|
||||
msgstr "<span class=\"meta-prep meta-prep-entry-date\">Publicerat </span> <span class=\"entry-date\"><time class=\"entry-date\" datetime=\"%1$s\">%2$s</time></span> i storleken <a href=\"%3$s\" title=\"Länk till bild i full storlek\">%4$s × %5$s</a> i <a href=\"%6$s\" title=\"Tillbaka till %7$s\" rel=\"gallery\">%8$s</a>."
|
||||
|
||||
#: header.php:44
|
||||
#: header.php:45
|
||||
msgid "Skip to content"
|
||||
msgstr "Hoppa till innehåll"
|
||||
|
||||
#: header.php:43
|
||||
#: header.php:44
|
||||
msgid "Menu"
|
||||
msgstr "Meny"
|
||||
|
||||
#: functions.php:512
|
||||
#. translators: 3: Date, 4: Author display name.
|
||||
#: functions.php:530
|
||||
msgid "This entry was posted on %3$s<span class=\"by-author\"> by %4$s</span>."
|
||||
msgstr "Detta inlägg postades den %3$s<span class=\"by-author\"> av %4$s</span>."
|
||||
|
||||
#: functions.php:510
|
||||
#. translators: 1: Category name, 3: Date, 4: Author display name.
|
||||
#: functions.php:527
|
||||
msgid "This entry was posted in %1$s on %3$s<span class=\"by-author\"> by %4$s</span>."
|
||||
msgstr "Detta inlägg postades i %1$s den %3$s<span class=\"by-author\"> av %4$s</span>."
|
||||
|
||||
#. Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's
|
||||
#. name.
|
||||
#: functions.php:508
|
||||
#. translators: 1: Category name, 2: Tag name, 3: Date, 4: Author display name.
|
||||
#: functions.php:524
|
||||
msgid "This entry was posted in %1$s and tagged %2$s on %3$s<span class=\"by-author\"> by %4$s</span>."
|
||||
msgstr "Detta inlägg postades i %1$s och märktes %2$s den %3$s<span class=\"by-author\"> av %4$s</span>."
|
||||
|
||||
#: functions.php:502
|
||||
#. translators: %s: Author display name.
|
||||
#: functions.php:518
|
||||
msgid "View all posts by %s"
|
||||
msgstr "Visa alla inlägg av %s"
|
||||
|
||||
#. Translators: used between list items, there is a space after the comma.
|
||||
#: functions.php:486 functions.php:489
|
||||
#. translators: Used between list items, there is a space after the comma.
|
||||
#: functions.php:501 functions.php:504
|
||||
msgid ", "
|
||||
msgstr ", "
|
||||
|
||||
#: functions.php:458
|
||||
#: functions.php:473
|
||||
msgid "Reply"
|
||||
msgstr "Svara"
|
||||
|
||||
#: functions.php:444
|
||||
#: functions.php:452
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "Din kommentar inväntar granskning."
|
||||
|
||||
#. translators: 1: date, 2: time
|
||||
#: functions.php:438
|
||||
#. translators: 1: Date, 2: Time.
|
||||
#: functions.php:444
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr "%1$s kl. %2$s"
|
||||
|
||||
#: functions.php:431
|
||||
#: functions.php:437
|
||||
msgid "Post author"
|
||||
msgstr "Inläggsförfattare"
|
||||
|
||||
#: functions.php:415
|
||||
#: functions.php:421
|
||||
msgid "(Edit)"
|
||||
msgstr "(Redigera)"
|
||||
|
||||
#: functions.php:415
|
||||
#: functions.php:421
|
||||
msgid "Pingback:"
|
||||
msgstr "Pingback: "
|
||||
|
||||
#: functions.php:389
|
||||
#: functions.php:395
|
||||
msgid "Newer posts <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Nyare inlägg <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: functions.php:388
|
||||
#: functions.php:394
|
||||
msgid "<span class=\"meta-nav\">←</span> Older posts"
|
||||
msgstr "<span class=\"meta-nav\">←</span> Äldre inlägg"
|
||||
|
||||
#: functions.php:387 single.php:23
|
||||
#: single.php:23 functions.php:393
|
||||
msgid "Post navigation"
|
||||
msgstr "Inläggsnavigering"
|
||||
|
||||
#: functions.php:364
|
||||
#: functions.php:370
|
||||
msgid "Second Front Page Widget Area"
|
||||
msgstr "Andra widgetfältet för startsidan"
|
||||
|
||||
#: functions.php:354 functions.php:366
|
||||
#: functions.php:360 functions.php:372
|
||||
msgid "Appears when using the optional Front Page template with a page set as Static Front Page"
|
||||
msgstr "Visas vid användning av den valfria mallen för startsidan när en statisk startsida är angiven"
|
||||
|
||||
#: functions.php:352
|
||||
#: functions.php:358
|
||||
msgid "First Front Page Widget Area"
|
||||
msgstr "Första widgetfältet för startsidan"
|
||||
|
||||
#: functions.php:342
|
||||
#: functions.php:348
|
||||
msgid "Appears on posts and pages except the optional Front Page template, which has its own widgets"
|
||||
msgstr "Visas tillsammans med inlägg och sidor förutom i den valfria mallen för startsidan som har sina egna widgetfält"
|
||||
|
||||
#: functions.php:340
|
||||
#: functions.php:346
|
||||
msgid "Main Sidebar"
|
||||
msgstr "Primär sidopanel"
|
||||
|
||||
#: functions.php:308
|
||||
#. translators: %s: Page number.
|
||||
#: functions.php:314
|
||||
msgid "Page %s"
|
||||
msgstr "Sida %s"
|
||||
|
||||
#. translators: To add an additional Open Sans character subset specific to
|
||||
#. your language, * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do
|
||||
#. not translate into your own language.
|
||||
#: functions.php:155
|
||||
#: functions.php:159
|
||||
msgctxt "Open Sans font: add new subset (greek, cyrillic, vietnamese)"
|
||||
msgid "no-subset"
|
||||
msgstr "no-subset"
|
||||
|
||||
#. translators: If there are characters in your language that are not supported
|
||||
#. * by Open Sans, translate this to 'off'. Do not translate into your own
|
||||
#. language.
|
||||
#: functions.php:149
|
||||
#: functions.php:152
|
||||
msgctxt "Open Sans font: on or off"
|
||||
msgid "on"
|
||||
msgstr "on"
|
||||
|
||||
#: functions.php:106
|
||||
#: functions.php:108
|
||||
msgid "Primary Menu"
|
||||
msgstr "Primär meny"
|
||||
|
||||
#: footer.php:22
|
||||
#. translators: %s: WordPress
|
||||
#: footer.php:24
|
||||
msgid "Proudly powered by %s"
|
||||
msgstr "Drivs med %s"
|
||||
|
||||
|
|
@ -214,7 +222,8 @@ msgstr "Drivs med %s"
|
|||
msgid "Semantic Personal Publishing Platform"
|
||||
msgstr "Semantisk personlig publiceringsplattform"
|
||||
|
||||
#: content.php:75
|
||||
#. translators: %s: Author display name.
|
||||
#: content.php:85
|
||||
msgid "View all posts by %s <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">→</span>"
|
||||
|
||||
|
|
@ -222,54 +231,55 @@ msgstr "Visa alla inlägg av %s <span class=\"meta-nav\">→</span>"
|
|||
msgid "Featured post"
|
||||
msgstr "Utvalt inlägg"
|
||||
|
||||
#: content.php:50 image.php:123 content-page.php:24
|
||||
#: content-page.php:24 image.php:124 content.php:50
|
||||
msgid "Pages:"
|
||||
msgstr "Sidor:"
|
||||
|
||||
#: index.php:58 content-none.php:17
|
||||
#: index.php:63 content-none.php:17
|
||||
msgid "Apologies, but no results were found. Perhaps searching will help find a related post."
|
||||
msgstr "Beklagar, inga resultat funna. Kanske kan en sökning hjälpa dig att hitta relaterat innehåll."
|
||||
|
||||
#: index.php:54 search.php:37 content-none.php:13
|
||||
#: index.php:59 search.php:42 content-none.php:13
|
||||
msgid "Nothing Found"
|
||||
msgstr "Kunde inte hittas"
|
||||
|
||||
#: content-link.php:12
|
||||
#: content-link.php:15
|
||||
msgid "Link"
|
||||
msgstr "Länk"
|
||||
|
||||
#: content-link.php:24 content.php:60 functions.php:449 content-image.php:26
|
||||
#: content-quote.php:23 content-status.php:40 image.php:41 content-aside.php:26
|
||||
#: content-page.php:31
|
||||
#: content-aside.php:29 content-status.php:43 content-image.php:26
|
||||
#: content-link.php:27 content-page.php:31 content-quote.php:26 image.php:42
|
||||
#: functions.php:464 content.php:60
|
||||
msgid "Edit"
|
||||
msgstr "Redigera"
|
||||
|
||||
#: content-link.php:21 content.php:35 content-image.php:23 content-quote.php:20
|
||||
#: content-status.php:37 content-aside.php:23
|
||||
#: content-aside.php:26 content-status.php:40 content-image.php:23
|
||||
#: content-link.php:24 content-quote.php:23 content.php:35
|
||||
msgid "% Replies"
|
||||
msgstr "% svar"
|
||||
|
||||
#: content-link.php:21 content.php:35 content-image.php:23 content-quote.php:20
|
||||
#: content-status.php:37 content-aside.php:23
|
||||
#: content-aside.php:26 content-status.php:40 content-image.php:23
|
||||
#: content-link.php:24 content-quote.php:23 content.php:35
|
||||
msgid "1 Reply"
|
||||
msgstr "1 svar"
|
||||
|
||||
#: content-link.php:21 content.php:35 content-image.php:23 content-quote.php:20
|
||||
#: content-status.php:37 content-aside.php:23
|
||||
#: content-aside.php:26 content-status.php:40 content-image.php:23
|
||||
#: content-link.php:24 content-quote.php:23 content.php:35
|
||||
msgid "Leave a reply"
|
||||
msgstr "Kommentera"
|
||||
|
||||
#: content-link.php:18 content-quote.php:17 content-status.php:15
|
||||
#: content-aside.php:20
|
||||
#. translators: %s: Post title.
|
||||
#: content-aside.php:11 content-status.php:11 content-link.php:11
|
||||
#: content-quote.php:11
|
||||
msgid "Permalink to %s"
|
||||
msgstr "Permanent länk till %s"
|
||||
|
||||
#: content-link.php:14 content.php:46 content-image.php:13 content-quote.php:13
|
||||
#: content-status.php:31 content-aside.php:15
|
||||
#: content-aside.php:18 content-status.php:34 content-image.php:13
|
||||
#: content-link.php:17 content-quote.php:16 content.php:46
|
||||
msgid "Continue reading <span class=\"meta-nav\">→</span>"
|
||||
msgstr "Läs mer <span class=\"meta-nav\">→</span>"
|
||||
|
||||
#: comments.php:74
|
||||
#: comments.php:75
|
||||
msgid "Comments are closed."
|
||||
msgstr "Kommentarer inaktiverade."
|
||||
|
||||
|
|
@ -292,41 +302,50 @@ msgid_plural "%1$s thoughts on “%2$s”"
|
|||
msgstr[0] "%1$s tanke kring ”%2$s”"
|
||||
msgstr[1] "%1$s tankar kring ”%2$s”"
|
||||
|
||||
#: category.php:21
|
||||
#. translators: %s: Category title.
|
||||
#: category.php:24
|
||||
msgid "Category Archives: %s"
|
||||
msgstr "Kategoriarkiv: %s"
|
||||
|
||||
#: author.php:64 content.php:71
|
||||
#. translators: %s: Author display name.
|
||||
#. translators: Author display name.
|
||||
#: content.php:77 author.php:74
|
||||
msgid "About %s"
|
||||
msgstr "Om %s"
|
||||
|
||||
#: author.php:32
|
||||
#. translators: Author display name.
|
||||
#: author.php:36
|
||||
msgid "Author Archives: %s"
|
||||
msgstr "Författararkiv: %s"
|
||||
|
||||
#: archive.php:36
|
||||
#: archive.php:39
|
||||
msgid "Archives"
|
||||
msgstr "Arkiv"
|
||||
|
||||
#: archive.php:34
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:37
|
||||
msgctxt "yearly archives date format"
|
||||
msgid "Y"
|
||||
msgstr "Y"
|
||||
|
||||
#: archive.php:34
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:37
|
||||
msgid "Yearly Archives: %s"
|
||||
msgstr "Årsarkiv: %s"
|
||||
|
||||
#: archive.php:32
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:34
|
||||
msgctxt "monthly archives date format"
|
||||
msgid "F Y"
|
||||
msgstr "F Y"
|
||||
|
||||
#: archive.php:32
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:34
|
||||
msgid "Monthly Archives: %s"
|
||||
msgstr "månadsarkiv: %s"
|
||||
|
||||
#: archive.php:30
|
||||
#. translators: %s: Date.
|
||||
#: archive.php:31
|
||||
msgid "Daily Archives: %s"
|
||||
msgstr "Dagsarkiv: %s"
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
# This file is distributed under the same license as the Themes - Twenty Twenty package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"PO-Revision-Date: 2019-12-14 13:50:46+0000\n"
|
||||
"PO-Revision-Date: 2020-03-31 20:55:08+0000\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
|
@ -23,24 +23,109 @@ msgstr "Twenty Twenty"
|
|||
msgid "Show author bio"
|
||||
msgstr "Visa författarbiografi"
|
||||
|
||||
#: template-parts/entry-author-bio.php:29
|
||||
msgid "View Archive <span aria-hidden=\"true\">→</span>"
|
||||
msgstr "Visa arkiv <span aria-hidden=\"true\">→</span>"
|
||||
|
||||
#: inc/starter-content.php:38
|
||||
msgctxt "Theme starter content"
|
||||
msgid "The New UMoMA Opens its Doors"
|
||||
msgstr "Nya UMoMA välkomnar allmänheten"
|
||||
|
||||
#: template-parts/entry-author-bio.php:29
|
||||
msgid "View Archive <span aria-hidden=\"true\">→</span>"
|
||||
msgstr "Visa arkiv <span aria-hidden=\"true\">→</span>"
|
||||
#: inc/template-tags.php:393
|
||||
msgctxt "A string that is output before one or more categories"
|
||||
msgid "In"
|
||||
msgstr "I"
|
||||
|
||||
#: inc/starter-content.php:150
|
||||
msgid "Join the Club"
|
||||
msgstr "Gå med i klubben"
|
||||
|
||||
#: inc/starter-content.php:147
|
||||
msgid "Members get access to exclusive exhibits and sales. Our memberships cost $99.99 and are billed annually."
|
||||
msgstr "Medlemmar får tillgång till exklusiva utställningar och marknader. Medlemskap kostar 99,99 USD och debiteras en gång per år."
|
||||
|
||||
#: inc/starter-content.php:144
|
||||
msgid "Become a Member and Get Exclusive Offers!"
|
||||
msgstr "Bli medlem och få exklusiva erbjudanden!"
|
||||
|
||||
#: inc/starter-content.php:136
|
||||
msgid "The exhibitions are produced by UMoMA in collaboration with artists and museums around the world and they often attract international attention. UMoMA has received a Special Commendation from the European Museum of the Year, and was among the top candidates for the Swedish Museum of the Year Award as well as for the Council of Europe Museum Prize."
|
||||
msgstr "Utställningarna produceras av UMoMA i samarbete med konstnärer och muséer från hela världen och uppmärksammas ofta internationellt. UMoMA har betecknats som ”Årets europeiska museum” och var en av toppkandidaterna till priset ”Årets svenska museum” och även Europarådets museipris."
|
||||
|
||||
#: inc/starter-content.php:133
|
||||
msgid "With seven floors of striking architecture, UMoMA shows exhibitions of international contemporary art, sometimes along with art historical retrospectives. Existential, political and philosophical issues are intrinsic to our programme. As visitor you are invited to guided tours artist talks, lectures, film screenings and other events with free admission"
|
||||
msgstr "I sju våningar effektfull arkitektur visar UMoMA utställningar med internationell modern konst, emellanåt kombinerat med konsthistoriska återblickar. Vårt program genomsyras av existentiella, politiska och filosofiska frågeställningar. Som besökare är du välkommen till visningar, möten med konstnärer, föreläsningar, filmvisningar och andra evenemang med fri entré"
|
||||
|
||||
#: inc/starter-content.php:129
|
||||
msgid "“Cyborgs, as the philosopher Donna Haraway established, are not reverent. They do not remember the cosmos.”"
|
||||
msgstr "”Cyborgar är, enligt filosofen Donna Haraway, inte vördnadsfulla. De minns inte kosmos.”"
|
||||
|
||||
#: inc/starter-content.php:113
|
||||
msgid "From Signac to Matisse"
|
||||
msgstr "Från Signac till Matisse"
|
||||
|
||||
#: inc/starter-content.php:98
|
||||
msgid "The Life I Deserve"
|
||||
msgstr "Livet jag förtjänar"
|
||||
|
||||
#: inc/starter-content.php:84 inc/starter-content.php:116
|
||||
msgid "October 1 -- December 1"
|
||||
msgstr "1 oktober – 1 december"
|
||||
|
||||
#: inc/starter-content.php:81
|
||||
msgid "Theatre of Operations"
|
||||
msgstr "Operationsteatern"
|
||||
|
||||
#: inc/starter-content.php:72 inc/starter-content.php:87
|
||||
#: inc/starter-content.php:104 inc/starter-content.php:119
|
||||
msgid "Read More"
|
||||
msgstr "Läs mer"
|
||||
|
||||
#: inc/starter-content.php:69 inc/starter-content.php:101
|
||||
msgid "August 1 -- December 1"
|
||||
msgstr "1 augusti – 1 december"
|
||||
|
||||
#: inc/starter-content.php:66
|
||||
msgid "Works and Days"
|
||||
msgstr "Verk och dagar"
|
||||
|
||||
#: inc/starter-content.php:55
|
||||
msgid "The premier destination for modern art in Northern Sweden. Open from 10 AM to 6 PM every day during the summer months."
|
||||
msgstr "Det viktigaste resmålet för modern konst i Norrland. Öppet kl. 10–18 varje dag under sommaren."
|
||||
|
||||
#: inc/starter-content.php:47
|
||||
msgid "The New UMoMA Opens its Doors"
|
||||
msgstr "Nya UMoMA välkomnar allmänheten"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:395
|
||||
msgid "Overlay Opacity"
|
||||
msgstr "Överläggets opacitet"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:375
|
||||
msgid "The color used for the text in the overlay."
|
||||
msgstr "Färgen som används för texten i överlägget."
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:374
|
||||
msgid "Overlay Text Color"
|
||||
msgstr "Överläggets textfärg"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:353
|
||||
msgid "The color used for the overlay. Defaults to the accent color."
|
||||
msgstr "Färgen som används för överlägget. Som standard är accentfärgen."
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:352
|
||||
msgid "Overlay Background Color"
|
||||
msgstr "Överläggets bakgrundsfärg"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:283
|
||||
msgid "Settings for the \"Cover Template\" page template. Add a featured image to use as background."
|
||||
msgstr "Inställningar för sidmallen ”Omslagsmall”. Lägg till en utvald bild för att använda den som bakgrund."
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:183
|
||||
msgid "Apply a custom color for links, buttons, featured images."
|
||||
msgstr "Tillämpa en anpassad färg för länkar, knappar och utvalda bilder."
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:126
|
||||
msgid "Custom"
|
||||
msgstr "Anpassad"
|
||||
|
|
@ -53,150 +138,287 @@ msgstr "Standard"
|
|||
msgid "Primary Color"
|
||||
msgstr "Primär färg"
|
||||
|
||||
#: inc/template-tags.php:393
|
||||
msgctxt "A string that is output before one or more categories"
|
||||
msgid "In"
|
||||
msgstr "I"
|
||||
#: searchform.php:24 template-parts/modal-search.php:20
|
||||
msgid "Search for:"
|
||||
msgstr "Sök efter:"
|
||||
|
||||
#: inc/starter-content.php:113
|
||||
msgid "From Signac to Matisse"
|
||||
msgstr "Från Signac till Matisse"
|
||||
#: index.php:99
|
||||
msgid "search again"
|
||||
msgstr "sök igen"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:375
|
||||
msgid "The color used for the text in the overlay."
|
||||
msgstr "Färgen som används för texten i överlägget."
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:374
|
||||
msgid "Overlay Text Color"
|
||||
msgstr "Överläggets textfärg"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:352
|
||||
msgid "Overlay Background Color"
|
||||
msgstr "Överläggets bakgrundsfärg"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:183
|
||||
msgid "Apply a custom color for links, buttons, featured images."
|
||||
msgstr "Tillämpa en anpassad färg för länkar, knappar och utvalda bilder."
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:395
|
||||
msgid "Overlay Opacity"
|
||||
msgstr "Överläggets opacitet"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:353
|
||||
msgid "The color used for the overlay. Defaults to the accent color."
|
||||
msgstr "Färgen som används för överlägget. Som standard är accentfärgen."
|
||||
|
||||
#: inc/starter-content.php:150
|
||||
msgid "Join the Club"
|
||||
msgstr "Gå med i klubben"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:283
|
||||
msgid "Settings for the \"Cover Template\" page template. Add a featured image to use as background."
|
||||
msgstr "Inställningar för sidmallen ”Omslagsmall”. Lägg till en utvald bild för att använda den som bakgrund."
|
||||
|
||||
#: inc/starter-content.php:47
|
||||
msgid "The New UMoMA Opens its Doors"
|
||||
msgstr "Nya UMoMA välkomnar allmänheten"
|
||||
|
||||
#: inc/starter-content.php:55
|
||||
msgid "The premier destination for modern art in Northern Sweden. Open from 10 AM to 6 PM every day during the summer months."
|
||||
msgstr "Det viktigaste resmålet för modern konst i Norrland. Öppet kl. 10–18 varje dag under sommaren."
|
||||
|
||||
#: inc/starter-content.php:66
|
||||
msgid "Works and Days"
|
||||
msgstr "Verk och dagar"
|
||||
|
||||
#: inc/starter-content.php:69 inc/starter-content.php:101
|
||||
msgid "August 1 -- December 1"
|
||||
msgstr "1 augusti – 1 december"
|
||||
|
||||
#: inc/starter-content.php:81
|
||||
msgid "Theatre of Operations"
|
||||
msgstr "Operationsteatern"
|
||||
|
||||
#: inc/starter-content.php:84 inc/starter-content.php:116
|
||||
msgid "October 1 -- December 1"
|
||||
msgstr "1 oktober – 1 december"
|
||||
|
||||
#: inc/starter-content.php:98
|
||||
msgid "The Life I Deserve"
|
||||
msgstr "Livet jag förtjänar"
|
||||
|
||||
#: inc/starter-content.php:129
|
||||
msgid "”Cyborgs, as the philosopher Donna Haraway established, are not reverent. They do not remember the cosmos.”"
|
||||
msgstr "”Cyborgar är, enligt filosofen Donna Haraway, inte vördnadsfulla. De minns inte kosmos.”"
|
||||
|
||||
#: inc/starter-content.php:133
|
||||
msgid "With seven floors of striking architecture, UMoMA shows exhibitions of international contemporary art, sometimes along with art historical retrospectives. Existential, political and philosophical issues are intrinsic to our programme. As visitor you are invited to guided tours artist talks, lectures, film screenings and other events with free admission"
|
||||
msgstr "I sju våningar effektfull arkitektur visar UMoMA utställningar med internationell modern konst, emellanåt kombinerat med konsthistoriska återblickar. Vårt program genomsyras av existentiella, politiska och filosofiska frågeställningar. Som besökare är du välkommen till visningar, möten med konstnärer, föreläsningar, filmvisningar och andra evenemang med fri entré"
|
||||
|
||||
#: inc/starter-content.php:136
|
||||
msgid "The exhibitions are produced by UMoMA in collaboration with artists and museums around the world and they often attract international attention. UMoMA has received a Special Commendation from the European Museum of the Year, and was among the top candidates for the Swedish Museum of the Year Award as well as for the Council of Europe Museum Prize."
|
||||
msgstr "Utställningarna produceras av UMoMA i samarbete med konstnärer och muséer från hela världen och uppmärksammas ofta internationellt. UMoMA har betecknats som ”Årets europeiska museum” och var en av toppkandidaterna till priset ”Årets svenska museum” och även Europarådets museipris."
|
||||
|
||||
#: inc/starter-content.php:147
|
||||
msgid "Members get access to exclusive exhibits and sales. Our memberships cost $99.99 and are billed annually."
|
||||
msgstr "Medlemmar får tillgång till exklusiva utställningar och marknader. Medlemskap kostar 99,99 USD och debiteras en gång per år."
|
||||
|
||||
#: 404.php:24
|
||||
msgid "404 not found"
|
||||
msgstr "404 – hittades inte"
|
||||
|
||||
#. translators: Copyright date format, see https://secure.php.net/date
|
||||
#: footer.php:25
|
||||
msgctxt "copyright date format"
|
||||
msgid "Y"
|
||||
msgstr "Y"
|
||||
|
||||
#. translators: %s: HTML character for up arrow
|
||||
#: footer.php:43
|
||||
msgid "To the top %s"
|
||||
msgstr "Till toppen %s"
|
||||
|
||||
#. translators: %s: HTML character for up arrow
|
||||
#: footer.php:49
|
||||
msgid "Up %s"
|
||||
msgstr "Upp %s"
|
||||
|
||||
#. translators: %s: Number of search results
|
||||
#. translators: %s: Number of search results.
|
||||
#: index.php:39
|
||||
msgid "We found %s result for your search."
|
||||
msgid_plural "We found %s results for your search."
|
||||
msgstr[0] "Din sökning gav %s resultat."
|
||||
msgstr[1] "Din sökning gav %s resultat."
|
||||
|
||||
#: index.php:99
|
||||
msgid "search again"
|
||||
msgstr "sök igen"
|
||||
#. translators: %s: HTML character for up arrow.
|
||||
#: footer.php:49
|
||||
msgid "Up %s"
|
||||
msgstr "Upp %s"
|
||||
|
||||
#: template-parts/modal-search.php:20 searchform.php:24
|
||||
msgid "Search for:"
|
||||
msgstr "Sök efter:"
|
||||
#. translators: %s: HTML character for up arrow.
|
||||
#: footer.php:43
|
||||
msgid "To the top %s"
|
||||
msgstr "Till toppen %s"
|
||||
|
||||
#. Translators: 1 = comment date, 2 = comment time
|
||||
#: classes/class-twentytwenty-walker-comment.php:69
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr "%1$s \\k\\l. %2$s"
|
||||
#. translators: Copyright date format, see https://www.php.net/date
|
||||
#: footer.php:25
|
||||
msgctxt "copyright date format"
|
||||
msgid "Y"
|
||||
msgstr "Y"
|
||||
|
||||
#: classes/class-twentytwenty-walker-comment.php:77
|
||||
msgid "Edit"
|
||||
msgstr "Redigera"
|
||||
#: 404.php:24
|
||||
msgid "404 not found"
|
||||
msgstr "404 – hittades inte"
|
||||
|
||||
#: classes/class-twentytwenty-walker-comment.php:92
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "Din kommentar inväntar granskning."
|
||||
#. Template Name of the theme
|
||||
msgid "Full Width Template"
|
||||
msgstr "Fullbreddsmall"
|
||||
|
||||
#: comments.php:34
|
||||
msgid "Leave a comment"
|
||||
msgstr "Lämna en kommentar"
|
||||
#: template-parts/pagination.php:25
|
||||
msgid "Older <span class=\"nav-short\">Posts</span>"
|
||||
msgstr "Tidigare <span class=\"nav-short\">inlägg</span>"
|
||||
|
||||
#. translators: %s: post title
|
||||
#: comments.php:37
|
||||
msgctxt "comments title"
|
||||
msgid "One reply on “%s”"
|
||||
msgstr "Ett svar på ”%s”"
|
||||
#: template-parts/pagination.php:21
|
||||
msgid "Newer <span class=\"nav-short\">Posts</span>"
|
||||
msgstr "Senare <span class=\"nav-short\">inlägg</span>"
|
||||
|
||||
#. translators: 1: number of comments, 2: post title
|
||||
#: template-parts/navigation.php:25
|
||||
msgid "Post"
|
||||
msgstr "Inlägg"
|
||||
|
||||
#: template-parts/modal-search.php:26
|
||||
msgid "Close search"
|
||||
msgstr "Stäng sökningen"
|
||||
|
||||
#: template-parts/modal-menu.php:117
|
||||
msgid "Expanded Social links"
|
||||
msgstr "Expanderade sociala länkar"
|
||||
|
||||
#: template-parts/modal-menu.php:73
|
||||
msgid "Mobile"
|
||||
msgstr "Mobil"
|
||||
|
||||
#: template-parts/modal-menu.php:48
|
||||
msgid "Expanded"
|
||||
msgstr "Expanderad"
|
||||
|
||||
#: template-parts/modal-menu.php:21
|
||||
msgid "Close Menu"
|
||||
msgstr "Stäng menyn"
|
||||
|
||||
#: template-parts/footer-menus-widgets.php:57
|
||||
msgid "Social links"
|
||||
msgstr "Sociala länkar"
|
||||
|
||||
#: template-parts/footer-menus-widgets.php:37
|
||||
msgid "Footer"
|
||||
msgstr "Sidfot"
|
||||
|
||||
#. translators: %s: Author name.
|
||||
#: inc/template-tags.php:354 template-parts/entry-author-bio.php:20
|
||||
msgid "By %s"
|
||||
msgstr "Av %s"
|
||||
|
||||
#: template-parts/content-cover.php:138 template-parts/content.php:48
|
||||
msgid "Pages:"
|
||||
msgstr "Sidor:"
|
||||
|
||||
#: template-parts/content-cover.php:138 template-parts/content.php:48
|
||||
msgid "Page"
|
||||
msgstr "Sida"
|
||||
|
||||
#: template-parts/content-cover.php:88
|
||||
msgid "Scroll Down"
|
||||
msgstr "Rulla ned"
|
||||
|
||||
#: searchform.php:27
|
||||
msgctxt "submit button"
|
||||
msgid "Search"
|
||||
msgstr "Sök"
|
||||
|
||||
#: searchform.php:25
|
||||
msgctxt "placeholder"
|
||||
msgid "Search …"
|
||||
msgstr "Sök …"
|
||||
|
||||
#: index.php:48
|
||||
msgid "We could not find any results for your search. You can give it another try through the search form below."
|
||||
msgstr "Din sökning gav inga matchande resultat. Du kan prova det igen med hjälp av nedanstående sökformulär."
|
||||
|
||||
#: index.php:32
|
||||
msgid "Search:"
|
||||
msgstr "Sök:"
|
||||
|
||||
#. translators: %s: Post title. Only visible to screen readers.
|
||||
#: inc/template-tags.php:206
|
||||
msgid "Edit <span class=\"screen-reader-text\">%s</span>"
|
||||
msgstr "Redigera <span class=\"screen-reader-text\">%s</span>"
|
||||
|
||||
#: inc/template-tags.php:445
|
||||
msgid "Sticky post"
|
||||
msgstr "Klistrat inlägg"
|
||||
|
||||
#: inc/template-tags.php:407
|
||||
msgid "Tags"
|
||||
msgstr "Etiketter"
|
||||
|
||||
#: inc/template-tags.php:389 template-parts/entry-header.php:36
|
||||
#: template-parts/content-cover.php:70
|
||||
msgid "Categories"
|
||||
msgstr "Kategorier"
|
||||
|
||||
#: inc/template-tags.php:371
|
||||
msgid "Post date"
|
||||
msgstr "Inläggsdatum"
|
||||
|
||||
#: inc/template-tags.php:347
|
||||
msgid "Post author"
|
||||
msgstr "Inläggsförfattare"
|
||||
|
||||
#: inc/starter-content.php:196
|
||||
msgid "Social Links Menu"
|
||||
msgstr "Meny för sociala länkar"
|
||||
|
||||
#: inc/starter-content.php:176 inc/starter-content.php:186 functions.php:494
|
||||
msgid "Primary"
|
||||
msgstr "Huvudmeny"
|
||||
|
||||
#: header.php:88
|
||||
msgid "Horizontal"
|
||||
msgstr "Horisontell"
|
||||
|
||||
#: header.php:76 header.php:137
|
||||
msgid "Menu"
|
||||
msgstr "Meny"
|
||||
|
||||
#: header.php:53 header.php:157
|
||||
msgid "Search"
|
||||
msgstr "Sök"
|
||||
|
||||
#: template-parts/content.php:36
|
||||
msgid "Continue reading"
|
||||
msgstr "Fortsätt läsa"
|
||||
|
||||
#: functions.php:551
|
||||
msgctxt "Short name of the larger font size in the block editor."
|
||||
msgid "XL"
|
||||
msgstr "XL"
|
||||
|
||||
#: functions.php:550
|
||||
msgctxt "Name of the larger font size in the block editor"
|
||||
msgid "Larger"
|
||||
msgstr "Större"
|
||||
|
||||
#: functions.php:545
|
||||
msgctxt "Short name of the large font size in the block editor."
|
||||
msgid "L"
|
||||
msgstr "L"
|
||||
|
||||
#: functions.php:544
|
||||
msgctxt "Name of the large font size in the block editor"
|
||||
msgid "Large"
|
||||
msgstr "Stor"
|
||||
|
||||
#: functions.php:539
|
||||
msgctxt "Short name of the regular font size in the block editor."
|
||||
msgid "M"
|
||||
msgstr "M"
|
||||
|
||||
#: functions.php:538
|
||||
msgctxt "Name of the regular font size in the block editor"
|
||||
msgid "Regular"
|
||||
msgstr "Normal"
|
||||
|
||||
#: functions.php:533
|
||||
msgctxt "Short name of the small font size in the block editor."
|
||||
msgid "S"
|
||||
msgstr "S"
|
||||
|
||||
#: functions.php:532
|
||||
msgctxt "Name of the small font size in the block editor"
|
||||
msgid "Small"
|
||||
msgstr "Liten"
|
||||
|
||||
#: functions.php:517
|
||||
msgid "Background Color"
|
||||
msgstr "Bakgrundsfärg"
|
||||
|
||||
#: functions.php:504
|
||||
msgid "Subtle Background"
|
||||
msgstr "Subtil bakgrund"
|
||||
|
||||
#: functions.php:499
|
||||
msgid "Secondary"
|
||||
msgstr "Sekundär"
|
||||
|
||||
#: functions.php:489
|
||||
msgid "Accent Color"
|
||||
msgstr "Accentfärg"
|
||||
|
||||
#: functions.php:380
|
||||
msgid "Widgets in this area will be displayed in the second column in the footer."
|
||||
msgstr "Widgetar i detta område kommer att visas i sidfotens andra kolumn."
|
||||
|
||||
#: functions.php:378
|
||||
msgid "Footer #2"
|
||||
msgstr "Sidfot 2"
|
||||
|
||||
#: functions.php:368
|
||||
msgid "Widgets in this area will be displayed in the first column in the footer."
|
||||
msgstr "Widgetar i detta område kommer att visas i sidfotens första kolumn."
|
||||
|
||||
#: functions.php:366
|
||||
msgid "Footer #1"
|
||||
msgstr "Sidfot 1"
|
||||
|
||||
#: functions.php:341
|
||||
msgid "Skip to the content"
|
||||
msgstr "Hoppa till innehåll"
|
||||
|
||||
#: functions.php:262
|
||||
msgid "Social Menu"
|
||||
msgstr "Social meny"
|
||||
|
||||
#: functions.php:261
|
||||
msgid "Footer Menu"
|
||||
msgstr "Sidfotsmeny"
|
||||
|
||||
#: functions.php:260
|
||||
msgid "Mobile Menu"
|
||||
msgstr "Mobilmeny"
|
||||
|
||||
#: functions.php:259
|
||||
msgid "Desktop Expanded Menu"
|
||||
msgstr "Utökad meny för datorskärm"
|
||||
|
||||
#: functions.php:258
|
||||
msgid "Desktop Horizontal Menu"
|
||||
msgstr "Horisontell meny för datorskärm"
|
||||
|
||||
#: footer.php:33
|
||||
msgid "Powered by WordPress"
|
||||
msgstr "Drivs med WordPress"
|
||||
|
||||
#: comments.php:127
|
||||
msgid "Comments are closed."
|
||||
msgstr "Stängt för kommentering."
|
||||
|
||||
#: comments.php:88
|
||||
msgid "Comments"
|
||||
msgstr "Kommentarer"
|
||||
|
||||
#: comments.php:75
|
||||
msgid "Older Comments"
|
||||
msgstr "Tidigare kommentarer"
|
||||
|
||||
#: comments.php:74
|
||||
msgid "Newer Comments"
|
||||
msgstr "Senare kommentarer"
|
||||
|
||||
#. translators: 1: Number of comments, 2: Post title.
|
||||
#: comments.php:41
|
||||
msgctxt "comments title"
|
||||
msgid "%1$s reply on “%2$s”"
|
||||
|
|
@ -204,324 +426,102 @@ msgid_plural "%1$s replies on “%2$s”"
|
|||
msgstr[0] "%1$s svar på ”%2$s”"
|
||||
msgstr[1] "%1$s svar på ”%2$s”"
|
||||
|
||||
#: comments.php:88
|
||||
msgid "Comments"
|
||||
msgstr "Kommentarer"
|
||||
#. translators: %s: Post title.
|
||||
#: comments.php:37
|
||||
msgctxt "comments title"
|
||||
msgid "One reply on “%s”"
|
||||
msgstr "Ett svar på ”%s”"
|
||||
|
||||
#: functions.php:491 inc/starter-content.php:176 inc/starter-content.php:186
|
||||
msgid "Primary"
|
||||
msgstr "Huvudmeny"
|
||||
#: comments.php:34
|
||||
msgid "Leave a comment"
|
||||
msgstr "Lämna en kommentar"
|
||||
|
||||
#: inc/starter-content.php:196
|
||||
msgid "Social Links Menu"
|
||||
msgstr "Meny för sociala länkar"
|
||||
#: classes/class-twentytwenty-walker-page.php:107 inc/template-tags.php:555
|
||||
msgid "Show sub menu"
|
||||
msgstr "Visa undermeny"
|
||||
|
||||
#. translators: %s: Post title. Only visible to screen readers.
|
||||
#: inc/template-tags.php:206
|
||||
msgid "Edit <span class=\"screen-reader-text\">%s</span>"
|
||||
msgstr "Redigera <span class=\"screen-reader-text\">%s</span>"
|
||||
#. translators: %d: ID of a post.
|
||||
#: classes/class-twentytwenty-walker-page.php:70
|
||||
msgid "#%d (no title)"
|
||||
msgstr "#%d (utan rubrik)"
|
||||
|
||||
#: functions.php:258
|
||||
msgid "Footer Menu"
|
||||
msgstr "Sidfotsmeny"
|
||||
#: classes/class-twentytwenty-walker-comment.php:127
|
||||
msgid "By Post Author"
|
||||
msgstr "Av inläggets författare"
|
||||
|
||||
#: template-parts/content.php:48 template-parts/content-cover.php:138
|
||||
msgid "Pages:"
|
||||
msgstr "Sidor:"
|
||||
#: classes/class-twentytwenty-walker-comment.php:92
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "Din kommentar inväntar granskning."
|
||||
|
||||
#: template-parts/footer-menus-widgets.php:37
|
||||
msgid "Footer"
|
||||
msgstr "Sidfot"
|
||||
#: classes/class-twentytwenty-walker-comment.php:77
|
||||
msgid "Edit"
|
||||
msgstr "Redigera"
|
||||
|
||||
#: template-parts/content.php:48 template-parts/content-cover.php:138
|
||||
msgid "Page"
|
||||
msgstr "Sida"
|
||||
#. translators: 1: Comment date, 2: Comment time.
|
||||
#: classes/class-twentytwenty-walker-comment.php:69
|
||||
msgid "%1$s at %2$s"
|
||||
msgstr "%1$s \\k\\l. %2$s"
|
||||
|
||||
#: functions.php:496
|
||||
msgid "Secondary"
|
||||
msgstr "Sekundär"
|
||||
#: classes/class-twentytwenty-walker-comment.php:56
|
||||
msgid "says:"
|
||||
msgstr "säger:"
|
||||
|
||||
#: 404.php:17
|
||||
msgid "Page Not Found"
|
||||
msgstr "Sidan hittades inte"
|
||||
#: classes/class-twentytwenty-customize.php:396
|
||||
msgid "Make sure that the contrast is high enough so that the text is readable."
|
||||
msgstr "Se till att kontrasten är tillräckligt hög för att texten ska kunna läsas."
|
||||
|
||||
#: 404.php:19
|
||||
msgid "The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place."
|
||||
msgstr "Sidan du försökte hämta kunde inte hittas. Den kan ha tagits bort, bytt namn eller kanske aldrig har funnits."
|
||||
#: classes/class-twentytwenty-customize.php:306
|
||||
msgid "Creates a parallax effect when the visitor scrolls."
|
||||
msgstr "Skapar en parallax-effekt när besökaren rullar sidan."
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:81
|
||||
msgid "Retina logo"
|
||||
msgstr "Retina-logga"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:82
|
||||
msgid "Scales the logo to half its uploaded size, making it sharp on high-res screens."
|
||||
msgstr "Minska loggan till hälften av dess uppladdade storlek, så det blir skarp på skärmar med hög upplösning."
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:101
|
||||
msgid "Header & Footer Background Color"
|
||||
msgstr "Bakgrundsfärg för sidhuvud och sidfot"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:202
|
||||
msgid "Theme Options"
|
||||
msgstr "Temainställningar"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:225
|
||||
msgid "Show search in header"
|
||||
msgstr "Visa sökfunktion i sidhuvudet"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:267
|
||||
msgid "On archive pages, posts show:"
|
||||
msgstr "På arkivsidor visar inläggen:"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:269
|
||||
msgid "Full text"
|
||||
msgstr "Hela texten"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:270
|
||||
msgid "Summary"
|
||||
msgstr "Sammanfattning"
|
||||
#: classes/class-twentytwenty-customize.php:305
|
||||
msgid "Fixed Background Image"
|
||||
msgstr "Fast bakgrundsbild"
|
||||
|
||||
#. Template Name of the theme
|
||||
#: classes/class-twentytwenty-customize.php:281
|
||||
msgid "Cover Template"
|
||||
msgstr "Omslagsmall"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:305
|
||||
msgid "Fixed Background Image"
|
||||
msgstr "Fast bakgrundsbild"
|
||||
#: classes/class-twentytwenty-customize.php:270
|
||||
msgid "Summary"
|
||||
msgstr "Sammanfattning"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:306
|
||||
msgid "Creates a parallax effect when the visitor scrolls."
|
||||
msgstr "Skapar en parallax-effekt när besökaren rullar sidan."
|
||||
#: classes/class-twentytwenty-customize.php:269
|
||||
msgid "Full text"
|
||||
msgstr "Hela texten"
|
||||
|
||||
#: classes/class-twentytwenty-customize.php:396
|
||||
msgid "Make sure that the contrast is high enough so that the text is readable."
|
||||
msgstr "Se till att kontrasten är tillräckligt hög för att texten ska kunna läsas."
|
||||
#: classes/class-twentytwenty-customize.php:267
|
||||
msgid "On archive pages, posts show:"
|
||||
msgstr "På arkivsidor visar inläggen:"
|
||||
|
||||
#: classes/class-twentytwenty-walker-comment.php:56
|
||||
msgid "says:"
|
||||
msgstr "säger:"
|
||||
#: classes/class-twentytwenty-customize.php:225
|
||||
msgid "Show search in header"
|
||||
msgstr "Visa sökfunktion i sidhuvudet"
|
||||
|
||||
#: classes/class-twentytwenty-walker-comment.php:127
|
||||
msgid "By Post Author"
|
||||
msgstr "Av inläggets författare"
|
||||
#: classes/class-twentytwenty-customize.php:202
|
||||
msgid "Theme Options"
|
||||
msgstr "Temainställningar"
|
||||
|
||||
#. translators: %d: ID of a post
|
||||
#: classes/class-twentytwenty-walker-page.php:82
|
||||
msgid "#%d (no title)"
|
||||
msgstr "#%d (utan rubrik)"
|
||||
#: classes/class-twentytwenty-customize.php:101
|
||||
msgid "Header & Footer Background Color"
|
||||
msgstr "Bakgrundsfärg för sidhuvud och sidfot"
|
||||
|
||||
#: classes/class-twentytwenty-walker-page.php:134 inc/template-tags.php:555
|
||||
msgid "Show sub menu"
|
||||
msgstr "Visa undermeny"
|
||||
#: classes/class-twentytwenty-customize.php:82
|
||||
msgid "Scales the logo to half its uploaded size, making it sharp on high-res screens."
|
||||
msgstr "Minska loggan till hälften av dess uppladdade storlek, så det blir skarp på skärmar med hög upplösning."
|
||||
|
||||
#: comments.php:74
|
||||
msgid "Newer Comments"
|
||||
msgstr "Senare kommentarer"
|
||||
#: classes/class-twentytwenty-customize.php:81
|
||||
msgid "Retina logo"
|
||||
msgstr "Retina-logga"
|
||||
|
||||
#: comments.php:75
|
||||
msgid "Older Comments"
|
||||
msgstr "Tidigare kommentarer"
|
||||
#: 404.php:19
|
||||
msgid "The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place."
|
||||
msgstr "Sidan du försökte hämta kunde inte hittas. Den kan ha tagits bort, bytt namn eller kanske aldrig har funnits."
|
||||
|
||||
#: comments.php:127
|
||||
msgid "Comments are closed."
|
||||
msgstr "Stängt för kommentering."
|
||||
|
||||
#: footer.php:33
|
||||
msgid "Powered by WordPress"
|
||||
msgstr "Drivs med WordPress"
|
||||
|
||||
#: functions.php:255
|
||||
msgid "Desktop Horizontal Menu"
|
||||
msgstr "Horisontell meny för datorskärm"
|
||||
|
||||
#: functions.php:256
|
||||
msgid "Desktop Expanded Menu"
|
||||
msgstr "Utökad meny för datorskärm"
|
||||
|
||||
#: functions.php:257
|
||||
msgid "Mobile Menu"
|
||||
msgstr "Mobilmeny"
|
||||
|
||||
#: functions.php:259
|
||||
msgid "Social Menu"
|
||||
msgstr "Social meny"
|
||||
|
||||
#: functions.php:338
|
||||
msgid "Skip to the content"
|
||||
msgstr "Hoppa till innehåll"
|
||||
|
||||
#: functions.php:363
|
||||
msgid "Footer #1"
|
||||
msgstr "Sidfot 1"
|
||||
|
||||
#: functions.php:365
|
||||
msgid "Widgets in this area will be displayed in the first column in the footer."
|
||||
msgstr "Widgetar i detta område kommer att visas i sidfotens första kolumn."
|
||||
|
||||
#: functions.php:375
|
||||
msgid "Footer #2"
|
||||
msgstr "Sidfot 2"
|
||||
|
||||
#: functions.php:377
|
||||
msgid "Widgets in this area will be displayed in the second column in the footer."
|
||||
msgstr "Widgetar i detta område kommer att visas i sidfotens andra kolumn."
|
||||
|
||||
#: functions.php:486
|
||||
msgid "Accent Color"
|
||||
msgstr "Accentfärg"
|
||||
|
||||
#: functions.php:501
|
||||
msgid "Subtle Background"
|
||||
msgstr "Subtil bakgrund"
|
||||
|
||||
#: functions.php:514
|
||||
msgid "Background Color"
|
||||
msgstr "Bakgrundsfärg"
|
||||
|
||||
#: functions.php:529
|
||||
msgctxt "Name of the small font size in the block editor"
|
||||
msgid "Small"
|
||||
msgstr "Liten"
|
||||
|
||||
#: functions.php:530
|
||||
msgctxt "Short name of the small font size in the block editor."
|
||||
msgid "S"
|
||||
msgstr "S"
|
||||
|
||||
#: functions.php:535
|
||||
msgctxt "Name of the regular font size in the block editor"
|
||||
msgid "Regular"
|
||||
msgstr "Normal"
|
||||
|
||||
#: functions.php:536
|
||||
msgctxt "Short name of the regular font size in the block editor."
|
||||
msgid "M"
|
||||
msgstr "M"
|
||||
|
||||
#: functions.php:541
|
||||
msgctxt "Name of the large font size in the block editor"
|
||||
msgid "Large"
|
||||
msgstr "Stor"
|
||||
|
||||
#: functions.php:542
|
||||
msgctxt "Short name of the large font size in the block editor."
|
||||
msgid "L"
|
||||
msgstr "L"
|
||||
|
||||
#: functions.php:547
|
||||
msgctxt "Name of the larger font size in the block editor"
|
||||
msgid "Larger"
|
||||
msgstr "Större"
|
||||
|
||||
#: functions.php:548
|
||||
msgctxt "Short name of the larger font size in the block editor."
|
||||
msgid "XL"
|
||||
msgstr "XL"
|
||||
|
||||
#: template-parts/content.php:36
|
||||
msgid "Continue reading"
|
||||
msgstr "Fortsätt läsa"
|
||||
|
||||
#: header.php:53 header.php:157
|
||||
msgid "Search"
|
||||
msgstr "Sök"
|
||||
|
||||
#: header.php:76 header.php:137
|
||||
msgid "Menu"
|
||||
msgstr "Meny"
|
||||
|
||||
#: header.php:88
|
||||
msgid "Horizontal"
|
||||
msgstr "Horisontell"
|
||||
|
||||
#: inc/template-tags.php:347
|
||||
msgid "Post author"
|
||||
msgstr "Inläggsförfattare"
|
||||
|
||||
#: inc/template-tags.php:371
|
||||
msgid "Post date"
|
||||
msgstr "Inläggsdatum"
|
||||
|
||||
#: template-parts/content-cover.php:70 template-parts/entry-header.php:36
|
||||
#: inc/template-tags.php:389
|
||||
msgid "Categories"
|
||||
msgstr "Kategorier"
|
||||
|
||||
#: inc/template-tags.php:407
|
||||
msgid "Tags"
|
||||
msgstr "Etiketter"
|
||||
|
||||
#: inc/template-tags.php:445
|
||||
msgid "Sticky post"
|
||||
msgstr "Klistrat inlägg"
|
||||
|
||||
#: index.php:32
|
||||
msgid "Search:"
|
||||
msgstr "Sök:"
|
||||
|
||||
#: index.php:48
|
||||
msgid "We could not find any results for your search. You can give it another try through the search form below."
|
||||
msgstr "Din sökning gav inga matchande resultat. Du kan prova det igen med hjälp av nedanstående sökformulär."
|
||||
|
||||
#: searchform.php:25
|
||||
msgctxt "placeholder"
|
||||
msgid "Search …"
|
||||
msgstr "Sök …"
|
||||
|
||||
#: searchform.php:27
|
||||
msgctxt "submit button"
|
||||
msgid "Search"
|
||||
msgstr "Sök"
|
||||
|
||||
#: template-parts/content-cover.php:88
|
||||
msgid "Scroll Down"
|
||||
msgstr "Rulla ned"
|
||||
|
||||
#. translators: %s: Author name
|
||||
#: template-parts/entry-author-bio.php:20 inc/template-tags.php:354
|
||||
msgid "By %s"
|
||||
msgstr "Av %s"
|
||||
|
||||
#: template-parts/footer-menus-widgets.php:57
|
||||
msgid "Social links"
|
||||
msgstr "Sociala länkar"
|
||||
|
||||
#: template-parts/modal-menu.php:21
|
||||
msgid "Close Menu"
|
||||
msgstr "Stäng menyn"
|
||||
|
||||
#: template-parts/modal-menu.php:48
|
||||
msgid "Expanded"
|
||||
msgstr "Expanderad"
|
||||
|
||||
#: template-parts/modal-menu.php:73
|
||||
msgid "Mobile"
|
||||
msgstr "Mobil"
|
||||
|
||||
#: template-parts/modal-menu.php:117
|
||||
msgid "Expanded Social links"
|
||||
msgstr "Expanderade sociala länkar"
|
||||
|
||||
#: template-parts/modal-search.php:26
|
||||
msgid "Close search"
|
||||
msgstr "Stäng sökningen"
|
||||
|
||||
#: template-parts/navigation.php:25
|
||||
msgid "Post"
|
||||
msgstr "Inlägg"
|
||||
|
||||
#: template-parts/pagination.php:21
|
||||
msgid "Newer <span class=\"nav-short\">Posts</span>"
|
||||
msgstr "Senare <span class=\"nav-short\">inlägg</span>"
|
||||
|
||||
#: template-parts/pagination.php:25
|
||||
msgid "Older <span class=\"nav-short\">Posts</span>"
|
||||
msgstr "Tidigare <span class=\"nav-short\">inlägg</span>"
|
||||
|
||||
#. Template Name of the theme
|
||||
msgid "Full Width Template"
|
||||
msgstr "Fullbreddsmall"
|
||||
#: 404.php:17
|
||||
msgid "Page Not Found"
|
||||
msgstr "Sidan hittades inte"
|
||||
|
||||
#. Author URI of the theme
|
||||
#: footer.php:32
|
||||
|
|
@ -534,4 +534,4 @@ msgstr "WordPress-teamet"
|
|||
|
||||
#. Theme URI of the theme
|
||||
msgid "https://wordpress.org/themes/twentytwenty/"
|
||||
msgstr "https://wordpress.org/themes/twentytwenty/"
|
||||
msgstr "https://wordpress.org/themes/twentytwenty/"
|
||||
|
|
@ -1,65 +1,65 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying 404 pages (Not Found)
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<article id="post-0" class="post error404 not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn’t it?', 'twentyeleven' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.', 'twentyeleven' ); ?></p>
|
||||
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) ); ?>
|
||||
|
||||
<div class="widget">
|
||||
<h2 class="widgettitle"><?php _e( 'Most Used Categories', 'twentyeleven' ); ?></h2>
|
||||
<ul>
|
||||
<?php
|
||||
wp_list_categories(
|
||||
array(
|
||||
'orderby' => 'count',
|
||||
'order' => 'DESC',
|
||||
'show_count' => 1,
|
||||
'title_li' => '',
|
||||
'number' => 10,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
/* translators: %1$s: smilie */
|
||||
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>';
|
||||
the_widget(
|
||||
'WP_Widget_Archives',
|
||||
array(
|
||||
'count' => 0,
|
||||
'dropdown' => 1,
|
||||
),
|
||||
array( 'after_title' => '</h2>' . $archive_content )
|
||||
);
|
||||
?>
|
||||
|
||||
<?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
|
||||
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying 404 pages (Not Found)
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<article id="post-0" class="post error404 not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn’t it?', 'twentyeleven' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.', 'twentyeleven' ); ?></p>
|
||||
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) ); ?>
|
||||
|
||||
<div class="widget">
|
||||
<h2 class="widgettitle"><?php _e( 'Most Used Categories', 'twentyeleven' ); ?></h2>
|
||||
<ul>
|
||||
<?php
|
||||
wp_list_categories(
|
||||
array(
|
||||
'orderby' => 'count',
|
||||
'order' => 'DESC',
|
||||
'show_count' => 1,
|
||||
'title_li' => '',
|
||||
'number' => 10,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
/* translators: %1$s: Smilie. */
|
||||
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>';
|
||||
the_widget(
|
||||
'WP_Widget_Archives',
|
||||
array(
|
||||
'count' => 0,
|
||||
'dropdown' => 1,
|
||||
),
|
||||
array( 'after_title' => '</h2>' . $archive_content )
|
||||
);
|
||||
?>
|
||||
|
||||
<?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
|
||||
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,75 +1,82 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying Archive pages
|
||||
*
|
||||
* Used to display archive-type pages if nothing more specific matches a query.
|
||||
* For example, puts together date-based pages if no date.php file exists.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">
|
||||
<?php if ( is_day() ) : ?>
|
||||
<?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?>
|
||||
<?php elseif ( is_month() ) : ?>
|
||||
<?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
|
||||
<?php elseif ( is_year() ) : ?>
|
||||
<?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' ); ?>
|
||||
<?php else : ?>
|
||||
<?php _e( 'Blog Archives', 'twentyeleven' ); ?>
|
||||
<?php endif; ?>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying Archive pages
|
||||
*
|
||||
* Used to display archive-type pages if nothing more specific matches a query.
|
||||
* For example, puts together date-based pages if no date.php file exists.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">
|
||||
<?php
|
||||
if ( is_day() ) {
|
||||
/* translators: %s: Date. */
|
||||
printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' );
|
||||
} elseif ( is_month() ) {
|
||||
/* translators: %s: Date. */
|
||||
printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' );
|
||||
} elseif ( is_year() ) {
|
||||
/* translators: %s: Date. */
|
||||
printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' );
|
||||
} else {
|
||||
_e( 'Blog Archives', 'twentyeleven' );
|
||||
}
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php
|
||||
// Start the Loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that
|
||||
* will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,105 +1,117 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying Author Archive pages
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Queue the first post, that way we know what author
|
||||
* we're dealing with (if that is the case).
|
||||
*
|
||||
* We reset this later so we can run the loop properly
|
||||
* with a call to rewind_posts().
|
||||
*/
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'twentyeleven' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Since we called the_post() above, we need to
|
||||
* rewind the loop back to the beginning that way
|
||||
* we can run the loop properly, in full.
|
||||
*/
|
||||
rewind_posts();
|
||||
?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php
|
||||
// If a user has filled out their description, show a bio on their entries.
|
||||
if ( get_the_author_meta( 'description' ) ) :
|
||||
?>
|
||||
<div id="author-info">
|
||||
<div id="author-avatar">
|
||||
<?php
|
||||
/**
|
||||
* Filter the Twenty Eleven author bio avatar size.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param int The height and width avatar dimension in pixels. Default 60.
|
||||
*/
|
||||
echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 60 ) );
|
||||
?>
|
||||
</div><!-- #author-avatar -->
|
||||
<div id="author-description">
|
||||
<h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2>
|
||||
<?php the_author_meta( 'description' ); ?>
|
||||
</div><!-- #author-description -->
|
||||
</div><!-- #author-info -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying Author Archive pages
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Queue the first post, that way we know what author
|
||||
* we're dealing with (if that is the case).
|
||||
*
|
||||
* We reset this later so we can run the loop properly
|
||||
* with a call to rewind_posts().
|
||||
*/
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title author">
|
||||
<?php
|
||||
/* translators: %s: Author display name. */
|
||||
printf( __( 'Author Archives: %s', 'twentyeleven' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Since we called the_post() above, we need
|
||||
* to rewind the loop back to the beginning.
|
||||
* That way we can run the loop properly, in full.
|
||||
*/
|
||||
rewind_posts();
|
||||
?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php
|
||||
// If a user has filled out their description, show a bio on their entries.
|
||||
if ( get_the_author_meta( 'description' ) ) :
|
||||
?>
|
||||
<div id="author-info">
|
||||
<div id="author-avatar">
|
||||
<?php
|
||||
/**
|
||||
* Filter the Twenty Eleven author bio avatar size.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param int The height and width avatar dimension in pixels. Default 60.
|
||||
*/
|
||||
$author_bio_avatar_size = apply_filters( 'twentyeleven_author_bio_avatar_size', 60 );
|
||||
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
|
||||
?>
|
||||
</div><!-- #author-avatar -->
|
||||
<div id="author-description">
|
||||
<h2>
|
||||
<?php
|
||||
/* translators: Author display name. */
|
||||
printf( __( 'About %s', 'twentyeleven' ), get_the_author() );
|
||||
?>
|
||||
</h2>
|
||||
<?php the_author_meta( 'description' ); ?>
|
||||
</div><!-- #author-description -->
|
||||
</div><!-- #author-info -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
// Start the Loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that
|
||||
* will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,406 +1,406 @@
|
|||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
1.0 General Block Styles
|
||||
2.0 Blocks - Common Blocks
|
||||
3.0 Blocks - Formatting
|
||||
4.0 Blocks - Layout Elements
|
||||
5.0 Blocks - Widgets
|
||||
6.0 Blocks - Colors
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
1.0 General Block Styles
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
figure[class^="wp-block-"] {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Captions */
|
||||
|
||||
[class^="wp-block-"] figcaption {
|
||||
font-family: Georgia, serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||
color: #666;
|
||||
margin-bottom: 1.625em;
|
||||
max-width: 96%;
|
||||
max-width: calc( 100% - 18px );
|
||||
padding: 3px 0 5px 40px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||
color: #666;
|
||||
content: '\2014';
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||
padding-left: 0;
|
||||
padding-right: 40px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||
left: 0;
|
||||
margin-left: 5px;
|
||||
margin-right: 0;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
2.0 Blocks - Common Blocks
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Paragraph */
|
||||
|
||||
p.has-drop-cap:not(:focus)::first-letter {
|
||||
font-size: 5em;
|
||||
margin-top: 0.1em;
|
||||
}
|
||||
|
||||
/* Gallery */
|
||||
|
||||
.wp-block-gallery {
|
||||
margin: 0 0 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-gallery .blocks-gallery-item figcaption {
|
||||
margin-bottom: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-gallery .blocks-gallery-item img {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Quote */
|
||||
|
||||
.wp-block-quote {
|
||||
margin: 0 3em;
|
||||
}
|
||||
|
||||
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
||||
border: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large p,
|
||||
.wp-block-quote.is-style-large p {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.wp-block-quote cite {
|
||||
color: #666;
|
||||
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large cite,
|
||||
.wp-block-quote.is-style-large cite {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* Audio */
|
||||
|
||||
.wp-block-audio audio {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Cover */
|
||||
|
||||
.wp-block-cover-image.aligncenter,
|
||||
.wp-block-cover.aligncenter {
|
||||
clear: both;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.wp-block-cover-image.alignleft,
|
||||
.wp-block-cover.alignleft {
|
||||
margin-right: 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-cover-image.alignright,
|
||||
.wp-block-cover.alignright {
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
|
||||
/* File */
|
||||
|
||||
.wp-block-file .wp-block-file__button {
|
||||
background: #222;
|
||||
border: none;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
color: #eee;
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
padding: 5px 22px;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.wp-block-file .wp-block-file__button:active {
|
||||
background: #1982d1;
|
||||
color: #bfddf3;
|
||||
}
|
||||
|
||||
.rtl .wp-block-file * + .wp-block-file__button {
|
||||
margin-left: 0.75em;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
3.0 Blocks - Formatting
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Code */
|
||||
|
||||
.wp-block-code {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Pullquote */
|
||||
|
||||
.wp-block-pullquote__citation,
|
||||
.wp-block-pullquote cite,
|
||||
.wp-block-pullquote footer {
|
||||
color: #141412;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignleft {
|
||||
margin-right: 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignright {
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
|
||||
/* Table */
|
||||
|
||||
.wp-block-table {
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-table th {
|
||||
border: 0;
|
||||
font-weight: bold;
|
||||
padding: 6px 10px 6px 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.wp-block-table td {
|
||||
border: 0;
|
||||
border-top: 1px solid #ddd;
|
||||
padding: 6px 10px 6px 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
4.0 Blocks - Layout Elements
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.wp-block-button .wp-block-button__link {
|
||||
-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
margin: 20px 0;
|
||||
padding: 5px 22px;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.is-style-outline .wp-block-button__link:not(.has-text-color) {
|
||||
color: #222;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.wp-block-button__link,
|
||||
.wp-block-button .wp-block-button__link:hover,
|
||||
.wp-block-button .is-style-outline .wp-block-button__link:hover {
|
||||
background: #222;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.wp-block-button__link:active {
|
||||
background: #1982d1;
|
||||
color: #bfddf3;
|
||||
}
|
||||
|
||||
/* Separator */
|
||||
|
||||
.wp-block-separator {
|
||||
border: 0;
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
.wp-block-separator.is-style-wide {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Media & Text */
|
||||
|
||||
.wp-block-media-text {
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-media-text *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
5.0 Blocks - Widgets
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Archives, Categories & Latest Posts */
|
||||
|
||||
.wp-block-archives.aligncenter,
|
||||
.wp-block-categories.aligncenter,
|
||||
.wp-block-latest-posts.aligncenter {
|
||||
list-style-position: inside;
|
||||
margin-left: 2.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.rtl .wp-block-archives.aligncenter,
|
||||
.rtl .wp-block-categories.aligncenter,
|
||||
.rtl .wp-block-latest-posts.aligncenter {
|
||||
margin-left: 0;
|
||||
margin-right: 2.5em;
|
||||
}
|
||||
|
||||
/* Latest Comments */
|
||||
|
||||
.wp-block-latest-comments {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments .avatar,
|
||||
.wp-block-latest-comments__comment-avatar {
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 1px 2px #ccc;
|
||||
-moz-box-shadow: 0 1px 2px #ccc;
|
||||
box-shadow: 0 1px 2px #ccc;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment,
|
||||
.wp-block-latest-comments__comment-excerpt,
|
||||
.wp-block-latest-comments__comment-excerpt p {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-excerpt p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-meta,
|
||||
.wp-block-latest-comments__comment-date {
|
||||
color: #666;
|
||||
font-size: 12px;
|
||||
line-height: 2.2em;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-meta a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
margin: 0 0 2.625em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Latest Posts */
|
||||
|
||||
.wp-block-latest-posts.is-grid {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
6.0 Blocks - Colors
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.has-blue-color {
|
||||
color: #1982d1;
|
||||
}
|
||||
|
||||
.has-blue-background-color {
|
||||
background-color: #1982d1;
|
||||
}
|
||||
|
||||
.has-black-color {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.has-black-background-color {
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.has-dark-gray-color {
|
||||
color: #373737;
|
||||
}
|
||||
|
||||
.has-dark-gray-background-color {
|
||||
background-color: #373737;
|
||||
}
|
||||
|
||||
.has-medium-gray-color {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.has-medium-gray-background-color {
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
.has-light-gray-color {
|
||||
color: #e2e2e2;
|
||||
}
|
||||
|
||||
.has-light-gray-background-color {
|
||||
background-color: #e2e2e2;
|
||||
}
|
||||
|
||||
.has-white-color {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.has-white-background-color {
|
||||
background-color: #fff;
|
||||
}
|
||||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
Description: Used to style blocks.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
1.0 General Block Styles
|
||||
2.0 Blocks - Common Blocks
|
||||
3.0 Blocks - Formatting
|
||||
4.0 Blocks - Layout Elements
|
||||
5.0 Blocks - Widgets
|
||||
6.0 Blocks - Colors
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
1.0 General Block Styles
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
figure[class^="wp-block-"] {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Captions */
|
||||
|
||||
[class^="wp-block-"] figcaption {
|
||||
font-family: Georgia, serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||
color: #666;
|
||||
margin-bottom: 1.625em;
|
||||
max-width: 96%;
|
||||
max-width: calc( 100% - 18px );
|
||||
padding: 3px 0 5px 40px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||
color: #666;
|
||||
content: '\2014';
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||
padding-left: 0;
|
||||
padding-right: 40px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||
left: 0;
|
||||
margin-left: 5px;
|
||||
margin-right: 0;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
2.0 Blocks - Common Blocks
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Paragraph */
|
||||
|
||||
p.has-drop-cap:not(:focus)::first-letter {
|
||||
font-size: 5em;
|
||||
margin-top: 0.1em;
|
||||
}
|
||||
|
||||
/* Gallery */
|
||||
|
||||
.wp-block-gallery {
|
||||
margin: 0 0 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-gallery .blocks-gallery-item figcaption {
|
||||
margin-bottom: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-gallery .blocks-gallery-item img {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Quote */
|
||||
|
||||
.wp-block-quote {
|
||||
margin: 0 3em;
|
||||
}
|
||||
|
||||
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
||||
border: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large p,
|
||||
.wp-block-quote.is-style-large p {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.wp-block-quote cite {
|
||||
color: #666;
|
||||
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large cite,
|
||||
.wp-block-quote.is-style-large cite {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* Audio */
|
||||
|
||||
.wp-block-audio audio {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Cover */
|
||||
|
||||
.wp-block-cover-image.aligncenter,
|
||||
.wp-block-cover.aligncenter {
|
||||
clear: both;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.wp-block-cover-image.alignleft,
|
||||
.wp-block-cover.alignleft {
|
||||
margin-right: 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-cover-image.alignright,
|
||||
.wp-block-cover.alignright {
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
|
||||
/* File */
|
||||
|
||||
.wp-block-file .wp-block-file__button {
|
||||
background: #222;
|
||||
border: none;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
color: #eee;
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
padding: 5px 22px;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.wp-block-file .wp-block-file__button:active {
|
||||
background: #1982d1;
|
||||
color: #bfddf3;
|
||||
}
|
||||
|
||||
.rtl .wp-block-file * + .wp-block-file__button {
|
||||
margin-left: 0.75em;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
3.0 Blocks - Formatting
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Code */
|
||||
|
||||
.wp-block-code {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Pullquote */
|
||||
|
||||
.wp-block-pullquote__citation,
|
||||
.wp-block-pullquote cite,
|
||||
.wp-block-pullquote footer {
|
||||
color: #141412;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignleft {
|
||||
margin-right: 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignright {
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
|
||||
/* Table */
|
||||
|
||||
.wp-block-table {
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-table th {
|
||||
border: 0;
|
||||
font-weight: bold;
|
||||
padding: 6px 10px 6px 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.wp-block-table td {
|
||||
border: 0;
|
||||
border-top: 1px solid #ddd;
|
||||
padding: 6px 10px 6px 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
4.0 Blocks - Layout Elements
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.wp-block-button .wp-block-button__link {
|
||||
-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
margin: 20px 0;
|
||||
padding: 5px 22px;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.is-style-outline .wp-block-button__link:not(.has-text-color) {
|
||||
color: #222;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.wp-block-button__link,
|
||||
.wp-block-button .wp-block-button__link:hover,
|
||||
.wp-block-button .is-style-outline .wp-block-button__link:hover {
|
||||
background: #222;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.wp-block-button__link:active {
|
||||
background: #1982d1;
|
||||
color: #bfddf3;
|
||||
}
|
||||
|
||||
/* Separator */
|
||||
|
||||
.wp-block-separator {
|
||||
border: 0;
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
.wp-block-separator.is-style-wide {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Media & Text */
|
||||
|
||||
.wp-block-media-text {
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-media-text *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
5.0 Blocks - Widgets
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Archives, Categories & Latest Posts */
|
||||
|
||||
.wp-block-archives.aligncenter,
|
||||
.wp-block-categories.aligncenter,
|
||||
.wp-block-latest-posts.aligncenter {
|
||||
list-style-position: inside;
|
||||
margin-left: 2.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.rtl .wp-block-archives.aligncenter,
|
||||
.rtl .wp-block-categories.aligncenter,
|
||||
.rtl .wp-block-latest-posts.aligncenter {
|
||||
margin-left: 0;
|
||||
margin-right: 2.5em;
|
||||
}
|
||||
|
||||
/* Latest Comments */
|
||||
|
||||
.wp-block-latest-comments {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments .avatar,
|
||||
.wp-block-latest-comments__comment-avatar {
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 1px 2px #ccc;
|
||||
-moz-box-shadow: 0 1px 2px #ccc;
|
||||
box-shadow: 0 1px 2px #ccc;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment,
|
||||
.wp-block-latest-comments__comment-excerpt,
|
||||
.wp-block-latest-comments__comment-excerpt p {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-excerpt p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-meta,
|
||||
.wp-block-latest-comments__comment-date {
|
||||
color: #666;
|
||||
font-size: 12px;
|
||||
line-height: 2.2em;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-meta a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
margin: 0 0 2.625em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Latest Posts */
|
||||
|
||||
.wp-block-latest-posts.is-grid {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
6.0 Blocks - Colors
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.has-blue-color {
|
||||
color: #1982d1;
|
||||
}
|
||||
|
||||
.has-blue-background-color {
|
||||
background-color: #1982d1;
|
||||
}
|
||||
|
||||
.has-black-color {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.has-black-background-color {
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.has-dark-gray-color {
|
||||
color: #373737;
|
||||
}
|
||||
|
||||
.has-dark-gray-background-color {
|
||||
background-color: #373737;
|
||||
}
|
||||
|
||||
.has-medium-gray-color {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.has-medium-gray-background-color {
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
.has-light-gray-color {
|
||||
color: #e2e2e2;
|
||||
}
|
||||
|
||||
.has-light-gray-background-color {
|
||||
background-color: #e2e2e2;
|
||||
}
|
||||
|
||||
.has-white-color {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.has-white-background-color {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,79 +1,81 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying Category Archive pages
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">
|
||||
<?php
|
||||
printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<?php
|
||||
$category_description = category_description();
|
||||
if ( ! empty( $category_description ) ) {
|
||||
/**
|
||||
* Filter the default Twenty Eleven category description.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param string The default category description HTML.
|
||||
*/
|
||||
echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' );
|
||||
}
|
||||
?>
|
||||
</header>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying Category Archive pages
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">
|
||||
<?php
|
||||
/* translators: %s: Ñategory title. */
|
||||
printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<?php
|
||||
$category_description = category_description();
|
||||
if ( ! empty( $category_description ) ) {
|
||||
/**
|
||||
* Filter the default Twenty Eleven category description.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param string The default category description HTML.
|
||||
*/
|
||||
echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' );
|
||||
}
|
||||
?>
|
||||
</header>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php
|
||||
// Start the Loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that
|
||||
* will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,94 +1,94 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying Comments
|
||||
*
|
||||
* The area of the page that contains both current comments
|
||||
* and the comment form. The actual display of comments is
|
||||
* handled by a callback to twentyeleven_comment() which is
|
||||
* located in the functions.php file.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
<div id="comments">
|
||||
<?php if ( post_password_required() ) : ?>
|
||||
<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></p>
|
||||
</div><!-- #comments -->
|
||||
<?php
|
||||
/*
|
||||
* Stop the rest of comments.php from being processed,
|
||||
* but don't kill the script entirely -- we still have
|
||||
* to fully load the template.
|
||||
*/
|
||||
return;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php // You can start editing here -- including this comment! ?>
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h2 id="comments-title">
|
||||
<?php
|
||||
if ( 1 === get_comments_number() ) {
|
||||
printf(
|
||||
/* translators: %s: The post title. */
|
||||
__( 'One thought on “%1$s”', 'twentyeleven' ),
|
||||
'<span>' . get_the_title() . '</span>'
|
||||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: %1$s: The number of comments. %2$s: The post title. */
|
||||
_n( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentyeleven' ),
|
||||
number_format_i18n( get_comments_number() ),
|
||||
'<span>' . get_the_title() . '</span>'
|
||||
);
|
||||
}
|
||||
?>
|
||||
</h2>
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
||||
<nav id="comment-nav-above">
|
||||
<h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div>
|
||||
</nav>
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
<ol class="commentlist">
|
||||
<?php
|
||||
/*
|
||||
* Loop through and list the comments. Tell wp_list_comments()
|
||||
* to use twentyeleven_comment() to format the comments.
|
||||
* If you want to overload this in a child theme then you can
|
||||
* define twentyeleven_comment() and that will be used instead.
|
||||
* See twentyeleven_comment() in twentyeleven/functions.php for more.
|
||||
*/
|
||||
wp_list_comments( array( 'callback' => 'twentyeleven_comment' ) );
|
||||
?>
|
||||
</ol>
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
|
||||
<nav id="comment-nav-below">
|
||||
<h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div>
|
||||
</nav>
|
||||
<?php endif; // check for comment navigation ?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* If there are no comments and comments are closed, let's leave a little note, shall we?
|
||||
* But we only want the note on posts and pages that had comments in the first place.
|
||||
*/
|
||||
if ( ! comments_open() && get_comments_number() ) :
|
||||
?>
|
||||
<p class="nocomments"><?php _e( 'Comments are closed.', 'twentyeleven' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; // have_comments() ?>
|
||||
|
||||
<?php comment_form(); ?>
|
||||
|
||||
</div><!-- #comments -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying Comments
|
||||
*
|
||||
* The area of the page that contains both current comments
|
||||
* and the comment form. The actual display of comments is
|
||||
* handled by a callback to twentyeleven_comment() which is
|
||||
* located in the functions.php file.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
<div id="comments">
|
||||
<?php if ( post_password_required() ) : ?>
|
||||
<p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></p>
|
||||
</div><!-- #comments -->
|
||||
<?php
|
||||
/*
|
||||
* Stop the rest of comments.php from being processed,
|
||||
* but don't kill the script entirely -- we still have
|
||||
* to fully load the template.
|
||||
*/
|
||||
return;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php // You can start editing here -- including this comment! ?>
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h2 id="comments-title">
|
||||
<?php
|
||||
if ( 1 === get_comments_number() ) {
|
||||
printf(
|
||||
/* translators: %s: The post title. */
|
||||
__( 'One thought on “%1$s”', 'twentyeleven' ),
|
||||
'<span>' . get_the_title() . '</span>'
|
||||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: %1$s: The number of comments. %2$s: The post title. */
|
||||
_n( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentyeleven' ),
|
||||
number_format_i18n( get_comments_number() ),
|
||||
'<span>' . get_the_title() . '</span>'
|
||||
);
|
||||
}
|
||||
?>
|
||||
</h2>
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||
<nav id="comment-nav-above">
|
||||
<h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div>
|
||||
</nav>
|
||||
<?php endif; // Check for comment navigation. ?>
|
||||
|
||||
<ol class="commentlist">
|
||||
<?php
|
||||
/*
|
||||
* Loop through and list the comments. Tell wp_list_comments()
|
||||
* to use twentyeleven_comment() to format the comments.
|
||||
* If you want to overload this in a child theme then you can
|
||||
* define twentyeleven_comment() and that will be used instead.
|
||||
* See twentyeleven_comment() in twentyeleven/functions.php for more.
|
||||
*/
|
||||
wp_list_comments( array( 'callback' => 'twentyeleven_comment' ) );
|
||||
?>
|
||||
</ol>
|
||||
|
||||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
|
||||
<nav id="comment-nav-below">
|
||||
<h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyeleven' ) ); ?></div>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyeleven' ) ); ?></div>
|
||||
</nav>
|
||||
<?php endif; // Check for comment navigation. ?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* If there are no comments and comments are closed, let's leave a little note, shall we?
|
||||
* But we only want the note on posts and pages that had comments in the first place.
|
||||
*/
|
||||
if ( ! comments_open() && get_comments_number() ) :
|
||||
?>
|
||||
<p class="nocomments"><?php _e( 'Comments are closed.', 'twentyeleven' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; // have_comments() ?>
|
||||
|
||||
<?php comment_form(); ?>
|
||||
|
||||
</div><!-- #comments -->
|
||||
|
|
|
|||
|
|
@ -1,55 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Aside Post Format
|
||||
*
|
||||
* Used on index and archive pages.
|
||||
*
|
||||
* @link https://codex.wordpress.org/Post_Formats
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Aside Post Format
|
||||
*
|
||||
* Used on index and archive pages.
|
||||
*
|
||||
* @link https://wordpress.org/support/article/post-formats/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display excerpts for search. ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,54 +1,56 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying content featured in the showcase.php page template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
global $feature_class;
|
||||
?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( $feature_class ); ?>>
|
||||
<header class="entry-header">
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( '' != $tag_list ) {
|
||||
$utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
} else {
|
||||
$utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
}
|
||||
printf(
|
||||
$utility_text,
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
get_the_category_list( __( ', ', 'twentyeleven' ) ),
|
||||
$tag_list,
|
||||
esc_url( get_permalink() ),
|
||||
the_title_attribute( 'echo=0' )
|
||||
);
|
||||
?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying content featured in the showcase.php page template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
global $feature_class;
|
||||
?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( $feature_class ); ?>>
|
||||
<header class="entry-header">
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( '' != $tag_list ) {
|
||||
/* translators: 1: Category list, 2: Tag list, 3: Post permalink, 4: Post title. */
|
||||
$utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
} else {
|
||||
/* translators: 1: Category list, 3: Post permalink, 4: Post title. */
|
||||
$utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
}
|
||||
printf(
|
||||
$utility_text,
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
get_the_category_list( __( ', ', 'twentyeleven' ) ),
|
||||
$tag_list,
|
||||
esc_url( get_permalink() ),
|
||||
the_title_attribute( 'echo=0' )
|
||||
);
|
||||
?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,108 +1,112 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Gallery Post Format
|
||||
*
|
||||
* Used on index and archive pages.
|
||||
*
|
||||
* @link https://codex.wordpress.org/Post_Formats
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display Excerpts for search pages ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php if ( post_password_required() ) : ?>
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
else :
|
||||
$images = twentyeleven_get_gallery_images();
|
||||
if ( $images ) :
|
||||
$total_images = count( $images );
|
||||
$image = reset( $images );
|
||||
?>
|
||||
<figure class="gallery-thumb">
|
||||
<a href="<?php the_permalink(); ?>"><?php echo wp_get_attachment_image( $image, 'thumbnail' ); ?></a>
|
||||
</figure><!-- .gallery-thumb -->
|
||||
|
||||
<p><em>
|
||||
<?php
|
||||
printf(
|
||||
_n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyeleven' ),
|
||||
'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"',
|
||||
number_format_i18n( $total_images )
|
||||
);
|
||||
?>
|
||||
</em></p>
|
||||
<?php endif; // end twentyeleven_get_gallery_images() check ?>
|
||||
<?php the_excerpt(); ?>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php $show_sep = false; ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
if ( $categories_list ) :
|
||||
?>
|
||||
<span class="cat-links">
|
||||
<?php
|
||||
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if categories ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( $tags_list ) :
|
||||
if ( $show_sep ) :
|
||||
?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep ?>
|
||||
<span class="tag-links">
|
||||
<?php
|
||||
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if $tags_list ?>
|
||||
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<?php if ( $show_sep ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep ?>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; // End if comments_open() ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Gallery Post Format
|
||||
*
|
||||
* Used on index and archive pages.
|
||||
*
|
||||
* @link https://wordpress.org/support/article/post-formats/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display excerpts for search. ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php if ( post_password_required() ) : ?>
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
else :
|
||||
$images = twentyeleven_get_gallery_images();
|
||||
if ( $images ) :
|
||||
$total_images = count( $images );
|
||||
$image = reset( $images );
|
||||
?>
|
||||
<figure class="gallery-thumb">
|
||||
<a href="<?php the_permalink(); ?>"><?php echo wp_get_attachment_image( $image, 'thumbnail' ); ?></a>
|
||||
</figure><!-- .gallery-thumb -->
|
||||
|
||||
<p><em>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: Link attributes, 2: Number of photos. */
|
||||
_n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyeleven' ),
|
||||
/* translators: %s: Post title. */
|
||||
'href="' . esc_url( get_permalink() ) . '" title="' . esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ) . '" rel="bookmark"',
|
||||
number_format_i18n( $total_images )
|
||||
);
|
||||
?>
|
||||
</em></p>
|
||||
<?php endif; // End twentyeleven_get_gallery_images() check. ?>
|
||||
<?php the_excerpt(); ?>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php $show_sep = false; ?>
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
if ( $categories_list ) :
|
||||
?>
|
||||
<span class="cat-links">
|
||||
<?php
|
||||
/* translators: 1: CSS classes, 2: List of categories. */
|
||||
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if categories. ?>
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( $tags_list ) :
|
||||
if ( $show_sep ) :
|
||||
?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep. ?>
|
||||
<span class="tag-links">
|
||||
<?php
|
||||
/* translators: 1: CSS classes, 2: List of tags. */
|
||||
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if $tags_list. ?>
|
||||
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<?php if ( $show_sep ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep. ?>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; // End if comments_open(). ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,81 +1,89 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Image Post Format
|
||||
*
|
||||
* Used on index and archive pages.
|
||||
*
|
||||
* @link https://codex.wordpress.org/Post_Formats
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( 'indexed' ); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<div class="entry-meta">
|
||||
<?php
|
||||
printf(
|
||||
__( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
|
||||
esc_url( get_permalink() ),
|
||||
get_the_date( 'c' ),
|
||||
get_the_date(),
|
||||
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
|
||||
esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
|
||||
get_the_author()
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
<div class="entry-meta">
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
if ( $categories_list ) :
|
||||
?>
|
||||
<span class="cat-links">
|
||||
<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); ?>
|
||||
</span>
|
||||
<?php endif; // End if categories ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( $tags_list ) :
|
||||
?>
|
||||
<span class="tag-links">
|
||||
<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
|
||||
</span>
|
||||
<?php endif; // End if $tags_list ?>
|
||||
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; // End if comments_open() ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Image Post Format
|
||||
*
|
||||
* Used on index and archive pages.
|
||||
*
|
||||
* @link https://wordpress.org/support/article/post-formats/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( 'indexed' ); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<div class="entry-meta">
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: The permalink, 2: Date and time, 3: Date and time, 4: Author link, 5: Author link title, 6: Author display name. */
|
||||
__( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
|
||||
esc_url( get_permalink() ),
|
||||
get_the_date( 'c' ),
|
||||
get_the_date(),
|
||||
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
|
||||
/* translators: %s: Author display name. */
|
||||
esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
|
||||
get_the_author()
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-meta -->
|
||||
<div class="entry-meta">
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
if ( $categories_list ) :
|
||||
?>
|
||||
<span class="cat-links">
|
||||
<?php
|
||||
/* translators: 1: CSS classes, 2: Category list. */
|
||||
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if categories. ?>
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( $tags_list ) :
|
||||
?>
|
||||
<span class="tag-links">
|
||||
<?php
|
||||
/* translators: 1: CSS classes, 2: Tag list. */
|
||||
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if $tags_list. ?>
|
||||
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; // End if comments_open(). ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,28 +1,28 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying page content in the showcase.php page template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( 'intro' ); ?>>
|
||||
<header class="entry-header">
|
||||
<h2 class="entry-title"><?php the_title(); ?></h2>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying page content in the showcase.php page template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class( 'intro' ); ?>>
|
||||
<header class="entry-header">
|
||||
<h2 class="entry-title"><?php the_title(); ?></h2>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,55 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Link Post Format
|
||||
*
|
||||
* Used on index and archive pages
|
||||
*
|
||||
* @link https://codex.wordpress.org/Post_Formats
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Link Post Format
|
||||
*
|
||||
* Used on index and archive pages
|
||||
*
|
||||
* @link https://wordpress.org/support/article/post-formats/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display excerpts for search. ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,30 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
* Template used for displaying page content in page.php
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<footer class="entry-meta">
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template used for displaying page content in page.php
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<footer class="entry-meta">
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,86 +1,88 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying content
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php $show_sep = false; ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
if ( $categories_list ) :
|
||||
?>
|
||||
<span class="cat-links">
|
||||
<?php
|
||||
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if categories ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( $tags_list ) :
|
||||
if ( $show_sep ) :
|
||||
?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep ?>
|
||||
<span class="tag-links">
|
||||
<?php
|
||||
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if $tags_list ?>
|
||||
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<?php if ( $show_sep ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep ?>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; // End if comments_open() ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying content
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display excerpts for search. ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php $show_sep = false; ?>
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
if ( $categories_list ) :
|
||||
?>
|
||||
<span class="cat-links">
|
||||
<?php
|
||||
/* translators: 1: CSS classes, 2: List of categories. */
|
||||
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if categories. ?>
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( $tags_list ) :
|
||||
if ( $show_sep ) :
|
||||
?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep. ?>
|
||||
<span class="tag-links">
|
||||
<?php
|
||||
/* translators: 1: CSS classes, 2: List of tags. */
|
||||
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if $tags_list. ?>
|
||||
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<?php if ( $show_sep ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep. ?>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; // End if comments_open(). ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,81 +1,96 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying content in the single.php template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( '' != $tag_list ) {
|
||||
$utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
} elseif ( '' != $categories_list ) {
|
||||
$utility_text = __( 'This entry was posted in %1$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
} else {
|
||||
$utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
}
|
||||
|
||||
printf(
|
||||
$utility_text,
|
||||
$categories_list,
|
||||
$tag_list,
|
||||
esc_url( get_permalink() ),
|
||||
the_title_attribute( 'echo=0' ),
|
||||
get_the_author(),
|
||||
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) )
|
||||
);
|
||||
?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
|
||||
<?php if ( get_the_author_meta( 'description' ) && ( ! function_exists( 'is_multi_author' ) || is_multi_author() ) ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?>
|
||||
<div id="author-info">
|
||||
<div id="author-avatar">
|
||||
<?php
|
||||
/** This filter is documented in author.php */
|
||||
echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 68 ) );
|
||||
?>
|
||||
</div><!-- #author-avatar -->
|
||||
<div id="author-description">
|
||||
<h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2>
|
||||
<?php the_author_meta( 'description' ); ?>
|
||||
<div id="author-link">
|
||||
<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
|
||||
<?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentyeleven' ), get_the_author() ); ?>
|
||||
</a>
|
||||
</div><!-- #author-link -->
|
||||
</div><!-- #author-description -->
|
||||
</div><!-- #author-info -->
|
||||
<?php endif; ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying content in the single.php template
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( '' != $tag_list ) {
|
||||
/* translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title, 5: Author name, 6: Author URL. */
|
||||
$utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
} elseif ( '' != $categories_list ) {
|
||||
/* translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title, 5: Author name, 6: Author URL. */
|
||||
$utility_text = __( 'This entry was posted in %1$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
} else {
|
||||
/* translators: 1: Categories list, 2: Tag list, 3: Permalink, 4: Post title, 5: Author name, 6: Author URL. */
|
||||
$utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
|
||||
}
|
||||
|
||||
printf(
|
||||
$utility_text,
|
||||
$categories_list,
|
||||
$tag_list,
|
||||
esc_url( get_permalink() ),
|
||||
the_title_attribute( 'echo=0' ),
|
||||
get_the_author(),
|
||||
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) )
|
||||
);
|
||||
?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
|
||||
<?php
|
||||
// If a user has filled out their description and this is a multi-author blog, show a bio on their entries.
|
||||
if ( get_the_author_meta( 'description' ) && ( ! function_exists( 'is_multi_author' ) || is_multi_author() ) ) :
|
||||
?>
|
||||
<div id="author-info">
|
||||
<div id="author-avatar">
|
||||
<?php
|
||||
/** This filter is documented in author.php */
|
||||
$author_bio_avatar_size = apply_filters( 'twentyeleven_author_bio_avatar_size', 68 );
|
||||
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
|
||||
?>
|
||||
</div><!-- #author-avatar -->
|
||||
<div id="author-description">
|
||||
<h2>
|
||||
<?php
|
||||
/* translators: %s: Author name. */
|
||||
printf( __( 'About %s', 'twentyeleven' ), get_the_author() );
|
||||
?>
|
||||
</h2>
|
||||
<?php the_author_meta( 'description' ); ?>
|
||||
<div id="author-link">
|
||||
<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
|
||||
<?php
|
||||
/* translators: %s: Author name. */
|
||||
printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'twentyeleven' ), get_the_author() );
|
||||
?>
|
||||
</a>
|
||||
</div><!-- #author-link -->
|
||||
</div><!-- #author-description -->
|
||||
</div><!-- #author-info -->
|
||||
<?php endif; ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,68 +1,68 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Status Post Format
|
||||
*
|
||||
* Used on index and archive pages
|
||||
*
|
||||
* @link https://codex.wordpress.org/Post_Formats
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<div class="avatar">
|
||||
<?php
|
||||
/**
|
||||
* Filter the Twenty Eleven status avatar size.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param int The height and width avatar dimensions in pixels. Default 65.
|
||||
*/
|
||||
echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentyeleven_status_avatar', 65 ) );
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying posts in the Status Post Format
|
||||
*
|
||||
* Used on index and archive pages
|
||||
*
|
||||
* @link https://wordpress.org/support/article/post-formats/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display excerpts for search. ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<div class="avatar">
|
||||
<?php
|
||||
/**
|
||||
* Filter the Twenty Eleven status avatar size.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param int The height and width avatar dimensions in pixels. Default 65.
|
||||
*/
|
||||
echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentyeleven_status_avatar', 65 ) );
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,96 +1,98 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying content
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<?php if ( is_sticky() ) : ?>
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
<?php else : ?>
|
||||
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php $show_sep = false; ?>
|
||||
<?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
if ( $categories_list ) :
|
||||
?>
|
||||
<span class="cat-links">
|
||||
<?php
|
||||
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if categories ?>
|
||||
<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ) ?>
|
||||
<?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported ?>
|
||||
<?php
|
||||
/* translators: used between list items, there is a space after the comma */
|
||||
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( $tags_list ) :
|
||||
if ( $show_sep ) :
|
||||
?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep ?>
|
||||
<span class="tag-links">
|
||||
<?php
|
||||
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if $tags_list ?>
|
||||
<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ) ?>
|
||||
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<?php if ( $show_sep ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep ?>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; // End if comments_open() ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying content
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<?php if ( is_sticky() ) : ?>
|
||||
<hgroup>
|
||||
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
|
||||
</hgroup>
|
||||
<?php else : ?>
|
||||
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
<div class="entry-meta">
|
||||
<?php twentyeleven_posted_on(); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( comments_open() && ! post_password_required() ) : ?>
|
||||
<div class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<?php if ( is_search() ) : // Only display excerpts for search. ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
<?php else : ?>
|
||||
<div class="entry-content">
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
<?php endif; ?>
|
||||
|
||||
<footer class="entry-meta">
|
||||
<?php $show_sep = false; ?>
|
||||
<?php if ( is_object_in_taxonomy( get_post_type(), 'category' ) ) : // Hide category text when not supported. ?>
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
|
||||
if ( $categories_list ) :
|
||||
?>
|
||||
<span class="cat-links">
|
||||
<?php
|
||||
/* translators: 1: CSS classes, 2: Category list. */
|
||||
printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if categories. ?>
|
||||
<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'category' ). ?>
|
||||
<?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : // Hide tag text when not supported. ?>
|
||||
<?php
|
||||
/* translators: Used between list items, there is a space after the comma. */
|
||||
$tags_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
|
||||
if ( $tags_list ) :
|
||||
if ( $show_sep ) :
|
||||
?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep. ?>
|
||||
<span class="tag-links">
|
||||
<?php
|
||||
/* translators: 1: CSS classes, 2: Tag list. */
|
||||
printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
|
||||
$show_sep = true;
|
||||
?>
|
||||
</span>
|
||||
<?php endif; // End if $tags_list. ?>
|
||||
<?php endif; // End if is_object_in_taxonomy( get_post_type(), 'post_tag' ). ?>
|
||||
|
||||
<?php if ( comments_open() ) : ?>
|
||||
<?php if ( $show_sep ) : ?>
|
||||
<span class="sep"> | </span>
|
||||
<?php endif; // End if $show_sep. ?>
|
||||
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
|
||||
<?php endif; // End if comments_open(). ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-meta -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,469 +1,473 @@
|
|||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
Description: Used to style blocks in the editor.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
1.0 General Typography
|
||||
2.0 General Block Styles
|
||||
3.0 Blocks - Common Blocks
|
||||
4.0 Blocks - Formatting
|
||||
5.0 Blocks - Layout Elements
|
||||
6.0 Blocks - Widgets
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
1.0 General Typography
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block,
|
||||
.edit-post-visual-editor .editor-block-list__block p,
|
||||
.editor-default-block-appender textarea.editor-default-block-appender__content {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 15px;
|
||||
font-weight: 300;
|
||||
line-height: 1.625;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.editor-post-title__block .editor-post-title__input {
|
||||
color: #000;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 36px;
|
||||
line-height: 48px;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor h1,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h1,
|
||||
.edit-post-visual-editor h2,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h2 {
|
||||
font-size: 15px;
|
||||
margin: 0 0 0.8125em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor h3,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h3 {
|
||||
font-size: 10px;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.1em;
|
||||
line-height: 2.6em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor h4,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h4,
|
||||
.edit-post-visual-editor h5,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h5,
|
||||
.edit-post-visual-editor h6,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
||||
font-size: 15px;
|
||||
font-weight: 300;
|
||||
line-height: 1.625;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
2.0 General Block Styles
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Main column width */
|
||||
|
||||
.editor-styles-wrapper {
|
||||
max-width: 100% !important; /* Override where editor-style.css is affecting this. */
|
||||
}
|
||||
|
||||
.wp-block {
|
||||
max-width: 614px; /* 584px + 30px to account for padding */
|
||||
}
|
||||
|
||||
/* Link styles */
|
||||
|
||||
.edit-post-visual-editor a,
|
||||
.editor-block-list__block a,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce a {
|
||||
color: #1982d1;
|
||||
}
|
||||
|
||||
/* List styles */
|
||||
|
||||
.edit-post-visual-editor ul:not(.wp-block-gallery),
|
||||
.editor-block-list__block ul:not(.wp-block-gallery),
|
||||
.block-library-list ul.editor-rich-text__tinymce,
|
||||
.edit-post-visual-editor ol,
|
||||
.editor-block-list__block ol,
|
||||
.block-library-list ol.editor-rich-text__tinymce {
|
||||
margin: 0 0 1.625em 2.5em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.block-library-list .editor-rich-text__tinymce {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ul:not(.wp-block-gallery),
|
||||
.edit-post-visual-editor .editor-block-list__block ul:not(.wp-block-gallery),
|
||||
.block-library-list ul {
|
||||
list-style-type: square;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ol,
|
||||
.editor-block-list__block ol,
|
||||
.block-library-list ol {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ol ol,
|
||||
.editor-block-list__block ol ol,
|
||||
.block-library-list ol ol {
|
||||
list-style: upper-alpha;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ol ol ol,
|
||||
.editor-block-list__block ol ol ol,
|
||||
.block-library-list ol ol ol {
|
||||
list-style: lower-roman;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ol ol ol ol,
|
||||
.editor-block-list__block ol ol ol ol,
|
||||
.block-library-list ol ol ol ol {
|
||||
list-style: lower-alpha;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
|
||||
.editor-block-list__block ul:not(.wp-block-gallery) li > ul,
|
||||
.block-library-list .editor-rich-text__tinymce li > ul,
|
||||
.edit-post-visual-editor li > ol,
|
||||
.editor-block-list__block li > ol,
|
||||
.block-library-list .editor-rich-text__tinymce li > ol,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce li,
|
||||
.editor-block-list__block li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
|
||||
.rtl .editor-block-list__block ul:not(.wp-block-gallery),
|
||||
.rtl .block-library-list ul,
|
||||
.rtl .edit-post-visual-editor ol,
|
||||
.rtl .editor-block-list__block ol,
|
||||
.rtl .block-library-list ol {
|
||||
margin-left: 0;
|
||||
margin-right: 1.3333em;
|
||||
}
|
||||
|
||||
/* Captions */
|
||||
|
||||
[class^="wp-block-"] figcaption {
|
||||
font-family: Georgia, serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||
color: #666;
|
||||
margin-bottom: 1.625em;
|
||||
max-width: 96%;
|
||||
max-width: calc( 100% - 18px );
|
||||
padding: 3px 0 5px 40px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||
color: #666;
|
||||
content: '\2014';
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||
padding-left: 0;
|
||||
padding-right: 40px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||
left: 0;
|
||||
margin-left: 5px;
|
||||
margin-right: 0;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
/* Quote */
|
||||
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
||||
border: 0;
|
||||
font-style: italic;
|
||||
margin: 0 3em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
|
||||
font-family: Georgia, "Bitstream Charter", serif;
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
|
||||
color: #666;
|
||||
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* Code */
|
||||
|
||||
.wp-block-freeform.block-library-rich-text__tinymce code {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
3.0 Blocks - Common Blocks
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Paragraph */
|
||||
|
||||
p.has-drop-cap:not(:focus)::first-letter {
|
||||
font-size: 5em;
|
||||
margin-top: 0.1em;
|
||||
}
|
||||
|
||||
/* Gallery */
|
||||
|
||||
.editor-block-list__block .wp-block-gallery {
|
||||
margin: 0 0 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-gallery figcaption {
|
||||
margin-bottom: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-gallery .blocks-gallery-item img {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Quote */
|
||||
|
||||
.wp-block-quote {
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
margin: 0 3em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-quote p {
|
||||
font-family: Georgia, "Bitstream Charter", serif;
|
||||
}
|
||||
|
||||
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
||||
border: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-quote .wp-block-quote__citation.editor-rich-text__tinymce.mce-content-body {
|
||||
color: #666;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large p,
|
||||
.wp-block-quote.is-style-large p {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large .wp-block-quote__citation,
|
||||
.wp-block-quote.is-style-large .wp-block-quote__citation {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* Cover */
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text,
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-cover p.wp-block-cover-text {
|
||||
font-size: 30px;
|
||||
line-height: 37.5px;
|
||||
}
|
||||
|
||||
/* File */
|
||||
|
||||
.wp-block-file .wp-block-file__textlink {
|
||||
color: #1982d1;
|
||||
}
|
||||
|
||||
.wp-block-file .wp-block-file__button {
|
||||
background: #222;
|
||||
border: none;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
color: #eee;
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
line-height: 24px;
|
||||
padding: 5px 22px;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
4.0 Blocks - Formatting
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Code */
|
||||
|
||||
.wp-block-code {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Pullquote */
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote p {
|
||||
font-family: Georgia, "Bitstream Charter", serif;
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
|
||||
.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
/* Table */
|
||||
|
||||
.editor-block-list__block .wp-block-table th,
|
||||
.editor-block-list__block .wp-block-table td {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-table__cell-content {
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.rtl .editor-block-list__block .wp-block-table th,
|
||||
.rtl .editor-block-list__block .wp-block-table td,
|
||||
.rtl .editor-block-list__block th,
|
||||
.rtl .editor-block-list__block td {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
5.0 Blocks - Layout Elements
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.wp-block-button .wp-block-button__link {
|
||||
-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
line-height: 24px;
|
||||
margin: 20px 0;
|
||||
padding: 5px 22px;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.wp-block-button__link {
|
||||
background: #222;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.is-style-outline .wp-block-button__link {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.wp-block-button__link.has-text-color {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
/* Media & Text */
|
||||
|
||||
.wp-block-media-text *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
6.0 Blocks - Widgets
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Archives, Categories & Latest Posts */
|
||||
|
||||
[data-align="center"] .wp-block-archives ul,
|
||||
[data-align="center"] .wp-block-categories ul,
|
||||
[data-align="center"] .wp-block-latest-posts ul {
|
||||
list-style-position: inside;
|
||||
margin-left: 2.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Latest Comments */
|
||||
|
||||
.wp-block-latest-comments {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments .avatar,
|
||||
.wp-block-latest-comments__comment-avatar {
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 1px 2px #ccc;
|
||||
-moz-box-shadow: 0 1px 2px #ccc;
|
||||
box-shadow: 0 1px 2px #ccc;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment,
|
||||
.wp-block-latest-comments__comment-excerpt,
|
||||
.wp-block-latest-comments__comment-excerpt p {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-excerpt p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-meta,
|
||||
.wp-block-latest-comments__comment-date {
|
||||
color: #666;
|
||||
font-size: 12px;
|
||||
line-height: 2.2em;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-meta a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
margin: 0 0 2.625em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Latest Posts */
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-latest-posts.is-grid {
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
Description: Used to style blocks in the editor.
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
1.0 General Typography
|
||||
2.0 General Block Styles
|
||||
3.0 Blocks - Common Blocks
|
||||
4.0 Blocks - Formatting
|
||||
5.0 Blocks - Layout Elements
|
||||
6.0 Blocks - Widgets
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
1.0 General Typography
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block,
|
||||
.edit-post-visual-editor .editor-block-list__block p,
|
||||
.editor-default-block-appender textarea.editor-default-block-appender__content {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 15px;
|
||||
font-weight: 300;
|
||||
line-height: 1.625;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.editor-post-title__block .editor-post-title__input {
|
||||
color: #000;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 36px;
|
||||
line-height: 48px;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor h1,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h1,
|
||||
.edit-post-visual-editor h2,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h2 {
|
||||
font-size: 15px;
|
||||
margin: 0 0 0.8125em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor h3,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h3 {
|
||||
font-size: 10px;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.1em;
|
||||
line-height: 2.6em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor h4,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h4,
|
||||
.edit-post-visual-editor h5,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h5,
|
||||
.edit-post-visual-editor h6,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce h6 {
|
||||
font-size: 15px;
|
||||
font-weight: 300;
|
||||
line-height: 1.625;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
2.0 General Block Styles
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Main column width */
|
||||
|
||||
.editor-styles-wrapper {
|
||||
max-width: 100% !important; /* Override where editor-style.css is affecting this. */
|
||||
}
|
||||
|
||||
.wp-block {
|
||||
max-width: 614px; /* 584px + 30px to account for padding */
|
||||
}
|
||||
|
||||
/* Link styles */
|
||||
|
||||
.edit-post-visual-editor a,
|
||||
.editor-block-list__block a,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce a {
|
||||
color: #1982d1;
|
||||
}
|
||||
|
||||
/* List styles */
|
||||
|
||||
.edit-post-visual-editor ul:not(.wp-block-gallery),
|
||||
.editor-block-list__block ul:not(.wp-block-gallery),
|
||||
.block-library-list ul.editor-rich-text__tinymce,
|
||||
.edit-post-visual-editor ol,
|
||||
.editor-block-list__block ol,
|
||||
.block-library-list ol.editor-rich-text__tinymce {
|
||||
margin: 0 0 1.625em 2.5em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.block-library-list .editor-rich-text__tinymce {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ul:not(.wp-block-gallery),
|
||||
.edit-post-visual-editor .editor-block-list__block ul:not(.wp-block-gallery),
|
||||
.block-library-list ul {
|
||||
list-style-type: square;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ol,
|
||||
.editor-block-list__block ol,
|
||||
.block-library-list ol {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ol ol,
|
||||
.editor-block-list__block ol ol,
|
||||
.block-library-list ol ol {
|
||||
list-style: upper-alpha;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ol ol ol,
|
||||
.editor-block-list__block ol ol ol,
|
||||
.block-library-list ol ol ol {
|
||||
list-style: lower-roman;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ol ol ol ol,
|
||||
.editor-block-list__block ol ol ol ol,
|
||||
.block-library-list ol ol ol ol {
|
||||
list-style: lower-alpha;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
|
||||
.editor-block-list__block ul:not(.wp-block-gallery) li > ul,
|
||||
.block-library-list .editor-rich-text__tinymce li > ul,
|
||||
.edit-post-visual-editor li > ol,
|
||||
.editor-block-list__block li > ol,
|
||||
.block-library-list .editor-rich-text__tinymce li > ol,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce li,
|
||||
.editor-block-list__block li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
|
||||
.rtl .editor-block-list__block ul:not(.wp-block-gallery),
|
||||
.rtl .block-library-list ul,
|
||||
.rtl .edit-post-visual-editor ol,
|
||||
.rtl .editor-block-list__block ol,
|
||||
.rtl .block-library-list ol {
|
||||
margin-left: 0;
|
||||
margin-right: 1.3333em;
|
||||
}
|
||||
|
||||
/* Captions */
|
||||
|
||||
[class^="wp-block-"] figcaption {
|
||||
font-family: Georgia, serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||
color: #666;
|
||||
margin-bottom: 1.625em;
|
||||
max-width: 96%;
|
||||
max-width: calc( 100% - 18px );
|
||||
padding: 3px 0 5px 40px;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
[class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||
color: #666;
|
||||
content: '\2014';
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
|
||||
padding-left: 0;
|
||||
padding-right: 40px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
|
||||
left: 0;
|
||||
margin-left: 5px;
|
||||
margin-right: 0;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
/* Quote */
|
||||
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
||||
border: 0;
|
||||
font-style: italic;
|
||||
margin: 0 3em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote p {
|
||||
font-family: Georgia, "Bitstream Charter", serif;
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote cite {
|
||||
color: #666;
|
||||
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* Code */
|
||||
|
||||
.wp-block-freeform.block-library-rich-text__tinymce code {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
3.0 Blocks - Common Blocks
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Paragraph */
|
||||
|
||||
p.has-drop-cap:not(:focus)::first-letter {
|
||||
font-size: 5em;
|
||||
margin-top: 0.1em;
|
||||
}
|
||||
|
||||
/* Gallery */
|
||||
|
||||
.editor-block-list__block .wp-block-gallery {
|
||||
margin: 0 0 1.625em;
|
||||
}
|
||||
|
||||
.wp-block-gallery figcaption {
|
||||
margin-bottom: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-gallery .blocks-gallery-item img {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Quote */
|
||||
|
||||
.wp-block-quote {
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
margin: 0 3em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-quote p {
|
||||
font-family: Georgia, "Bitstream Charter", serif;
|
||||
}
|
||||
|
||||
.wp-block-quote:not(.is-large):not(.is-style-large) {
|
||||
border: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.wp-block-quote .wp-block-quote__citation.editor-rich-text__tinymce.mce-content-body {
|
||||
color: #666;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large p,
|
||||
.wp-block-quote.is-style-large p {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.wp-block-quote.is-large .wp-block-quote__citation,
|
||||
.wp-block-quote.is-style-large .wp-block-quote__citation {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* Cover */
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text,
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-cover p.wp-block-cover-text {
|
||||
font-size: 30px;
|
||||
line-height: 37.5px;
|
||||
}
|
||||
|
||||
/* File */
|
||||
|
||||
.wp-block-file .wp-block-file__textlink {
|
||||
color: #1982d1;
|
||||
}
|
||||
|
||||
.wp-block-file .wp-block-file__button {
|
||||
background: #222;
|
||||
border: none;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
color: #eee;
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
line-height: 24px;
|
||||
padding: 5px 22px;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
4.0 Blocks - Formatting
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Code */
|
||||
|
||||
.wp-block-code {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Pullquote */
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote p {
|
||||
font-family: Georgia, "Bitstream Charter", serif;
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
|
||||
.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
/* Table */
|
||||
|
||||
.editor-block-list__block .wp-block-table th,
|
||||
.editor-block-list__block .wp-block-table td {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-table__cell-content {
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.rtl .editor-block-list__block .wp-block-table th,
|
||||
.rtl .editor-block-list__block .wp-block-table td,
|
||||
.rtl .editor-block-list__block th,
|
||||
.rtl .editor-block-list__block td {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
5.0 Blocks - Layout Elements
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.wp-block-button .wp-block-button__link {
|
||||
-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
line-height: 24px;
|
||||
margin: 20px 0;
|
||||
padding: 5px 22px;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.wp-block-button .wp-block-button__link[data-is-placeholder-visible="true"] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.wp-block-button__link {
|
||||
background: #222;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
.is-style-outline .wp-block-button__link {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.wp-block-button__link.has-text-color {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
/* Media & Text */
|
||||
|
||||
.wp-block-media-text *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
6.0 Blocks - Widgets
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Archives, Categories & Latest Posts */
|
||||
|
||||
[data-align="center"] .wp-block-archives ul,
|
||||
[data-align="center"] .wp-block-categories ul,
|
||||
[data-align="center"] .wp-block-latest-posts ul {
|
||||
list-style-position: inside;
|
||||
margin-left: 2.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Latest Comments */
|
||||
|
||||
.wp-block-latest-comments {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments .avatar,
|
||||
.wp-block-latest-comments__comment-avatar {
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 1px 2px #ccc;
|
||||
-moz-box-shadow: 0 1px 2px #ccc;
|
||||
box-shadow: 0 1px 2px #ccc;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment,
|
||||
.wp-block-latest-comments__comment-excerpt,
|
||||
.wp-block-latest-comments__comment-excerpt p {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-excerpt p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-meta,
|
||||
.wp-block-latest-comments__comment-date {
|
||||
color: #666;
|
||||
font-size: 12px;
|
||||
line-height: 2.2em;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments__comment-meta a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
margin: 0 0 2.625em;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Latest Posts */
|
||||
|
||||
.edit-post-visual-editor .editor-block-list__block .wp-block-latest-posts.is-grid {
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,24 +1,24 @@
|
|||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
*/
|
||||
/*
|
||||
Used to style the TinyMCE editor.
|
||||
*/
|
||||
html .mceContentBody {
|
||||
direction: rtl;
|
||||
unicode-bidi: embed;
|
||||
float: right;
|
||||
width: 584px;
|
||||
}
|
||||
* {
|
||||
font-family: Arial, Tahoma, sans-serif;
|
||||
}
|
||||
ul, ol {
|
||||
margin: 0 2.5em 1.625em 0;
|
||||
}
|
||||
blockquote {
|
||||
font-style: normal;
|
||||
}
|
||||
table {
|
||||
text-align: right;
|
||||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
*/
|
||||
/*
|
||||
Used to style the TinyMCE editor.
|
||||
*/
|
||||
html .mceContentBody {
|
||||
direction: rtl;
|
||||
unicode-bidi: embed;
|
||||
float: right;
|
||||
width: 584px;
|
||||
}
|
||||
* {
|
||||
font-family: Arial, Tahoma, sans-serif;
|
||||
}
|
||||
ul, ol {
|
||||
margin: 0 2.5em 1.625em 0;
|
||||
}
|
||||
blockquote {
|
||||
font-style: normal;
|
||||
}
|
||||
table {
|
||||
text-align: right;
|
||||
}
|
||||
|
|
@ -1,301 +1,301 @@
|
|||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
Description: Used to style the TinyMCE editor.
|
||||
*/
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
font: 15px "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
|
||||
font-weight: 300;
|
||||
line-height: 1.625;
|
||||
max-width: 584px;
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
clear: both;
|
||||
}
|
||||
h1,
|
||||
h2 {
|
||||
color: #000;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
margin: 0 0 .8125em;
|
||||
}
|
||||
h3 {
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.1em;
|
||||
line-height: 2.6em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
h4, h5, h6 {
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
hr {
|
||||
background-color: #ccc;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
|
||||
/* Text elements */
|
||||
p, ul, ol, dl {
|
||||
font-weight: 300;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
ul, ol {
|
||||
margin: 0 0 1.625em 2.5em;
|
||||
padding: 0;
|
||||
}
|
||||
ul {
|
||||
list-style: square;
|
||||
}
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
ol ol {
|
||||
list-style: upper-alpha;
|
||||
}
|
||||
ol ol ol {
|
||||
list-style: lower-roman;
|
||||
}
|
||||
ol ol ol ol {
|
||||
list-style: lower-alpha;
|
||||
}
|
||||
ul ul, ol ol, ul ol, ol ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
dl {
|
||||
margin: 0 1.625em;
|
||||
}
|
||||
dt {
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
dd {
|
||||
margin: 0 0 1.625em;
|
||||
}
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
cite, em, i {
|
||||
font-style: italic;
|
||||
}
|
||||
cite {
|
||||
border: none;
|
||||
}
|
||||
big {
|
||||
font-size: 131.25%;
|
||||
}
|
||||
.mceContentBody blockquote,
|
||||
.mceContentBody blockquote p {
|
||||
font-family: Georgia, "Bitstream Charter", serif !important;
|
||||
font-style: italic !important;
|
||||
font-weight: normal;
|
||||
margin: 0 3em;
|
||||
}
|
||||
.mceContentBody blockquote em,
|
||||
.mceContentBody blockquote i,
|
||||
.mceContentBody blockquote cite {
|
||||
font-style: normal;
|
||||
}
|
||||
.mceContentBody blockquote cite {
|
||||
color: #666;
|
||||
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
pre {
|
||||
background: #f4f4f4;
|
||||
font: 13px "Courier 10 Pitch", Courier, monospace;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 1.625em;
|
||||
padding: 0.75em 1.625em;
|
||||
}
|
||||
code, kbd, samp, var {
|
||||
font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
}
|
||||
abbr, acronym, dfn {
|
||||
border-bottom: 1px dotted #666;
|
||||
cursor: help;
|
||||
}
|
||||
address {
|
||||
display: block;
|
||||
margin: 0 0 1.625em;
|
||||
}
|
||||
del {
|
||||
color: #333;
|
||||
}
|
||||
ins {
|
||||
background: #fff9c0;
|
||||
border: none;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
sup,
|
||||
sub {
|
||||
font-size: 10px;
|
||||
height: 0;
|
||||
line-height: 1;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
sup {
|
||||
bottom: 1ex;
|
||||
}
|
||||
sub {
|
||||
top: .5ex;
|
||||
}
|
||||
input[type=text],
|
||||
textarea {
|
||||
background: #fafafa;
|
||||
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
|
||||
border: 1px solid #ddd;
|
||||
color: #888;
|
||||
}
|
||||
input[type=text]:focus,
|
||||
textarea:focus {
|
||||
color: #333;
|
||||
}
|
||||
textarea {
|
||||
padding-left: 3px;
|
||||
width: 98%;
|
||||
}
|
||||
input[type=text] {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
a,
|
||||
a em,
|
||||
a strong {
|
||||
color: #1b8be0;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:focus,
|
||||
a:active,
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Alignment */
|
||||
.alignleft {
|
||||
display: inline;
|
||||
float: left;
|
||||
margin-right: 1.625em;
|
||||
}
|
||||
.alignright {
|
||||
display: inline;
|
||||
float: right;
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
.aligncenter {
|
||||
clear: both;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
table {
|
||||
border: none !important;
|
||||
border-bottom: 1px solid #ddd !important;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
text-align: left;
|
||||
margin: 0 0 1.625em;
|
||||
width: 100%;
|
||||
}
|
||||
tr th {
|
||||
border: none !important;
|
||||
color: #666;
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.1em;
|
||||
line-height: 2.6em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
td {
|
||||
border: none !important;
|
||||
border-top: 1px solid #ddd !important;
|
||||
padding: 6px 10px 6px 0;
|
||||
}
|
||||
|
||||
/* Images */
|
||||
img.size-full {
|
||||
width: auto; /* Prevent stretching of full-size images in IE8 */
|
||||
}
|
||||
img.wp-smiley {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
p img,
|
||||
.wp-caption {
|
||||
margin-top: 0.4em;
|
||||
}
|
||||
img {
|
||||
border: 1px solid #ddd;
|
||||
padding: 6px;
|
||||
height: auto;
|
||||
max-width: 97.5%;
|
||||
max-width: calc( 100% - 14px );
|
||||
}
|
||||
img.alignleft,
|
||||
img.alignright,
|
||||
img.aligncenter {
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
.wp-caption {
|
||||
background: #eee;
|
||||
border: none;
|
||||
margin-bottom: 1.625em;
|
||||
max-width: 96%;
|
||||
max-width: calc( 100% - 22px );
|
||||
padding: 9px 11px;
|
||||
}
|
||||
.wp-caption img {
|
||||
display: block;
|
||||
margin: 0 -2px;
|
||||
max-width: 98%;
|
||||
max-width: calc( 100% - 10px );
|
||||
border-color: #eee;
|
||||
}
|
||||
.wp-caption .wp-caption-dd {
|
||||
color: #666;
|
||||
font-family: Georgia, serif;
|
||||
font-size: 12px;
|
||||
margin-bottom: 0.6em;
|
||||
padding: 10px 0 5px 40px;
|
||||
position: relative;
|
||||
}
|
||||
.wp-caption .wp-caption-dd:before {
|
||||
color: #666;
|
||||
content: '\2014';
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 7px;
|
||||
}
|
||||
a:focus img,
|
||||
a:hover img,
|
||||
a:active img {
|
||||
background: #eee;
|
||||
border-color: #bbb;
|
||||
}
|
||||
.wp-caption a:focus img,
|
||||
.wp-caption a:active img,
|
||||
.wp-caption a:hover img {
|
||||
background: #fff;
|
||||
border-color: #ddd;
|
||||
}
|
||||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
Description: Used to style the TinyMCE editor.
|
||||
*/
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
font: 15px "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
|
||||
font-weight: 300;
|
||||
line-height: 1.625;
|
||||
max-width: 584px;
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
clear: both;
|
||||
}
|
||||
h1,
|
||||
h2 {
|
||||
color: #000;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
margin: 0 0 .8125em;
|
||||
}
|
||||
h3 {
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.1em;
|
||||
line-height: 2.6em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
h4, h5, h6 {
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
hr {
|
||||
background-color: #ccc;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
|
||||
/* Text elements */
|
||||
p, ul, ol, dl {
|
||||
font-weight: 300;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
ul, ol {
|
||||
margin: 0 0 1.625em 2.5em;
|
||||
padding: 0;
|
||||
}
|
||||
ul {
|
||||
list-style: square;
|
||||
}
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
ol ol {
|
||||
list-style: upper-alpha;
|
||||
}
|
||||
ol ol ol {
|
||||
list-style: lower-roman;
|
||||
}
|
||||
ol ol ol ol {
|
||||
list-style: lower-alpha;
|
||||
}
|
||||
ul ul, ol ol, ul ol, ol ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
dl {
|
||||
margin: 0 1.625em;
|
||||
}
|
||||
dt {
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
dd {
|
||||
margin: 0 0 1.625em;
|
||||
}
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
cite, em, i {
|
||||
font-style: italic;
|
||||
}
|
||||
cite {
|
||||
border: none;
|
||||
}
|
||||
big {
|
||||
font-size: 131.25%;
|
||||
}
|
||||
.mceContentBody blockquote,
|
||||
.mceContentBody blockquote p {
|
||||
font-family: Georgia, "Bitstream Charter", serif !important;
|
||||
font-style: italic !important;
|
||||
font-weight: normal;
|
||||
margin: 0 3em;
|
||||
}
|
||||
.mceContentBody blockquote em,
|
||||
.mceContentBody blockquote i,
|
||||
.mceContentBody blockquote cite {
|
||||
font-style: normal;
|
||||
}
|
||||
.mceContentBody blockquote cite {
|
||||
color: #666;
|
||||
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
pre {
|
||||
background: #f4f4f4;
|
||||
font: 13px "Courier 10 Pitch", Courier, monospace;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 1.625em;
|
||||
padding: 0.75em 1.625em;
|
||||
}
|
||||
code, kbd, samp, var {
|
||||
font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
}
|
||||
abbr, acronym, dfn {
|
||||
border-bottom: 1px dotted #666;
|
||||
cursor: help;
|
||||
}
|
||||
address {
|
||||
display: block;
|
||||
margin: 0 0 1.625em;
|
||||
}
|
||||
del {
|
||||
color: #333;
|
||||
}
|
||||
ins {
|
||||
background: #fff9c0;
|
||||
border: none;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
sup,
|
||||
sub {
|
||||
font-size: 10px;
|
||||
height: 0;
|
||||
line-height: 1;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
sup {
|
||||
bottom: 1ex;
|
||||
}
|
||||
sub {
|
||||
top: .5ex;
|
||||
}
|
||||
input[type=text],
|
||||
textarea {
|
||||
background: #fafafa;
|
||||
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
|
||||
border: 1px solid #ddd;
|
||||
color: #888;
|
||||
}
|
||||
input[type=text]:focus,
|
||||
textarea:focus {
|
||||
color: #333;
|
||||
}
|
||||
textarea {
|
||||
padding-left: 3px;
|
||||
width: 98%;
|
||||
}
|
||||
input[type=text] {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
a,
|
||||
a em,
|
||||
a strong {
|
||||
color: #1b8be0;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:focus,
|
||||
a:active,
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Alignment */
|
||||
.alignleft {
|
||||
display: inline;
|
||||
float: left;
|
||||
margin-right: 1.625em;
|
||||
}
|
||||
.alignright {
|
||||
display: inline;
|
||||
float: right;
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
.aligncenter {
|
||||
clear: both;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
table {
|
||||
border: none !important;
|
||||
border-bottom: 1px solid #ddd !important;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
text-align: left;
|
||||
margin: 0 0 1.625em;
|
||||
width: 100%;
|
||||
}
|
||||
tr th {
|
||||
border: none !important;
|
||||
color: #666;
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.1em;
|
||||
line-height: 2.6em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
td {
|
||||
border: none !important;
|
||||
border-top: 1px solid #ddd !important;
|
||||
padding: 6px 10px 6px 0;
|
||||
}
|
||||
|
||||
/* Images */
|
||||
img.size-full {
|
||||
width: auto; /* Prevent stretching of full-size images in IE8 */
|
||||
}
|
||||
img.wp-smiley {
|
||||
border: none;
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
p img,
|
||||
.wp-caption {
|
||||
margin-top: 0.4em;
|
||||
}
|
||||
img {
|
||||
border: 1px solid #ddd;
|
||||
padding: 6px;
|
||||
height: auto;
|
||||
max-width: 97.5%;
|
||||
max-width: calc( 100% - 14px );
|
||||
}
|
||||
img.alignleft,
|
||||
img.alignright,
|
||||
img.aligncenter {
|
||||
margin-bottom: 1.625em;
|
||||
}
|
||||
.wp-caption {
|
||||
background: #eee;
|
||||
border: none;
|
||||
margin-bottom: 1.625em;
|
||||
max-width: 96%;
|
||||
max-width: calc( 100% - 22px );
|
||||
padding: 9px 11px;
|
||||
}
|
||||
.wp-caption img {
|
||||
display: block;
|
||||
margin: 0 -2px;
|
||||
max-width: 98%;
|
||||
max-width: calc( 100% - 10px );
|
||||
border-color: #eee;
|
||||
}
|
||||
.wp-caption .wp-caption-dd {
|
||||
color: #666;
|
||||
font-family: Georgia, serif;
|
||||
font-size: 12px;
|
||||
margin-bottom: 0.6em;
|
||||
padding: 10px 0 5px 40px;
|
||||
position: relative;
|
||||
}
|
||||
.wp-caption .wp-caption-dd:before {
|
||||
color: #666;
|
||||
content: '\2014';
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 7px;
|
||||
}
|
||||
a:focus img,
|
||||
a:hover img,
|
||||
a:active img {
|
||||
background: #eee;
|
||||
border-color: #bbb;
|
||||
}
|
||||
.wp-caption a:focus img,
|
||||
.wp-caption a:active img,
|
||||
.wp-caption a:hover img {
|
||||
background: #fff;
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,44 +1,47 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying the footer
|
||||
*
|
||||
* Contains the closing of the id=main div and all content after
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
</div><!-- #main -->
|
||||
|
||||
<footer id="colophon" role="contentinfo">
|
||||
|
||||
<?php
|
||||
/*
|
||||
* A sidebar in the footer? Yep. You can customize
|
||||
* your footer with three columns of widgets.
|
||||
*/
|
||||
if ( ! is_404() ) {
|
||||
get_sidebar( 'footer' );
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="site-generator">
|
||||
<?php do_action( 'twentyeleven_credits' ); ?>
|
||||
<?php
|
||||
if ( function_exists( 'the_privacy_policy_link' ) ) {
|
||||
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>">
|
||||
<?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
</div><!-- #page -->
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying the footer
|
||||
*
|
||||
* Contains the closing of the id=main div and all content after
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
</div><!-- #main -->
|
||||
|
||||
<footer id="colophon" role="contentinfo">
|
||||
|
||||
<?php
|
||||
/*
|
||||
* A sidebar in the footer? Yep. You can customize
|
||||
* your footer with three columns of widgets.
|
||||
*/
|
||||
if ( ! is_404() ) {
|
||||
get_sidebar( 'footer' );
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="site-generator">
|
||||
<?php do_action( 'twentyeleven_credits' ); ?>
|
||||
<?php
|
||||
if ( function_exists( 'the_privacy_policy_link' ) ) {
|
||||
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>">
|
||||
<?php
|
||||
/* translators: %s: WordPress */
|
||||
printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' );
|
||||
?>
|
||||
</a>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
</div><!-- #page -->
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,155 +1,160 @@
|
|||
<?php
|
||||
/**
|
||||
* Header template for the theme
|
||||
*
|
||||
* Displays all of the <head> section and everything up till <div id="main">.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?><!DOCTYPE html>
|
||||
<!--[if IE 6]>
|
||||
<html id="ie6" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if IE 7]>
|
||||
<html id="ie7" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if IE 8]>
|
||||
<html id="ie8" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if !(IE 6) & !(IE 7) & !(IE 8)]><!-->
|
||||
<html <?php language_attributes(); ?>>
|
||||
<!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>
|
||||
<?php
|
||||
// Print the <title> tag based on what is being viewed.
|
||||
global $page, $paged;
|
||||
|
||||
wp_title( '|', true, 'right' );
|
||||
|
||||
// Add the blog name.
|
||||
bloginfo( 'name' );
|
||||
|
||||
// Add the blog description for the home/front page.
|
||||
$site_description = get_bloginfo( 'description', 'display' );
|
||||
if ( $site_description && ( is_home() || is_front_page() ) ) {
|
||||
echo " | $site_description";
|
||||
}
|
||||
|
||||
// Add a page number if necessary:
|
||||
if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
|
||||
echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ) );
|
||||
}
|
||||
|
||||
?>
|
||||
</title>
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
|
||||
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
|
||||
<![endif]-->
|
||||
<?php
|
||||
/*
|
||||
* We add some JavaScript to pages with the comment form
|
||||
* to support sites with threaded comments (when in use).
|
||||
*/
|
||||
if ( is_singular() && get_option( 'thread_comments' ) ) {
|
||||
wp_enqueue_script( 'comment-reply' );
|
||||
}
|
||||
|
||||
/*
|
||||
* Always have wp_head() just before the closing </head>
|
||||
* tag of your theme, or you will break many plugins, which
|
||||
* generally use this hook to add elements to <head> such
|
||||
* as styles, scripts, and meta tags.
|
||||
*/
|
||||
wp_head();
|
||||
?>
|
||||
</head>
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
<div id="page" class="hfeed">
|
||||
<header id="branding" role="banner">
|
||||
<hgroup>
|
||||
<h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
|
||||
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
|
||||
</hgroup>
|
||||
|
||||
<?php
|
||||
// Check to see if the header image has been removed
|
||||
$header_image = get_header_image();
|
||||
if ( $header_image ) :
|
||||
// Compatibility with versions of WordPress prior to 3.4.
|
||||
if ( function_exists( 'get_custom_header' ) ) {
|
||||
/*
|
||||
* We need to figure out what the minimum width should be for our featured image.
|
||||
* This result would be the suggested width if the theme were to implement flexible widths.
|
||||
*/
|
||||
$header_image_width = get_theme_support( 'custom-header', 'width' );
|
||||
} else {
|
||||
$header_image_width = HEADER_IMAGE_WIDTH;
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<?php
|
||||
/*
|
||||
* The header image.
|
||||
* Check if this is a post or page, if it has a thumbnail, and if it's a big one
|
||||
*/
|
||||
if ( is_singular() && has_post_thumbnail( $post->ID ) &&
|
||||
( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) ) ) &&
|
||||
$image[1] >= $header_image_width ) :
|
||||
// Houston, we have a new header image!
|
||||
echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
|
||||
else :
|
||||
// Compatibility with versions of WordPress prior to 3.4.
|
||||
if ( function_exists( 'get_custom_header' ) ) {
|
||||
$header_image_width = get_custom_header()->width;
|
||||
$header_image_height = get_custom_header()->height;
|
||||
} else {
|
||||
$header_image_width = HEADER_IMAGE_WIDTH;
|
||||
$header_image_height = HEADER_IMAGE_HEIGHT;
|
||||
}
|
||||
?>
|
||||
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( $header_image_width ); ?>" height="<?php echo esc_attr( $header_image_height ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" />
|
||||
<?php endif; // end check for featured image or standard header ?>
|
||||
</a>
|
||||
<?php endif; // end check for removed header image ?>
|
||||
|
||||
<?php
|
||||
// Has the text been hidden?
|
||||
if ( 'blank' == get_header_textcolor() ) :
|
||||
$header_image_class = '';
|
||||
if ( $header_image ) {
|
||||
$header_image_class = ' with-image';
|
||||
}
|
||||
?>
|
||||
<div class="only-search<?php echo $header_image_class; ?>">
|
||||
<?php get_search_form(); ?>
|
||||
</div>
|
||||
<?php
|
||||
else :
|
||||
?>
|
||||
<?php get_search_form(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<nav id="access" role="navigation">
|
||||
<h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3>
|
||||
<?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?>
|
||||
<div class="skip-link"><a class="assistive-text" href="#content"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div>
|
||||
<?php if ( ! is_singular() ) : ?>
|
||||
<div class="skip-link"><a class="assistive-text" href="#secondary"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div>
|
||||
<?php endif; ?>
|
||||
<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assigned to the primary location is the one used. If one isn't assigned, the menu with the lowest ID is used. */ ?>
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
|
||||
</nav><!-- #access -->
|
||||
</header><!-- #branding -->
|
||||
|
||||
|
||||
<div id="main">
|
||||
<?php
|
||||
/**
|
||||
* Header template for the theme
|
||||
*
|
||||
* Displays all of the <head> section and everything up till <div id="main">.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?><!DOCTYPE html>
|
||||
<!--[if IE 6]>
|
||||
<html id="ie6" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if IE 7]>
|
||||
<html id="ie7" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if IE 8]>
|
||||
<html id="ie8" <?php language_attributes(); ?>>
|
||||
<![endif]-->
|
||||
<!--[if !(IE 6) & !(IE 7) & !(IE 8)]><!-->
|
||||
<html <?php language_attributes(); ?>>
|
||||
<!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>
|
||||
<?php
|
||||
// Print the <title> tag based on what is being viewed.
|
||||
global $page, $paged;
|
||||
|
||||
wp_title( '|', true, 'right' );
|
||||
|
||||
// Add the blog name.
|
||||
bloginfo( 'name' );
|
||||
|
||||
// Add the blog description for the home/front page.
|
||||
$site_description = get_bloginfo( 'description', 'display' );
|
||||
if ( $site_description && ( is_home() || is_front_page() ) ) {
|
||||
echo " | $site_description";
|
||||
}
|
||||
|
||||
// Add a page number if necessary:
|
||||
if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
|
||||
/* translators: %s: Page number. */
|
||||
echo esc_html( ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ) );
|
||||
}
|
||||
|
||||
?>
|
||||
</title>
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>?ver=20190507" />
|
||||
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js?ver=3.7.0" type="text/javascript"></script>
|
||||
<![endif]-->
|
||||
<?php
|
||||
/*
|
||||
* We add some JavaScript to pages with the comment form
|
||||
* to support sites with threaded comments (when in use).
|
||||
*/
|
||||
if ( is_singular() && get_option( 'thread_comments' ) ) {
|
||||
wp_enqueue_script( 'comment-reply' );
|
||||
}
|
||||
|
||||
/*
|
||||
* Always have wp_head() just before the closing </head>
|
||||
* tag of your theme, or you will break many plugins, which
|
||||
* generally use this hook to add elements to <head> such
|
||||
* as styles, scripts, and meta tags.
|
||||
*/
|
||||
wp_head();
|
||||
?>
|
||||
</head>
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
<div id="page" class="hfeed">
|
||||
<header id="branding" role="banner">
|
||||
<hgroup>
|
||||
<h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
|
||||
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
|
||||
</hgroup>
|
||||
|
||||
<?php
|
||||
// Check to see if the header image has been removed.
|
||||
$header_image = get_header_image();
|
||||
if ( $header_image ) :
|
||||
// Compatibility with versions of WordPress prior to 3.4.
|
||||
if ( function_exists( 'get_custom_header' ) ) {
|
||||
/*
|
||||
* We need to figure out what the minimum width should be for our featured image.
|
||||
* This result would be the suggested width if the theme were to implement flexible widths.
|
||||
*/
|
||||
$header_image_width = get_theme_support( 'custom-header', 'width' );
|
||||
} else {
|
||||
$header_image_width = HEADER_IMAGE_WIDTH;
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<?php
|
||||
/*
|
||||
* The header image.
|
||||
* Check if this is a post or page, if it has a thumbnail, and if it's a big one
|
||||
*/
|
||||
if ( is_singular() && has_post_thumbnail( $post->ID ) ) {
|
||||
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) );
|
||||
if ( $image && $image[1] >= $header_image_width ) {
|
||||
// Houston, we have a new header image!
|
||||
echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
|
||||
}
|
||||
} else {
|
||||
// Compatibility with versions of WordPress prior to 3.4.
|
||||
if ( function_exists( 'get_custom_header' ) ) {
|
||||
$header_image_width = get_custom_header()->width;
|
||||
$header_image_height = get_custom_header()->height;
|
||||
} else {
|
||||
$header_image_width = HEADER_IMAGE_WIDTH;
|
||||
$header_image_height = HEADER_IMAGE_HEIGHT;
|
||||
}
|
||||
?>
|
||||
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( $header_image_width ); ?>" height="<?php echo esc_attr( $header_image_height ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" />
|
||||
<?php
|
||||
} // End check for featured image or standard header.
|
||||
?>
|
||||
</a>
|
||||
<?php endif; // End check for removed header image. ?>
|
||||
|
||||
<?php
|
||||
// Has the text been hidden?
|
||||
if ( 'blank' == get_header_textcolor() ) :
|
||||
$header_image_class = '';
|
||||
if ( $header_image ) {
|
||||
$header_image_class = ' with-image';
|
||||
}
|
||||
?>
|
||||
<div class="only-search<?php echo $header_image_class; ?>">
|
||||
<?php get_search_form(); ?>
|
||||
</div>
|
||||
<?php
|
||||
else :
|
||||
?>
|
||||
<?php get_search_form(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<nav id="access" role="navigation">
|
||||
<h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3>
|
||||
<?php
|
||||
/*
|
||||
* Our navigation menu. If one isn't filled out, wp_nav_menu() falls back to wp_page_menu().
|
||||
* The menu assigned to the primary location is the one used.
|
||||
* If one isn't assigned, the menu with the lowest ID is used.
|
||||
*/
|
||||
wp_nav_menu( array( 'theme_location' => 'primary' ) );
|
||||
?>
|
||||
</nav><!-- #access -->
|
||||
</header><!-- #branding -->
|
||||
|
||||
|
||||
<div id="main">
|
||||
|
|
|
|||
|
|
@ -1,137 +1,140 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying image attachments
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="image-attachment">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<nav id="nav-single">
|
||||
<h3 class="assistive-text"><?php _e( 'Image navigation', 'twentyeleven' ); ?></h3>
|
||||
<span class="nav-previous"><?php previous_image_link( false, __( '← Previous', 'twentyeleven' ) ); ?></span>
|
||||
<span class="nav-next"><?php next_image_link( false, __( 'Next →', 'twentyeleven' ) ); ?></span>
|
||||
</nav><!-- #nav-single -->
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php
|
||||
$metadata = wp_get_attachment_metadata();
|
||||
printf(
|
||||
__( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s × %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>', 'twentyeleven' ),
|
||||
esc_attr( get_the_time() ),
|
||||
get_the_date(),
|
||||
esc_url( wp_get_attachment_url() ),
|
||||
$metadata['width'],
|
||||
$metadata['height'],
|
||||
esc_url( get_permalink( $post->post_parent ) ),
|
||||
esc_attr( strip_tags( get_the_title( $post->post_parent ) ) ),
|
||||
get_the_title( $post->post_parent )
|
||||
);
|
||||
?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
|
||||
<div class="entry-attachment">
|
||||
<div class="attachment">
|
||||
<?php
|
||||
/*
|
||||
* Grab the IDs of all the image attachments in a gallery so we can get the URL of the next adjacent image in a gallery,
|
||||
* or the first image (if we're looking at the last image in a gallery), or, in a gallery of one, just the link to that image file
|
||||
*/
|
||||
$attachments = array_values(
|
||||
get_children(
|
||||
array(
|
||||
'post_parent' => $post->post_parent,
|
||||
'post_status' => 'inherit',
|
||||
'post_type' => 'attachment',
|
||||
'post_mime_type' => 'image',
|
||||
'order' => 'ASC',
|
||||
'orderby' => 'menu_order ID',
|
||||
)
|
||||
)
|
||||
);
|
||||
foreach ( $attachments as $k => $attachment ) {
|
||||
if ( $attachment->ID == $post->ID ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// If there is more than 1 attachment in a gallery
|
||||
if ( count( $attachments ) > 1 ) {
|
||||
$k++;
|
||||
if ( isset( $attachments[ $k ] ) ) {
|
||||
// get the URL of the next image attachment
|
||||
$next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
|
||||
} else { // or get the URL of the first image attachment
|
||||
$next_attachment_url = get_attachment_link( $attachments[0]->ID );
|
||||
}
|
||||
} else {
|
||||
// or, if there's only 1 image, get the URL of the image
|
||||
$next_attachment_url = wp_get_attachment_url();
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment">
|
||||
<?php
|
||||
/**
|
||||
* Filter the Twenty Eleven default attachment size.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param int The height and width attachment size dimensions in pixels. Default 848.
|
||||
*/
|
||||
$attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 );
|
||||
echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height.
|
||||
?>
|
||||
</a>
|
||||
|
||||
<?php if ( ! empty( $post->post_excerpt ) ) : ?>
|
||||
<div class="entry-caption">
|
||||
<?php the_excerpt(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div><!-- .attachment -->
|
||||
|
||||
</div><!-- .entry-attachment -->
|
||||
|
||||
<div class="entry-description">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-description -->
|
||||
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php comments_template(); ?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying image attachments
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="image-attachment">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<nav id="nav-single">
|
||||
<h3 class="assistive-text"><?php _e( 'Image navigation', 'twentyeleven' ); ?></h3>
|
||||
<span class="nav-previous"><?php previous_image_link( false, __( '← Previous', 'twentyeleven' ) ); ?></span>
|
||||
<span class="nav-next"><?php next_image_link( false, __( 'Next →', 'twentyeleven' ) ); ?></span>
|
||||
</nav><!-- #nav-single -->
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
|
||||
<div class="entry-meta">
|
||||
<?php
|
||||
$metadata = wp_get_attachment_metadata();
|
||||
printf(
|
||||
/* translators: 1: Time, 2: Date, 3: Image permalink, 4: Image width, 5: Image height, 6: Parent permalink, 7: Parent post title, 8: Parent post title. */
|
||||
__( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s × %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>', 'twentyeleven' ),
|
||||
esc_attr( get_the_time() ),
|
||||
get_the_date(),
|
||||
esc_url( wp_get_attachment_url() ),
|
||||
$metadata['width'],
|
||||
$metadata['height'],
|
||||
esc_url( get_permalink( $post->post_parent ) ),
|
||||
esc_attr( strip_tags( get_the_title( $post->post_parent ) ) ),
|
||||
get_the_title( $post->post_parent )
|
||||
);
|
||||
?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
|
||||
<div class="entry-attachment">
|
||||
<div class="attachment">
|
||||
<?php
|
||||
/*
|
||||
* Grab the IDs of all the image attachments in a gallery so we can get the URL of the next adjacent image in a gallery,
|
||||
* or the first image (if we're looking at the last image in a gallery), or, in a gallery of one, just the link to that image file
|
||||
*/
|
||||
$attachments = array_values(
|
||||
get_children(
|
||||
array(
|
||||
'post_parent' => $post->post_parent,
|
||||
'post_status' => 'inherit',
|
||||
'post_type' => 'attachment',
|
||||
'post_mime_type' => 'image',
|
||||
'order' => 'ASC',
|
||||
'orderby' => 'menu_order ID',
|
||||
)
|
||||
)
|
||||
);
|
||||
foreach ( $attachments as $k => $attachment ) {
|
||||
if ( $attachment->ID == $post->ID ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// If there is more than 1 attachment in a gallery...
|
||||
if ( count( $attachments ) > 1 ) {
|
||||
$k++;
|
||||
if ( isset( $attachments[ $k ] ) ) {
|
||||
// ...get the URL of the next image attachment.
|
||||
$next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
|
||||
} else {
|
||||
// ...or get the URL of the first image attachment.
|
||||
$next_attachment_url = get_attachment_link( $attachments[0]->ID );
|
||||
}
|
||||
} else {
|
||||
// Or, if there's only 1 image, get the URL of the image.
|
||||
$next_attachment_url = wp_get_attachment_url();
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment">
|
||||
<?php
|
||||
/**
|
||||
* Filter the Twenty Eleven default attachment size.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param int The height and width attachment size dimensions in pixels. Default 848.
|
||||
*/
|
||||
$attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 );
|
||||
// Filterable image width with 1024px limit for image height.
|
||||
echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) );
|
||||
?>
|
||||
</a>
|
||||
|
||||
<?php if ( ! empty( $post->post_excerpt ) ) : ?>
|
||||
<div class="entry-caption">
|
||||
<?php the_excerpt(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div><!-- .attachment -->
|
||||
|
||||
</div><!-- .entry-attachment -->
|
||||
|
||||
<div class="entry-description">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-description -->
|
||||
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php comments_template(); ?>
|
||||
|
||||
<?php endwhile; // End of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,30 +1,30 @@
|
|||
( function( $ ){
|
||||
wp.customize( 'blogname', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
$( '#site-title a' ).text( to );
|
||||
} );
|
||||
} );
|
||||
wp.customize( 'blogdescription', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
$( '#site-description' ).text( to );
|
||||
} );
|
||||
} );
|
||||
|
||||
// Header text color
|
||||
wp.customize( 'header_textcolor', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
if ( 'blank' === to ) {
|
||||
$( '#site-title, #site-title a, #site-description' ).css( {
|
||||
'clip': 'rect(1px, 1px, 1px, 1px)',
|
||||
'position': 'absolute'
|
||||
} );
|
||||
} else {
|
||||
$( '#site-title, #site-title a, #site-description' ).css( {
|
||||
'clip': 'auto',
|
||||
'color': to,
|
||||
'position': 'relative'
|
||||
} );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
( function( $ ){
|
||||
wp.customize( 'blogname', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
$( '#site-title a' ).text( to );
|
||||
} );
|
||||
} );
|
||||
wp.customize( 'blogdescription', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
$( '#site-description' ).text( to );
|
||||
} );
|
||||
} );
|
||||
|
||||
// Header text color.
|
||||
wp.customize( 'header_textcolor', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
if ( 'blank' === to ) {
|
||||
$( '#site-title, #site-title a, #site-description' ).css( {
|
||||
'clip': 'rect(1px, 1px, 1px, 1px)',
|
||||
'position': 'absolute'
|
||||
} );
|
||||
} else {
|
||||
$( '#site-title, #site-title a, #site-description' ).css( {
|
||||
'clip': 'auto',
|
||||
'color': to,
|
||||
'position': 'relative'
|
||||
} );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
} )( jQuery );
|
||||
|
|
@ -1,35 +1,35 @@
|
|||
#wpcontent select option {
|
||||
padding-right: 5px;
|
||||
}
|
||||
.image-radio-option td {
|
||||
padding-top: 15px;
|
||||
}
|
||||
.image-radio-option label {
|
||||
display: block;
|
||||
float: left;
|
||||
margin: 0 30px 20px 2px;
|
||||
position: relative;
|
||||
}
|
||||
.image-radio-option input {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.image-radio-option span {
|
||||
display: block;
|
||||
width: 136px;
|
||||
}
|
||||
.image-radio-option img {
|
||||
margin: 0 0 0 -2px;
|
||||
}
|
||||
#link-color-example {
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #dfdfdf;
|
||||
margin: 0 7px 0 3px;
|
||||
padding: 4px 14px;
|
||||
}
|
||||
|
||||
body.rtl .image-radio-option label {
|
||||
float: right;
|
||||
margin: 0 2px 20px 30px;
|
||||
}
|
||||
#wpcontent select option {
|
||||
padding-right: 5px;
|
||||
}
|
||||
.image-radio-option td {
|
||||
padding-top: 15px;
|
||||
}
|
||||
.image-radio-option label {
|
||||
display: block;
|
||||
float: left;
|
||||
margin: 0 30px 20px 2px;
|
||||
position: relative;
|
||||
}
|
||||
.image-radio-option input {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.image-radio-option span {
|
||||
display: block;
|
||||
width: 136px;
|
||||
}
|
||||
.image-radio-option img {
|
||||
margin: 0 0 0 -2px;
|
||||
}
|
||||
#link-color-example {
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #dfdfdf;
|
||||
margin: 0 7px 0 3px;
|
||||
padding: 4px 14px;
|
||||
}
|
||||
|
||||
body.rtl .image-radio-option label {
|
||||
float: right;
|
||||
margin: 0 2px 20px 30px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,52 +1,52 @@
|
|||
var farbtastic;
|
||||
|
||||
(function($){
|
||||
var pickColor = function(a) {
|
||||
farbtastic.setColor(a);
|
||||
$('#link-color').val(a);
|
||||
$('#link-color-example').css('background-color', a);
|
||||
};
|
||||
|
||||
$(document).ready( function() {
|
||||
$('#default-color').wrapInner('<a href="#" />');
|
||||
|
||||
farbtastic = $.farbtastic('#colorPickerDiv', pickColor);
|
||||
|
||||
pickColor( $('#link-color').val() );
|
||||
|
||||
$('.pickcolor').click( function(e) {
|
||||
$('#colorPickerDiv').show();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('#link-color').keyup( function() {
|
||||
var a = $('#link-color').val(),
|
||||
b = a;
|
||||
|
||||
a = a.replace(/[^a-fA-F0-9]/, '');
|
||||
if ( '#' + a !== b )
|
||||
$('#link-color').val(a);
|
||||
if ( a.length === 3 || a.length === 6 )
|
||||
pickColor( '#' + a );
|
||||
});
|
||||
|
||||
$(document).mousedown( function() {
|
||||
$('#colorPickerDiv').hide();
|
||||
});
|
||||
|
||||
$('#default-color a').click( function(e) {
|
||||
pickColor( '#' + this.innerHTML.replace(/[^a-fA-F0-9]/, '') );
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('.image-radio-option.color-scheme input:radio').change( function() {
|
||||
var currentDefault = $('#default-color a'),
|
||||
newDefault = $(this).next().val();
|
||||
|
||||
if ( $('#link-color').val() == currentDefault.text() )
|
||||
pickColor( newDefault );
|
||||
|
||||
currentDefault.text( newDefault );
|
||||
});
|
||||
});
|
||||
var farbtastic;
|
||||
|
||||
(function($){
|
||||
var pickColor = function(a) {
|
||||
farbtastic.setColor(a);
|
||||
$('#link-color').val(a);
|
||||
$('#link-color-example').css('background-color', a);
|
||||
};
|
||||
|
||||
$(document).ready( function() {
|
||||
$('#default-color').wrapInner('<a href="#" />');
|
||||
|
||||
farbtastic = $.farbtastic('#colorPickerDiv', pickColor);
|
||||
|
||||
pickColor( $('#link-color').val() );
|
||||
|
||||
$('.pickcolor').click( function(e) {
|
||||
$('#colorPickerDiv').show();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('#link-color').keyup( function() {
|
||||
var a = $('#link-color').val(),
|
||||
b = a;
|
||||
|
||||
a = a.replace(/[^a-fA-F0-9]/, '');
|
||||
if ( '#' + a !== b )
|
||||
$('#link-color').val(a);
|
||||
if ( a.length === 3 || a.length === 6 )
|
||||
pickColor( '#' + a );
|
||||
});
|
||||
|
||||
$(document).mousedown( function() {
|
||||
$('#colorPickerDiv').hide();
|
||||
});
|
||||
|
||||
$('#default-color a').click( function(e) {
|
||||
pickColor( '#' + this.innerHTML.replace(/[^a-fA-F0-9]/, '') );
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$('.image-radio-option.color-scheme input:radio').change( function() {
|
||||
var currentDefault = $('#default-color a'),
|
||||
newDefault = $(this).next().val();
|
||||
|
||||
if ( $('#link-color').val() == currentDefault.text() )
|
||||
pickColor( newDefault );
|
||||
|
||||
currentDefault.text( newDefault );
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,200 +1,202 @@
|
|||
<?php
|
||||
/**
|
||||
* Widget For displaying post format posts
|
||||
*
|
||||
* Handles displaying Aside, Link, Status, and Quote Posts available with Twenty Eleven.
|
||||
*
|
||||
* @link https://codex.wordpress.org/Widgets_API#Developing_Widgets
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
|
||||
|
||||
/**
|
||||
* PHP5 constructor.
|
||||
*
|
||||
* @since Twenty Eleven 2.2
|
||||
*/
|
||||
function __construct() {
|
||||
parent::__construct(
|
||||
'widget_twentyeleven_ephemera',
|
||||
__( 'Twenty Eleven Ephemera', 'twentyeleven' ),
|
||||
array(
|
||||
'classname' => 'widget_twentyeleven_ephemera',
|
||||
'description' => __( 'Use this widget to list your recent Aside, Status, Quote, and Link posts', 'twentyeleven' ),
|
||||
'customize_selective_refresh' => true,
|
||||
)
|
||||
);
|
||||
$this->alt_option_name = 'widget_twentyeleven_ephemera';
|
||||
|
||||
add_action( 'save_post', array( &$this, 'flush_widget_cache' ) );
|
||||
add_action( 'deleted_post', array( &$this, 'flush_widget_cache' ) );
|
||||
add_action( 'switch_theme', array( &$this, 'flush_widget_cache' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* PHP4 constructor.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
function Twenty_Eleven_Ephemera_Widget() {
|
||||
self::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs the HTML for this widget.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param array $args An array of standard parameters for widgets in this theme.
|
||||
* @param array $instance An array of settings for this widget instance.
|
||||
*/
|
||||
function widget( $args, $instance ) {
|
||||
$cache = wp_cache_get( 'widget_twentyeleven_ephemera', 'widget' );
|
||||
|
||||
if ( ! is_array( $cache ) ) {
|
||||
$cache = array();
|
||||
}
|
||||
|
||||
if ( ! isset( $args['widget_id'] ) ) {
|
||||
$args['widget_id'] = null;
|
||||
}
|
||||
|
||||
if ( ! is_customize_preview() && isset( $cache[ $args['widget_id'] ] ) ) {
|
||||
echo $cache[ $args['widget_id'] ];
|
||||
return;
|
||||
}
|
||||
|
||||
ob_start();
|
||||
|
||||
/** This filter is documented in wp-includes/default-widgets.php */
|
||||
$args['title'] = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Ephemera', 'twentyeleven' ) : $instance['title'], $instance, $this->id_base );
|
||||
|
||||
if ( ! isset( $instance['number'] ) ) {
|
||||
$instance['number'] = '10';
|
||||
}
|
||||
|
||||
if ( ! $args['number'] = absint( $instance['number'] ) ) {
|
||||
$args['number'] = 10;
|
||||
}
|
||||
|
||||
$ephemera_args = array(
|
||||
'order' => 'DESC',
|
||||
'posts_per_page' => $args['number'],
|
||||
'no_found_rows' => true,
|
||||
'post_status' => 'publish',
|
||||
'post__not_in' => get_option( 'sticky_posts' ),
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'post_format',
|
||||
'terms' => array( 'post-format-aside', 'post-format-link', 'post-format-status', 'post-format-quote' ),
|
||||
'field' => 'slug',
|
||||
'operator' => 'IN',
|
||||
),
|
||||
),
|
||||
);
|
||||
$ephemera = new WP_Query( $ephemera_args );
|
||||
|
||||
if ( $ephemera->have_posts() ) :
|
||||
echo $args['before_widget'];
|
||||
echo $args['before_title'];
|
||||
echo $args['title'];
|
||||
echo $args['after_title'];
|
||||
?>
|
||||
<ol>
|
||||
<?php
|
||||
while ( $ephemera->have_posts() ) :
|
||||
$ephemera->the_post();
|
||||
?>
|
||||
|
||||
<?php if ( 'link' != get_post_format() ) : ?>
|
||||
|
||||
<li class="widget-entry-title">
|
||||
<a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark"><?php the_title(); ?></a>
|
||||
<span class="comments-link">
|
||||
<?php comments_popup_link( __( '0 <span class="reply">comments →</span>', 'twentyeleven' ), __( '1 <span class="reply">comment →</span>', 'twentyeleven' ), __( '% <span class="reply">comments →</span>', 'twentyeleven' ) ); ?>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<li class="widget-entry-title">
|
||||
<a href="<?php echo esc_url( twentyeleven_get_first_url() ); ?>" rel="bookmark"><?php the_title(); ?> <span>→</span></a>
|
||||
<span class="comments-link">
|
||||
<?php comments_popup_link( __( '0 <span class="reply">comments →</span>', 'twentyeleven' ), __( '1 <span class="reply">comment →</span>', 'twentyeleven' ), __( '% <span class="reply">comments →</span>', 'twentyeleven' ) ); ?>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
</ol>
|
||||
<?php
|
||||
|
||||
echo $args['after_widget'];
|
||||
|
||||
// Reset the post globals as this query will have stomped on it
|
||||
wp_reset_postdata();
|
||||
|
||||
// end check for ephemeral posts
|
||||
endif;
|
||||
|
||||
$cache[ $args['widget_id'] ] = ob_get_flush();
|
||||
if ( ! is_customize_preview() ) {
|
||||
wp_cache_set( 'widget_twentyeleven_ephemera', $cache, 'widget' );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Update widget settings.
|
||||
*
|
||||
* Deals with the settings when they are saved by the admin. Here is
|
||||
* where any validation should be dealt with.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
function update( $new_instance, $old_instance ) {
|
||||
$instance = $old_instance;
|
||||
$instance['title'] = strip_tags( $new_instance['title'] );
|
||||
$instance['number'] = (int) $new_instance['number'];
|
||||
$this->flush_widget_cache();
|
||||
|
||||
$alloptions = wp_cache_get( 'alloptions', 'options' );
|
||||
if ( isset( $alloptions['widget_twentyeleven_ephemera'] ) ) {
|
||||
delete_option( 'widget_twentyeleven_ephemera' );
|
||||
}
|
||||
|
||||
return $instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Flush widget cache.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
function flush_widget_cache() {
|
||||
wp_cache_delete( 'widget_twentyeleven_ephemera', 'widget' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up the widget form.
|
||||
*
|
||||
* Displays the form for this widget on the Widgets page of the WP Admin area.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
function form( $instance ) {
|
||||
$title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : '';
|
||||
$number = isset( $instance['number'] ) ? absint( $instance['number'] ) : 10;
|
||||
?>
|
||||
<p><label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'twentyeleven' ); ?></label>
|
||||
<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></p>
|
||||
|
||||
<p><label for="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>"><?php _e( 'Number of posts to show:', 'twentyeleven' ); ?></label>
|
||||
<input id="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $number ); ?>" size="3" /></p>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
<?php
|
||||
/**
|
||||
* Widget For displaying post format posts
|
||||
*
|
||||
* Handles displaying Aside, Link, Status, and Quote Posts available with Twenty Eleven.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/functionality/widgets/#developing-widgets
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
|
||||
|
||||
/**
|
||||
* PHP5 constructor.
|
||||
*
|
||||
* @since Twenty Eleven 2.2
|
||||
*/
|
||||
function __construct() {
|
||||
parent::__construct(
|
||||
'widget_twentyeleven_ephemera',
|
||||
__( 'Twenty Eleven Ephemera', 'twentyeleven' ),
|
||||
array(
|
||||
'classname' => 'widget_twentyeleven_ephemera',
|
||||
'description' => __( 'Use this widget to list your recent Aside, Status, Quote, and Link posts', 'twentyeleven' ),
|
||||
'customize_selective_refresh' => true,
|
||||
)
|
||||
);
|
||||
$this->alt_option_name = 'widget_twentyeleven_ephemera';
|
||||
|
||||
add_action( 'save_post', array( &$this, 'flush_widget_cache' ) );
|
||||
add_action( 'deleted_post', array( &$this, 'flush_widget_cache' ) );
|
||||
add_action( 'switch_theme', array( &$this, 'flush_widget_cache' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* PHP4 constructor.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
* @deprecated Twenty Eleven 2.2
|
||||
*/
|
||||
function Twenty_Eleven_Ephemera_Widget() {
|
||||
self::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs the HTML for this widget.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param array $args An array of standard parameters for widgets in this theme.
|
||||
* @param array $instance An array of settings for this widget instance.
|
||||
*/
|
||||
function widget( $args, $instance ) {
|
||||
$cache = wp_cache_get( 'widget_twentyeleven_ephemera', 'widget' );
|
||||
|
||||
if ( ! is_array( $cache ) ) {
|
||||
$cache = array();
|
||||
}
|
||||
|
||||
if ( ! isset( $args['widget_id'] ) ) {
|
||||
$args['widget_id'] = null;
|
||||
}
|
||||
|
||||
if ( ! is_customize_preview() && isset( $cache[ $args['widget_id'] ] ) ) {
|
||||
echo $cache[ $args['widget_id'] ];
|
||||
return;
|
||||
}
|
||||
|
||||
ob_start();
|
||||
|
||||
/** This filter is documented in wp-includes/default-widgets.php */
|
||||
$args['title'] = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Ephemera', 'twentyeleven' ) : $instance['title'], $instance, $this->id_base );
|
||||
|
||||
if ( ! isset( $instance['number'] ) ) {
|
||||
$instance['number'] = '10';
|
||||
}
|
||||
|
||||
$args['number'] = absint( $instance['number'] );
|
||||
if ( ! $args['number'] ) {
|
||||
$args['number'] = 10;
|
||||
}
|
||||
|
||||
$ephemera_args = array(
|
||||
'order' => 'DESC',
|
||||
'posts_per_page' => $args['number'],
|
||||
'no_found_rows' => true,
|
||||
'post_status' => 'publish',
|
||||
'post__not_in' => get_option( 'sticky_posts' ),
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'post_format',
|
||||
'terms' => array( 'post-format-aside', 'post-format-link', 'post-format-status', 'post-format-quote' ),
|
||||
'field' => 'slug',
|
||||
'operator' => 'IN',
|
||||
),
|
||||
),
|
||||
);
|
||||
$ephemera = new WP_Query( $ephemera_args );
|
||||
|
||||
if ( $ephemera->have_posts() ) :
|
||||
echo $args['before_widget'];
|
||||
echo $args['before_title'];
|
||||
echo $args['title'];
|
||||
echo $args['after_title'];
|
||||
?>
|
||||
<ol>
|
||||
<?php
|
||||
while ( $ephemera->have_posts() ) :
|
||||
$ephemera->the_post();
|
||||
?>
|
||||
|
||||
<?php if ( 'link' != get_post_format() ) : ?>
|
||||
|
||||
<li class="widget-entry-title">
|
||||
<a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark"><?php the_title(); ?></a>
|
||||
<span class="comments-link">
|
||||
<?php comments_popup_link( __( '0 <span class="reply">comments →</span>', 'twentyeleven' ), __( '1 <span class="reply">comment →</span>', 'twentyeleven' ), __( '% <span class="reply">comments →</span>', 'twentyeleven' ) ); ?>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<li class="widget-entry-title">
|
||||
<a href="<?php echo esc_url( twentyeleven_get_first_url() ); ?>" rel="bookmark"><?php the_title(); ?> <span>→</span></a>
|
||||
<span class="comments-link">
|
||||
<?php comments_popup_link( __( '0 <span class="reply">comments →</span>', 'twentyeleven' ), __( '1 <span class="reply">comment →</span>', 'twentyeleven' ), __( '% <span class="reply">comments →</span>', 'twentyeleven' ) ); ?>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
</ol>
|
||||
<?php
|
||||
|
||||
echo $args['after_widget'];
|
||||
|
||||
// Reset the post globals as this query will have stomped on it.
|
||||
wp_reset_postdata();
|
||||
|
||||
// End check for ephemeral posts.
|
||||
endif;
|
||||
|
||||
$cache[ $args['widget_id'] ] = ob_get_flush();
|
||||
if ( ! is_customize_preview() ) {
|
||||
wp_cache_set( 'widget_twentyeleven_ephemera', $cache, 'widget' );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Update widget settings.
|
||||
*
|
||||
* Deals with the settings when they are saved by the admin. Here is
|
||||
* where any validation should be dealt with.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
function update( $new_instance, $old_instance ) {
|
||||
$instance = $old_instance;
|
||||
$instance['title'] = strip_tags( $new_instance['title'] );
|
||||
$instance['number'] = (int) $new_instance['number'];
|
||||
$this->flush_widget_cache();
|
||||
|
||||
$alloptions = wp_cache_get( 'alloptions', 'options' );
|
||||
if ( isset( $alloptions['widget_twentyeleven_ephemera'] ) ) {
|
||||
delete_option( 'widget_twentyeleven_ephemera' );
|
||||
}
|
||||
|
||||
return $instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Flush widget cache.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
function flush_widget_cache() {
|
||||
wp_cache_delete( 'widget_twentyeleven_ephemera', 'widget' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up the widget form.
|
||||
*
|
||||
* Displays the form for this widget on the Widgets page of the WP Admin area.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
function form( $instance ) {
|
||||
$title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : '';
|
||||
$number = isset( $instance['number'] ) ? absint( $instance['number'] ) : 10;
|
||||
?>
|
||||
<p><label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'twentyeleven' ); ?></label>
|
||||
<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></p>
|
||||
|
||||
<p><label for="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>"><?php _e( 'Number of posts to show:', 'twentyeleven' ); ?></label>
|
||||
<input id="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $number ); ?>" size="3" /></p>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,55 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Main template file
|
||||
*
|
||||
* This is the most generic template file in a WordPress theme
|
||||
* and one of the two required files for a theme (the other being style.css).
|
||||
* It is used to display a page when nothing more specific matches a query.
|
||||
* E.g., it puts together the home page when no home.php file exists.
|
||||
* Learn more: https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php get_template_part( 'content', get_post_format() ); ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Main template file
|
||||
*
|
||||
* This is the most generic template file in a WordPress theme
|
||||
* and one of the two required files for a theme (the other being style.css).
|
||||
* It is used to display a page when nothing more specific matches a query.
|
||||
* E.g., it puts together the home page when no home.php file exists.
|
||||
* Learn more: https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php
|
||||
// Start the Loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php get_template_part( 'content', get_post_format() ); ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
||||
*/
|
||||
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
|
||||
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";
|
||||
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
|
||||
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);
|
||||
/*
|
||||
HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
||||
*/
|
||||
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
|
||||
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";
|
||||
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
|
||||
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);
|
||||
if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
|
||||
|
|
@ -1,17 +1,17 @@
|
|||
(function($) {
|
||||
$(document).ready( function() {
|
||||
$('.feature-slider a').click(function(e) {
|
||||
$('.featured-posts section.featured-post').css({
|
||||
opacity: 0,
|
||||
visibility: 'hidden'
|
||||
});
|
||||
$(this.hash).css({
|
||||
opacity: 1,
|
||||
visibility: 'visible'
|
||||
});
|
||||
$('.feature-slider a').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
||||
(function($) {
|
||||
$(document).ready( function() {
|
||||
$('.feature-slider a').click(function(e) {
|
||||
$('.featured-posts section.featured-post').css({
|
||||
opacity: 0,
|
||||
visibility: 'hidden'
|
||||
});
|
||||
$(this.hash).css({
|
||||
opacity: 1,
|
||||
visibility: 'visible'
|
||||
});
|
||||
$('.feature-slider a').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
e.preventDefault();
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,281 +1,281 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,34 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying all pages
|
||||
*
|
||||
* This is the template that displays all pages by default.
|
||||
* Please note that this is the WordPress construct of pages
|
||||
* and that other 'pages' on your WordPress site will use a
|
||||
* different template.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php get_template_part( 'content', 'page' ); ?>
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying all pages
|
||||
*
|
||||
* This is the template that displays all pages by default.
|
||||
* Please note that this is the WordPress construct of pages
|
||||
* and that other 'pages' on your WordPress site will use a
|
||||
* different template.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php get_template_part( 'content', 'page' ); ?>
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; // End of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,160 +1,164 @@
|
|||
=== Twenty Eleven ===
|
||||
Contributors: wordpressdotorg
|
||||
Requires at least: WordPress 3.2
|
||||
Tested up to: WordPress 5.0
|
||||
Requires PHP: 5.2.4
|
||||
Stable tag: 3.3
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
|
||||
|
||||
== Description ==
|
||||
The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
|
||||
|
||||
For more information about Twenty Eleven please go to https://codex.wordpress.org/Twenty_Eleven.
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
|
||||
2. Type in Twenty Eleven in the search form and press the 'Enter' key in your keyboard.
|
||||
3. Click on the 'Activate' button to use your new theme right away.
|
||||
4. Go to https://codex.wordpress.org/Twenty_Eleven for a guide to customize this theme.
|
||||
5. Navigate to Appearance > Customize in your admin panel.
|
||||
|
||||
== Copyright ==
|
||||
|
||||
Twenty Eleven WordPress Theme, Copyright 2011-2018 WordPress.org & Automattic.com
|
||||
Twenty Eleven is Distributed under the terms of the GNU GPL
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Twenty Eleven Theme bundles the following third-party resources:
|
||||
|
||||
HTML5 Shiv v3.7.0, Copyright 2014 Alexander Farkas
|
||||
Licenses: MIT/GPL2
|
||||
Source: https://github.com/aFarkas/html5shiv
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 3.3 =
|
||||
* Released: May 7, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.3
|
||||
|
||||
= 3.2 =
|
||||
* Released: February 21, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.2
|
||||
|
||||
= 3.1 =
|
||||
* Released: January 9, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.1
|
||||
|
||||
= 3.0 =
|
||||
* Released: December 19, 2018
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.0
|
||||
|
||||
= 2.9 =
|
||||
* Released: December 6, 2018
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.9
|
||||
|
||||
= 2.8 =
|
||||
* Released: May 17, 2018
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.8
|
||||
|
||||
= 2.7 =
|
||||
* Released: November 14, 2017
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.7
|
||||
|
||||
= 2.6 =
|
||||
* Released: June 8, 2017
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.6
|
||||
|
||||
= 2.5 =
|
||||
* Released: August 15, 2016
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.5
|
||||
|
||||
= 2.4 =
|
||||
* Released: April 12, 2016
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.4
|
||||
|
||||
= 2.3 =
|
||||
* Released: December 8, 2015
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.3
|
||||
|
||||
= 2.2 =
|
||||
* Released: August 18, 2015
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.2
|
||||
|
||||
= 2.1 =
|
||||
* Released: April 23, 2015
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.1
|
||||
|
||||
= 2.0 =
|
||||
* Released: December 18, 2014
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.0
|
||||
|
||||
= 1.9 =
|
||||
* Released: September 4, 2014
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.9
|
||||
|
||||
= 1.8 =
|
||||
* Released: May 8, 2014
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.8
|
||||
|
||||
= 1.7 =
|
||||
* Released: October 24, 2013
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.7
|
||||
|
||||
= 1.6 =
|
||||
* Released: August 1, 2013
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.6
|
||||
|
||||
= 1.5 =
|
||||
* Released: December 11, 2012
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.5
|
||||
|
||||
= 1.4 =
|
||||
* Released: June 13, 2012
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.4
|
||||
|
||||
= 1.3 =
|
||||
* Released: December 12, 2011
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.3
|
||||
|
||||
= 1.2 =
|
||||
* Released: July 12, 2011
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.2
|
||||
|
||||
= 1.1 =
|
||||
* Released: July 4, 2011
|
||||
|
||||
Initial release.
|
||||
=== Twenty Eleven ===
|
||||
Contributors: wordpressdotorg
|
||||
Requires at least: WordPress 3.2
|
||||
Tested up to: 5.0
|
||||
Stable tag: 3.4
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
|
||||
|
||||
== Description ==
|
||||
The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
|
||||
|
||||
For more information about Twenty Eleven please go to https://codex.wordpress.org/Twenty_Eleven.
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
|
||||
2. Type in Twenty Eleven in the search form and press the 'Enter' key in your keyboard.
|
||||
3. Click on the 'Activate' button to use your new theme right away.
|
||||
4. Go to https://codex.wordpress.org/Twenty_Eleven for a guide to customize this theme.
|
||||
5. Navigate to Appearance > Customize in your admin panel.
|
||||
|
||||
== Copyright ==
|
||||
|
||||
Twenty Eleven WordPress Theme, Copyright 2011-2020 WordPress.org & Automattic.com
|
||||
Twenty Eleven is Distributed under the terms of the GNU GPL
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Twenty Eleven Theme bundles the following third-party resources:
|
||||
|
||||
HTML5 Shiv v3.7.0, Copyright 2014 Alexander Farkas
|
||||
Licenses: MIT/GPL2
|
||||
Source: https://github.com/aFarkas/html5shiv
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 3.4 =
|
||||
* Released: March 31, 2020
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.4
|
||||
|
||||
= 3.3 =
|
||||
* Released: May 7, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.3
|
||||
|
||||
= 3.2 =
|
||||
* Released: February 21, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.2
|
||||
|
||||
= 3.1 =
|
||||
* Released: January 9, 2019
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.1
|
||||
|
||||
= 3.0 =
|
||||
* Released: December 19, 2018
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_3.0
|
||||
|
||||
= 2.9 =
|
||||
* Released: December 6, 2018
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.9
|
||||
|
||||
= 2.8 =
|
||||
* Released: May 17, 2018
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.8
|
||||
|
||||
= 2.7 =
|
||||
* Released: November 14, 2017
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.7
|
||||
|
||||
= 2.6 =
|
||||
* Released: June 8, 2017
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.6
|
||||
|
||||
= 2.5 =
|
||||
* Released: August 15, 2016
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.5
|
||||
|
||||
= 2.4 =
|
||||
* Released: April 12, 2016
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.4
|
||||
|
||||
= 2.3 =
|
||||
* Released: December 8, 2015
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.3
|
||||
|
||||
= 2.2 =
|
||||
* Released: August 18, 2015
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.2
|
||||
|
||||
= 2.1 =
|
||||
* Released: April 23, 2015
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.1
|
||||
|
||||
= 2.0 =
|
||||
* Released: December 18, 2014
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_2.0
|
||||
|
||||
= 1.9 =
|
||||
* Released: September 4, 2014
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.9
|
||||
|
||||
= 1.8 =
|
||||
* Released: May 8, 2014
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.8
|
||||
|
||||
= 1.7 =
|
||||
* Released: October 24, 2013
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.7
|
||||
|
||||
= 1.6 =
|
||||
* Released: August 1, 2013
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.6
|
||||
|
||||
= 1.5 =
|
||||
* Released: December 11, 2012
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.5
|
||||
|
||||
= 1.4 =
|
||||
* Released: June 13, 2012
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.4
|
||||
|
||||
= 1.3 =
|
||||
* Released: December 12, 2011
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.3
|
||||
|
||||
= 1.2 =
|
||||
* Released: July 12, 2011
|
||||
|
||||
https://codex.wordpress.org/Twenty_Eleven_Theme_Changelog#Version_1.2
|
||||
|
||||
= 1.1 =
|
||||
* Released: July 4, 2011
|
||||
|
||||
Initial release.
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,62 +1,67 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying Search Results pages
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyeleven' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that
|
||||
* will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying Search Results pages
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">
|
||||
<?php
|
||||
/* translators: %s: Search query. */
|
||||
printf( __( 'Search Results for: %s', 'twentyeleven' ), '<span>' . get_search_query() . '</span>' );
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php
|
||||
// Start the Loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that
|
||||
* will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying search forms in Twenty Eleven
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label>
|
||||
<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
|
||||
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
|
||||
</form>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying search forms in Twenty Eleven
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label>
|
||||
<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
|
||||
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,248 +1,254 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Showcase Template
|
||||
*
|
||||
* Description: A Page Template that showcases Sticky Posts, Asides, and Blog Posts.
|
||||
*
|
||||
* The showcase template in Twenty Eleven consists of a featured posts section using sticky posts,
|
||||
* another recent posts area (with the latest post shown in full and the rest as a list)
|
||||
* and a left sidebar holding aside posts.
|
||||
*
|
||||
* We are creating two queries to fetch the proper posts and a custom widget for the sidebar.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
// Enqueue showcase script for the slider
|
||||
wp_enqueue_script( 'twentyeleven-showcase', get_template_directory_uri() . '/js/showcase.js', array( 'jquery' ), '2011-04-28' );
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="showcase">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* We are using a heading by rendering the_content
|
||||
* If we have content for this page, let's display it.
|
||||
*/
|
||||
if ( '' != get_the_content() ) {
|
||||
get_template_part( 'content', 'intro' );
|
||||
}
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Begin the featured posts section.
|
||||
*
|
||||
* See if we have any sticky posts and use them to create our featured posts.
|
||||
* We limit the featured posts at ten.
|
||||
*/
|
||||
$sticky = get_option( 'sticky_posts' );
|
||||
|
||||
// Proceed only if sticky posts exist.
|
||||
if ( ! empty( $sticky ) ) :
|
||||
|
||||
$featured_args = array(
|
||||
'post__in' => $sticky,
|
||||
'post_status' => 'publish',
|
||||
'posts_per_page' => 10,
|
||||
'no_found_rows' => true,
|
||||
);
|
||||
|
||||
// The Featured Posts query.
|
||||
$featured = new WP_Query( $featured_args );
|
||||
|
||||
// Proceed only if published posts exist
|
||||
if ( $featured->have_posts() ) :
|
||||
|
||||
/*
|
||||
* We will need to count featured posts starting from zero
|
||||
* to create the slider navigation.
|
||||
*/
|
||||
$counter_slider = 0;
|
||||
|
||||
// Compatibility with versions of WordPress prior to 3.4.
|
||||
if ( function_exists( 'get_custom_header' ) ) {
|
||||
$header_image_width = get_theme_support( 'custom-header', 'width' );
|
||||
} else {
|
||||
$header_image_width = HEADER_IMAGE_WIDTH;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="featured-posts">
|
||||
<h1 class="showcase-heading"><?php _e( 'Featured Post', 'twentyeleven' ); ?></h1>
|
||||
|
||||
<?php
|
||||
// Let's roll.
|
||||
while ( $featured->have_posts() ) :
|
||||
$featured->the_post();
|
||||
|
||||
// Increase the counter.
|
||||
$counter_slider++;
|
||||
|
||||
/*
|
||||
* We're going to add a class to our featured post for featured images
|
||||
* by default it'll have the feature-text class.
|
||||
*/
|
||||
$feature_class = 'feature-text';
|
||||
|
||||
if ( has_post_thumbnail() ) {
|
||||
// ... but if it has a featured image let's add some class
|
||||
$feature_class = 'feature-image small';
|
||||
|
||||
// Hang on. Let's check this here image out.
|
||||
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) );
|
||||
|
||||
// Is it bigger than or equal to our header?
|
||||
if ( $image[1] >= $header_image_width ) {
|
||||
// If bigger, let's add a BIGGER class. It's EXTRA classy now.
|
||||
$feature_class = 'feature-image large';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<section class="featured-post <?php echo esc_attr( $feature_class ); ?>" id="featured-post-<?php echo esc_attr( $counter_slider ); ?>">
|
||||
|
||||
<?php
|
||||
/*
|
||||
* If the thumbnail is as big as the header image
|
||||
* make it a large featured post, otherwise render it small
|
||||
*/
|
||||
if ( has_post_thumbnail() ) {
|
||||
if ( $image[1] >= $header_image_width ) {
|
||||
$thumbnail_size = 'large-feature';
|
||||
} else {
|
||||
$thumbnail_size = 'small-feature';
|
||||
}
|
||||
?>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php get_template_part( 'content', 'featured' ); ?>
|
||||
</section>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php
|
||||
// Show slider only if we have more than one featured post.
|
||||
if ( $featured->post_count > 1 ) :
|
||||
?>
|
||||
<nav class="feature-slider">
|
||||
<ul>
|
||||
<?php
|
||||
|
||||
// Reset the counter so that we end up with matching elements
|
||||
$counter_slider = 0;
|
||||
|
||||
// Begin from zero
|
||||
rewind_posts();
|
||||
|
||||
// Let's roll again.
|
||||
while ( $featured->have_posts() ) :
|
||||
$featured->the_post();
|
||||
$counter_slider++;
|
||||
if ( 1 == $counter_slider ) {
|
||||
$class = ' class="active"';
|
||||
} else {
|
||||
$class = '';
|
||||
}
|
||||
?>
|
||||
<li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>"<?php echo $class; ?>></a></li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
</nav>
|
||||
<?php endif; // End check for more than one sticky post. ?>
|
||||
</div><!-- .featured-posts -->
|
||||
<?php endif; // End check for published posts. ?>
|
||||
<?php endif; // End check for sticky posts. ?>
|
||||
|
||||
<section class="recent-posts">
|
||||
<h1 class="showcase-heading"><?php _e( 'Recent Posts', 'twentyeleven' ); ?></h1>
|
||||
|
||||
<?php
|
||||
|
||||
// Display our recent posts, showing full content for the very latest, ignoring Aside posts.
|
||||
$recent_args = array(
|
||||
'order' => 'DESC',
|
||||
'post__not_in' => get_option( 'sticky_posts' ),
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'post_format',
|
||||
'terms' => array( 'post-format-aside', 'post-format-link', 'post-format-quote', 'post-format-status' ),
|
||||
'field' => 'slug',
|
||||
'operator' => 'NOT IN',
|
||||
),
|
||||
),
|
||||
'no_found_rows' => true,
|
||||
);
|
||||
|
||||
// Our new query for the Recent Posts section.
|
||||
$recent = new WP_Query( $recent_args );
|
||||
|
||||
// The first Recent post is displayed normally
|
||||
if ( $recent->have_posts() ) :
|
||||
$recent->the_post();
|
||||
|
||||
// Set $more to 0 in order to only get the first part of the post.
|
||||
global $more;
|
||||
$more = 0;
|
||||
|
||||
get_template_part( 'content', get_post_format() );
|
||||
|
||||
echo '<ol class="other-recent-posts">';
|
||||
|
||||
endif;
|
||||
|
||||
// For all other recent posts, just display the title and comment status.
|
||||
while ( $recent->have_posts() ) :
|
||||
$recent->the_post();
|
||||
?>
|
||||
|
||||
<li class="entry-title">
|
||||
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
|
||||
<span class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<?php
|
||||
endwhile;
|
||||
|
||||
// If we had some posts, close the <ol>
|
||||
if ( $recent->post_count > 0 ) {
|
||||
echo '</ol>';
|
||||
}
|
||||
?>
|
||||
</section><!-- .recent-posts -->
|
||||
|
||||
<div class="widget-area" role="complementary">
|
||||
<?php if ( ! dynamic_sidebar( 'sidebar-2' ) ) : ?>
|
||||
|
||||
<?php
|
||||
the_widget(
|
||||
'Twenty_Eleven_Ephemera_Widget',
|
||||
'',
|
||||
array(
|
||||
'before_title' => '<h3 class="widget-title">',
|
||||
'after_title' => '</h3>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
||||
<?php endif; // end sidebar widget area ?>
|
||||
</div><!-- .widget-area -->
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template Name: Showcase Template
|
||||
*
|
||||
* Description: A Page Template that showcases Sticky Posts, Asides, and Blog Posts.
|
||||
*
|
||||
* The showcase template in Twenty Eleven consists of a featured posts section using sticky posts,
|
||||
* another recent posts area (with the latest post shown in full and the rest as a list)
|
||||
* and a left sidebar holding aside posts.
|
||||
*
|
||||
* We are creating two queries to fetch the proper posts and a custom widget for the sidebar.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
// Enqueue showcase script for the slider.
|
||||
wp_enqueue_script( 'twentyeleven-showcase', get_template_directory_uri() . '/js/showcase.js', array( 'jquery' ), '20110429' );
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="showcase">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* We are using a heading by rendering the_content
|
||||
* If we have content for this page, let's display it.
|
||||
*/
|
||||
if ( '' != get_the_content() ) {
|
||||
get_template_part( 'content', 'intro' );
|
||||
}
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Begin the featured posts section.
|
||||
*
|
||||
* See if we have any sticky posts and use them to create our featured posts.
|
||||
* We limit the featured posts at ten.
|
||||
*/
|
||||
$sticky = get_option( 'sticky_posts' );
|
||||
|
||||
// Proceed only if sticky posts exist.
|
||||
if ( ! empty( $sticky ) ) :
|
||||
|
||||
$featured_args = array(
|
||||
'post__in' => $sticky,
|
||||
'post_status' => 'publish',
|
||||
'posts_per_page' => 10,
|
||||
'no_found_rows' => true,
|
||||
);
|
||||
|
||||
// The Featured Posts query.
|
||||
$featured = new WP_Query( $featured_args );
|
||||
|
||||
// Proceed only if published posts exist.
|
||||
if ( $featured->have_posts() ) :
|
||||
|
||||
/*
|
||||
* We will need to count featured posts starting from zero
|
||||
* to create the slider navigation.
|
||||
*/
|
||||
$counter_slider = 0;
|
||||
|
||||
// Compatibility with versions of WordPress prior to 3.4.
|
||||
if ( function_exists( 'get_custom_header' ) ) {
|
||||
$header_image_width = get_theme_support( 'custom-header', 'width' );
|
||||
} else {
|
||||
$header_image_width = HEADER_IMAGE_WIDTH;
|
||||
}
|
||||
?>
|
||||
|
||||
<div class="featured-posts">
|
||||
<h1 class="showcase-heading"><?php _e( 'Featured Post', 'twentyeleven' ); ?></h1>
|
||||
|
||||
<?php
|
||||
// Let's roll.
|
||||
while ( $featured->have_posts() ) :
|
||||
$featured->the_post();
|
||||
|
||||
// Increase the counter.
|
||||
$counter_slider++;
|
||||
|
||||
/*
|
||||
* We're going to add a class to our featured post for featured images.
|
||||
* By default it will have the feature-text class.
|
||||
*/
|
||||
$feature_class = 'feature-text';
|
||||
|
||||
if ( has_post_thumbnail() ) {
|
||||
// ...but if it has a featured image let's add some class.
|
||||
$feature_class = 'feature-image small';
|
||||
|
||||
// Hang on. Let's check this here image out.
|
||||
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) );
|
||||
|
||||
// Is it bigger than or equal to our header?
|
||||
if ( $image[1] >= $header_image_width ) {
|
||||
// If bigger, let's add a BIGGER class. It's EXTRA classy now.
|
||||
$feature_class = 'feature-image large';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<section class="featured-post <?php echo esc_attr( $feature_class ); ?>" id="featured-post-<?php echo esc_attr( $counter_slider ); ?>">
|
||||
|
||||
<?php
|
||||
/*
|
||||
* If the thumbnail is as big as the header image
|
||||
* make it a large featured post, otherwise render it small
|
||||
*/
|
||||
if ( has_post_thumbnail() ) {
|
||||
if ( $image[1] >= $header_image_width ) {
|
||||
$thumbnail_size = 'large-feature';
|
||||
} else {
|
||||
$thumbnail_size = 'small-feature';
|
||||
}
|
||||
|
||||
/* translators: %s: Post title. */
|
||||
$title = sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) );
|
||||
?>
|
||||
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( $title ); ?>" rel="bookmark"><?php the_post_thumbnail( $thumbnail_size ); ?></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php get_template_part( 'content', 'featured' ); ?>
|
||||
</section>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php
|
||||
// Show slider only if we have more than one featured post.
|
||||
if ( $featured->post_count > 1 ) :
|
||||
?>
|
||||
<nav class="feature-slider">
|
||||
<ul>
|
||||
<?php
|
||||
|
||||
// Reset the counter so that we end up with matching elements.
|
||||
$counter_slider = 0;
|
||||
|
||||
// Begin from zero.
|
||||
rewind_posts();
|
||||
|
||||
// Let's roll again.
|
||||
while ( $featured->have_posts() ) :
|
||||
$featured->the_post();
|
||||
$counter_slider++;
|
||||
if ( 1 == $counter_slider ) {
|
||||
$class = ' class="active"';
|
||||
} else {
|
||||
$class = '';
|
||||
}
|
||||
|
||||
/* translators: %s: Post title. */
|
||||
$title = sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) );
|
||||
?>
|
||||
<li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( $title ); ?>"<?php echo $class; ?>></a></li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
</nav>
|
||||
<?php endif; // End check for more than one sticky post. ?>
|
||||
</div><!-- .featured-posts -->
|
||||
<?php endif; // End check for published posts. ?>
|
||||
<?php endif; // End check for sticky posts. ?>
|
||||
|
||||
<section class="recent-posts">
|
||||
<h1 class="showcase-heading"><?php _e( 'Recent Posts', 'twentyeleven' ); ?></h1>
|
||||
|
||||
<?php
|
||||
|
||||
// Display our recent posts, showing full content for the very latest, ignoring Aside posts.
|
||||
$recent_args = array(
|
||||
'order' => 'DESC',
|
||||
'post__not_in' => get_option( 'sticky_posts' ),
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'post_format',
|
||||
'terms' => array( 'post-format-aside', 'post-format-link', 'post-format-quote', 'post-format-status' ),
|
||||
'field' => 'slug',
|
||||
'operator' => 'NOT IN',
|
||||
),
|
||||
),
|
||||
'no_found_rows' => true,
|
||||
);
|
||||
|
||||
// Our new query for the Recent Posts section.
|
||||
$recent = new WP_Query( $recent_args );
|
||||
|
||||
// The first Recent post is displayed normally.
|
||||
if ( $recent->have_posts() ) :
|
||||
$recent->the_post();
|
||||
|
||||
// Set $more to 0 in order to only get the first part of the post.
|
||||
global $more;
|
||||
$more = 0;
|
||||
|
||||
get_template_part( 'content', get_post_format() );
|
||||
|
||||
echo '<ol class="other-recent-posts">';
|
||||
|
||||
endif;
|
||||
|
||||
// For all other recent posts, just display the title and comment status.
|
||||
while ( $recent->have_posts() ) :
|
||||
$recent->the_post();
|
||||
?>
|
||||
|
||||
<li class="entry-title">
|
||||
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
|
||||
<span class="comments-link">
|
||||
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<?php
|
||||
endwhile;
|
||||
|
||||
// If we had some posts, close the <ol>.
|
||||
if ( $recent->post_count > 0 ) {
|
||||
echo '</ol>';
|
||||
}
|
||||
?>
|
||||
</section><!-- .recent-posts -->
|
||||
|
||||
<div class="widget-area" role="complementary">
|
||||
<?php if ( ! dynamic_sidebar( 'sidebar-2' ) ) : ?>
|
||||
|
||||
<?php
|
||||
the_widget(
|
||||
'Twenty_Eleven_Ephemera_Widget',
|
||||
'',
|
||||
array(
|
||||
'before_title' => '<h3 class="widget-title">',
|
||||
'after_title' => '</h3>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
||||
<?php endif; // End sidebar widget area. ?>
|
||||
</div><!-- .widget-area -->
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,44 +1,44 @@
|
|||
<?php
|
||||
/**
|
||||
* Footer widget areas
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* The footer widget area is triggered if any of the areas
|
||||
* have widgets. So let's check that first.
|
||||
*
|
||||
* If none of the sidebars have widgets, then let's bail early.
|
||||
*/
|
||||
if ( ! is_active_sidebar( 'sidebar-3' )
|
||||
&& ! is_active_sidebar( 'sidebar-4' )
|
||||
&& ! is_active_sidebar( 'sidebar-5' )
|
||||
) {
|
||||
return;
|
||||
}
|
||||
// If we get this far, we have widgets. Let do this.
|
||||
?>
|
||||
<div id="supplementary" <?php twentyeleven_footer_sidebar_class(); ?>>
|
||||
<?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
|
||||
<div id="first" class="widget-area" role="complementary">
|
||||
<?php dynamic_sidebar( 'sidebar-3' ); ?>
|
||||
</div><!-- #first .widget-area -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'sidebar-4' ) ) : ?>
|
||||
<div id="second" class="widget-area" role="complementary">
|
||||
<?php dynamic_sidebar( 'sidebar-4' ); ?>
|
||||
</div><!-- #second .widget-area -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>
|
||||
<div id="third" class="widget-area" role="complementary">
|
||||
<?php dynamic_sidebar( 'sidebar-5' ); ?>
|
||||
</div><!-- #third .widget-area -->
|
||||
<?php endif; ?>
|
||||
</div><!-- #supplementary -->
|
||||
<?php
|
||||
/**
|
||||
* Footer widget areas
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* The footer widget area is triggered if any of the areas
|
||||
* have widgets. So let's check that first.
|
||||
*
|
||||
* If none of the sidebars have widgets, then let's bail early.
|
||||
*/
|
||||
if ( ! is_active_sidebar( 'sidebar-3' )
|
||||
&& ! is_active_sidebar( 'sidebar-4' )
|
||||
&& ! is_active_sidebar( 'sidebar-5' )
|
||||
) {
|
||||
return;
|
||||
}
|
||||
// If we get this far, we have widgets. Let do this.
|
||||
?>
|
||||
<div id="supplementary" <?php twentyeleven_footer_sidebar_class(); ?>>
|
||||
<?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
|
||||
<div id="first" class="widget-area" role="complementary">
|
||||
<?php dynamic_sidebar( 'sidebar-3' ); ?>
|
||||
</div><!-- #first .widget-area -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'sidebar-4' ) ) : ?>
|
||||
<div id="second" class="widget-area" role="complementary">
|
||||
<?php dynamic_sidebar( 'sidebar-4' ); ?>
|
||||
</div><!-- #second .widget-area -->
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>
|
||||
<div id="third" class="widget-area" role="complementary">
|
||||
<?php dynamic_sidebar( 'sidebar-5' ); ?>
|
||||
</div><!-- #third .widget-area -->
|
||||
<?php endif; ?>
|
||||
</div><!-- #supplementary -->
|
||||
|
|
|
|||
|
|
@ -1,32 +1,32 @@
|
|||
<?php
|
||||
/**
|
||||
* Template Name: Sidebar Template
|
||||
*
|
||||
* Description: A Page Template that adds a sidebar to pages.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php get_template_part( 'content', 'page' ); ?>
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template Name: Sidebar Template
|
||||
*
|
||||
* Description: A Page Template that adds a sidebar to pages.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php get_template_part( 'content', 'page' ); ?>
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; // End of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,36 +1,36 @@
|
|||
<?php
|
||||
/**
|
||||
* Sidebar containing the main widget area
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
$options = twentyeleven_get_theme_options();
|
||||
$current_layout = $options['theme_layout'];
|
||||
|
||||
if ( 'content' != $current_layout ) :
|
||||
?>
|
||||
<div id="secondary" class="widget-area" role="complementary">
|
||||
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
|
||||
|
||||
<aside id="archives" class="widget">
|
||||
<h3 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h3>
|
||||
<ul>
|
||||
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<aside id="meta" class="widget">
|
||||
<h3 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h3>
|
||||
<ul>
|
||||
<?php wp_register(); ?>
|
||||
<li><?php wp_loginout(); ?></li>
|
||||
<?php wp_meta(); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<?php endif; // end sidebar widget area ?>
|
||||
</div><!-- #secondary .widget-area -->
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
/**
|
||||
* Sidebar containing the main widget area
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
$options = twentyeleven_get_theme_options();
|
||||
$current_layout = $options['theme_layout'];
|
||||
|
||||
if ( 'content' != $current_layout ) :
|
||||
?>
|
||||
<div id="secondary" class="widget-area" role="complementary">
|
||||
<?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
|
||||
|
||||
<aside id="archives" class="widget">
|
||||
<h3 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h3>
|
||||
<ul>
|
||||
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<aside id="meta" class="widget">
|
||||
<h3 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h3>
|
||||
<ul>
|
||||
<?php wp_register(); ?>
|
||||
<li><?php wp_loginout(); ?></li>
|
||||
<?php wp_meta(); ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
||||
<?php endif; // End sidebar widget area. ?>
|
||||
</div><!-- #secondary .widget-area -->
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
<?php
|
||||
/**
|
||||
* Template for displaying all single posts
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<nav id="nav-single">
|
||||
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
|
||||
<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous', 'twentyeleven' ) ); ?></span>
|
||||
<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></span>
|
||||
</nav><!-- #nav-single -->
|
||||
|
||||
<?php get_template_part( 'content-single', get_post_format() ); ?>
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template for displaying all single posts
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<nav id="nav-single">
|
||||
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
|
||||
<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous', 'twentyeleven' ) ); ?></span>
|
||||
<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></span>
|
||||
</nav><!-- #nav-single -->
|
||||
|
||||
<?php get_template_part( 'content-single', get_post_format() ); ?>
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; // End of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,80 +1,81 @@
|
|||
<?php
|
||||
/**
|
||||
* Template used to display Tag Archive pages
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">
|
||||
<?php
|
||||
printf( __( 'Tag Archives: %s', 'twentyeleven' ), '<span>' . single_tag_title( '', false ) . '</span>' );
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<?php
|
||||
$tag_description = tag_description();
|
||||
if ( ! empty( $tag_description ) ) {
|
||||
/**
|
||||
* Filter the default Twenty Eleven tag description.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param string The default tag description.
|
||||
*/
|
||||
echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
|
||||
}
|
||||
?>
|
||||
</header>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php /* Start the Loop */ ?>
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that
|
||||
* will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* Template used to display Tag Archive pages
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Eleven
|
||||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary">
|
||||
<div id="content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="page-title">
|
||||
<?php
|
||||
/* translators: %s: Tag title. */
|
||||
printf( __( 'Tag Archives: %s', 'twentyeleven' ), '<span>' . single_tag_title( '', false ) . '</span>' );
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<?php
|
||||
$tag_description = tag_description();
|
||||
if ( ! empty( $tag_description ) ) {
|
||||
/**
|
||||
* Filter the default Twenty Eleven tag description.
|
||||
*
|
||||
* @since Twenty Eleven 1.0
|
||||
*
|
||||
* @param string The default tag description.
|
||||
*/
|
||||
echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
|
||||
}
|
||||
?>
|
||||
</header>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-above' ); ?>
|
||||
|
||||
<?php
|
||||
// Start the Loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to overload this in a child theme then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that
|
||||
* will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php twentyeleven_content_nav( 'nav-below' ); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<article id="post-0" class="post no-results not-found">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,30 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying 404 pages (not found)
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<section class="error-404 not-found">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php _e( 'Oops! That page can’t be found.', 'twentyfifteen' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div class="page-content">
|
||||
<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyfifteen' ); ?></p>
|
||||
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .page-content -->
|
||||
</section><!-- .error-404 -->
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying 404 pages (not found)
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<section class="error-404 not-found">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php _e( 'Oops! That page can’t be found.', 'twentyfifteen' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div class="page-content">
|
||||
<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyfifteen' ); ?></p>
|
||||
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .page-content -->
|
||||
</section><!-- .error-404 -->
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,67 +1,67 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying archive pages
|
||||
*
|
||||
* Used to display archive-type pages if nothing more specific matches a query.
|
||||
* For example, puts together date-based pages if no date.php file exists.
|
||||
*
|
||||
* If you'd like to further customize these archive views, you may create a
|
||||
* new template file for each one. For example, tag.php (Tag archives),
|
||||
* category.php (Category archives), author.php (Author archives), etc.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<?php
|
||||
the_archive_title( '<h1 class="page-title">', '</h1>' );
|
||||
the_archive_description( '<div class="taxonomy-description">', '</div>' );
|
||||
?>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<?php
|
||||
// Start the Loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
|
||||
// Previous/next page navigation.
|
||||
the_posts_pagination(
|
||||
array(
|
||||
'prev_text' => __( 'Previous page', 'twentyfifteen' ),
|
||||
'next_text' => __( 'Next page', 'twentyfifteen' ),
|
||||
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
|
||||
)
|
||||
);
|
||||
|
||||
// If no content, include the "No posts found" template.
|
||||
else :
|
||||
get_template_part( 'content', 'none' );
|
||||
|
||||
endif;
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</section><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying archive pages
|
||||
*
|
||||
* Used to display archive-type pages if nothing more specific matches a query.
|
||||
* For example, puts together date-based pages if no date.php file exists.
|
||||
*
|
||||
* If you'd like to further customize these archive views, you may create a
|
||||
* new template file for each one. For example, tag.php (Tag archives),
|
||||
* category.php (Category archives), author.php (Author archives), etc.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<?php
|
||||
the_archive_title( '<h1 class="page-title">', '</h1>' );
|
||||
the_archive_description( '<div class="taxonomy-description">', '</div>' );
|
||||
?>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<?php
|
||||
// Start the loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
/*
|
||||
* Include the post format-specific template for the content. If you want
|
||||
* to use this in a child theme, then include a file called content-___.php
|
||||
* (where ___ is the post format) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
|
||||
// Previous/next page navigation.
|
||||
the_posts_pagination(
|
||||
array(
|
||||
'prev_text' => __( 'Previous page', 'twentyfifteen' ),
|
||||
'next_text' => __( 'Next page', 'twentyfifteen' ),
|
||||
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
|
||||
)
|
||||
);
|
||||
|
||||
// If no content, include the "No posts found" template.
|
||||
else :
|
||||
get_template_part( 'content', 'none' );
|
||||
|
||||
endif;
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</section><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,39 +1,42 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying Author bios
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="author-info">
|
||||
<h2 class="author-heading"><?php _e( 'Published by', 'twentyfifteen' ); ?></h2>
|
||||
<div class="author-avatar">
|
||||
<?php
|
||||
/**
|
||||
* Filter the author bio avatar size.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @param int $size The avatar height and width size in pixels.
|
||||
*/
|
||||
$author_bio_avatar_size = apply_filters( 'twentyfifteen_author_bio_avatar_size', 56 );
|
||||
|
||||
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
|
||||
?>
|
||||
</div><!-- .author-avatar -->
|
||||
|
||||
<div class="author-description">
|
||||
<h3 class="author-title"><?php echo get_the_author(); ?></h3>
|
||||
|
||||
<p class="author-bio">
|
||||
<?php the_author_meta( 'description' ); ?>
|
||||
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
|
||||
<?php printf( __( 'View all posts by %s', 'twentyfifteen' ), get_the_author() ); ?>
|
||||
</a>
|
||||
</p><!-- .author-bio -->
|
||||
|
||||
</div><!-- .author-description -->
|
||||
</div><!-- .author-info -->
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Author bios
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="author-info">
|
||||
<h2 class="author-heading"><?php _e( 'Published by', 'twentyfifteen' ); ?></h2>
|
||||
<div class="author-avatar">
|
||||
<?php
|
||||
/**
|
||||
* Filter the author bio avatar size.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @param int $size The avatar height and width size in pixels.
|
||||
*/
|
||||
$author_bio_avatar_size = apply_filters( 'twentyfifteen_author_bio_avatar_size', 56 );
|
||||
|
||||
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
|
||||
?>
|
||||
</div><!-- .author-avatar -->
|
||||
|
||||
<div class="author-description">
|
||||
<h3 class="author-title"><?php echo get_the_author(); ?></h3>
|
||||
|
||||
<p class="author-bio">
|
||||
<?php the_author_meta( 'description' ); ?>
|
||||
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
|
||||
<?php
|
||||
/* translators: %s: Author display name. */
|
||||
printf( __( 'View all posts by %s', 'twentyfifteen' ), get_the_author() );
|
||||
?>
|
||||
</a>
|
||||
</p><!-- .author-bio -->
|
||||
|
||||
</div><!-- .author-description -->
|
||||
</div><!-- .author-info -->
|
||||
|
|
|
|||
|
|
@ -1,76 +1,76 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying comments
|
||||
*
|
||||
* The area of the page that contains both current comments
|
||||
* and the comment form.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
/*
|
||||
* If the current post is protected by a password and
|
||||
* the visitor has not yet entered the password we will
|
||||
* return early without loading the comments.
|
||||
*/
|
||||
if ( post_password_required() ) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="comments" class="comments-area">
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h2 class="comments-title">
|
||||
<?php
|
||||
$comments_number = get_comments_number();
|
||||
if ( '1' === $comments_number ) {
|
||||
/* translators: %s: post title */
|
||||
printf( _x( 'One thought on “%s”', 'comments title', 'twentyfifteen' ), get_the_title() );
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: number of comments, 2: post title */
|
||||
_nx(
|
||||
'%1$s thought on “%2$s”',
|
||||
'%1$s thoughts on “%2$s”',
|
||||
$comments_number,
|
||||
'comments title',
|
||||
'twentyfifteen'
|
||||
),
|
||||
number_format_i18n( $comments_number ),
|
||||
get_the_title()
|
||||
);
|
||||
}
|
||||
?>
|
||||
</h2>
|
||||
|
||||
<?php twentyfifteen_comment_nav(); ?>
|
||||
|
||||
<ol class="comment-list">
|
||||
<?php
|
||||
wp_list_comments(
|
||||
array(
|
||||
'style' => 'ol',
|
||||
'short_ping' => true,
|
||||
'avatar_size' => 56,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</ol><!-- .comment-list -->
|
||||
|
||||
<?php twentyfifteen_comment_nav(); ?>
|
||||
|
||||
<?php endif; // have_comments() ?>
|
||||
|
||||
<?php
|
||||
// If comments are closed and there are comments, let's leave a little note, shall we?
|
||||
if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
|
||||
?>
|
||||
<p class="no-comments"><?php _e( 'Comments are closed.', 'twentyfifteen' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php comment_form(); ?>
|
||||
|
||||
</div><!-- .comments-area -->
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying comments
|
||||
*
|
||||
* The area of the page that contains both current comments
|
||||
* and the comment form.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
/*
|
||||
* If the current post is protected by a password and
|
||||
* the visitor has not yet entered the password we will
|
||||
* return early without loading the comments.
|
||||
*/
|
||||
if ( post_password_required() ) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="comments" class="comments-area">
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h2 class="comments-title">
|
||||
<?php
|
||||
$comments_number = get_comments_number();
|
||||
if ( '1' === $comments_number ) {
|
||||
/* translators: %s: Post title. */
|
||||
printf( _x( 'One thought on “%s”', 'comments title', 'twentyfifteen' ), get_the_title() );
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: Number of comments, 2: Post title. */
|
||||
_nx(
|
||||
'%1$s thought on “%2$s”',
|
||||
'%1$s thoughts on “%2$s”',
|
||||
$comments_number,
|
||||
'comments title',
|
||||
'twentyfifteen'
|
||||
),
|
||||
number_format_i18n( $comments_number ),
|
||||
get_the_title()
|
||||
);
|
||||
}
|
||||
?>
|
||||
</h2>
|
||||
|
||||
<?php twentyfifteen_comment_nav(); ?>
|
||||
|
||||
<ol class="comment-list">
|
||||
<?php
|
||||
wp_list_comments(
|
||||
array(
|
||||
'style' => 'ol',
|
||||
'short_ping' => true,
|
||||
'avatar_size' => 56,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</ol><!-- .comment-list -->
|
||||
|
||||
<?php twentyfifteen_comment_nav(); ?>
|
||||
|
||||
<?php endif; // have_comments() ?>
|
||||
|
||||
<?php
|
||||
// If comments are closed and there are comments, let's leave a little note, shall we?
|
||||
if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
|
||||
?>
|
||||
<p class="no-comments"><?php _e( 'Comments are closed.', 'twentyfifteen' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php comment_form(); ?>
|
||||
|
||||
</div><!-- .comments-area -->
|
||||
|
|
|
|||
|
|
@ -1,64 +1,64 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying link post formats
|
||||
*
|
||||
* Used for both single and index/archive/search.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php twentyfifteen_post_thumbnail(); ?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php
|
||||
if ( is_single() ) :
|
||||
the_title( sprintf( '<h1 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h1>' );
|
||||
else :
|
||||
the_title( sprintf( '<h2 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h2>' );
|
||||
endif;
|
||||
?>
|
||||
</header>
|
||||
<!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content(
|
||||
sprintf(
|
||||
__( 'Continue reading %s', 'twentyfifteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
)
|
||||
);
|
||||
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
|
||||
'separator' => '<span class="screen-reader-text">, </span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<!-- .entry-content -->
|
||||
|
||||
<?php
|
||||
// Author bio.
|
||||
if ( is_single() && get_the_author_meta( 'description' ) ) :
|
||||
get_template_part( 'author-bio' );
|
||||
endif;
|
||||
?>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php twentyfifteen_entry_meta(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer>
|
||||
<!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying link post formats
|
||||
*
|
||||
* Used for both single and index/archive/search.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php twentyfifteen_post_thumbnail(); ?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php
|
||||
if ( is_single() ) :
|
||||
the_title( sprintf( '<h1 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h1>' );
|
||||
else :
|
||||
the_title( sprintf( '<h2 class="entry-title"><a href="%s">', esc_url( twentyfifteen_get_link_url() ) ), '</a></h2>' );
|
||||
endif;
|
||||
?>
|
||||
</header>
|
||||
<!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
the_content(
|
||||
sprintf(
|
||||
/* translators: %s: Post title. */
|
||||
__( 'Continue reading %s', 'twentyfifteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
)
|
||||
);
|
||||
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
|
||||
'separator' => '<span class="screen-reader-text">, </span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<!-- .entry-content -->
|
||||
|
||||
<?php
|
||||
// Author bio.
|
||||
if ( is_single() && get_the_author_meta( 'description' ) ) :
|
||||
get_template_part( 'author-bio' );
|
||||
endif;
|
||||
?>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php twentyfifteen_entry_meta(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer>
|
||||
<!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,37 +1,42 @@
|
|||
<?php
|
||||
/**
|
||||
* The template part for displaying a message that posts cannot be found
|
||||
*
|
||||
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<section class="no-results not-found">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php _e( 'Nothing Found', 'twentyfifteen' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div class="page-content">
|
||||
|
||||
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
|
||||
|
||||
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
|
||||
|
||||
<?php elseif ( is_search() ) : ?>
|
||||
|
||||
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfifteen' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentyfifteen' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .page-content -->
|
||||
</section><!-- .no-results -->
|
||||
<?php
|
||||
/**
|
||||
* The template part for displaying a message that posts cannot be found
|
||||
*
|
||||
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<section class="no-results not-found">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php _e( 'Nothing Found', 'twentyfifteen' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div class="page-content">
|
||||
|
||||
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
|
||||
|
||||
<p>
|
||||
<?php
|
||||
/* translators: %s: Post editor URL. */
|
||||
printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) );
|
||||
?>
|
||||
</p>
|
||||
|
||||
<?php elseif ( is_search() ) : ?>
|
||||
|
||||
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfifteen' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentyfifteen' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .page-content -->
|
||||
</section><!-- .no-results -->
|
||||
|
|
|
|||
|
|
@ -1,39 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* The template used for displaying page content
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php
|
||||
// Post thumbnail.
|
||||
twentyfifteen_post_thumbnail();
|
||||
?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
|
||||
'separator' => '<span class="screen-reader-text">, </span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* The template used for displaying page content
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php
|
||||
// Post thumbnail.
|
||||
twentyfifteen_post_thumbnail();
|
||||
?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
|
||||
'separator' => '<span class="screen-reader-text">, </span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,37 +1,37 @@
|
|||
<?php
|
||||
/**
|
||||
* The template part for displaying results in search pages
|
||||
*
|
||||
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php twentyfifteen_post_thumbnail(); ?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php twentyfifteen_entry_meta(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* The template part for displaying results in search pages
|
||||
*
|
||||
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php twentyfifteen_post_thumbnail(); ?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
|
||||
<?php if ( 'post' == get_post_type() ) : ?>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php twentyfifteen_entry_meta(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
|
|
@ -1,64 +1,64 @@
|
|||
<?php
|
||||
/**
|
||||
* The default template for displaying content
|
||||
*
|
||||
* Used for both single and index/archive/search.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php
|
||||
// Post thumbnail.
|
||||
twentyfifteen_post_thumbnail();
|
||||
?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php
|
||||
if ( is_single() ) :
|
||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||
else :
|
||||
the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
|
||||
endif;
|
||||
?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
/* translators: %s: Name of current post */
|
||||
the_content(
|
||||
sprintf(
|
||||
__( 'Continue reading %s', 'twentyfifteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
)
|
||||
);
|
||||
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
|
||||
'separator' => '<span class="screen-reader-text">, </span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php
|
||||
// Author bio.
|
||||
if ( is_single() && get_the_author_meta( 'description' ) ) :
|
||||
get_template_part( 'author-bio' );
|
||||
endif;
|
||||
?>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php twentyfifteen_entry_meta(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
<?php
|
||||
/**
|
||||
* The default template for displaying content
|
||||
*
|
||||
* Used for both single and index/archive/search.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<?php
|
||||
// Post thumbnail.
|
||||
twentyfifteen_post_thumbnail();
|
||||
?>
|
||||
|
||||
<header class="entry-header">
|
||||
<?php
|
||||
if ( is_single() ) :
|
||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||
else :
|
||||
the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
|
||||
endif;
|
||||
?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
<?php
|
||||
the_content(
|
||||
sprintf(
|
||||
/* translators: %s: Post title. */
|
||||
__( 'Continue reading %s', 'twentyfifteen' ),
|
||||
the_title( '<span class="screen-reader-text">', '</span>', false )
|
||||
)
|
||||
);
|
||||
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
|
||||
'separator' => '<span class="screen-reader-text">, </span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php
|
||||
// Author bio.
|
||||
if ( is_single() && get_the_author_meta( 'description' ) ) :
|
||||
get_template_part( 'author-bio' );
|
||||
endif;
|
||||
?>
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php twentyfifteen_entry_meta(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,482 +1,482 @@
|
|||
/*
|
||||
Theme Name: Twenty Fifteen
|
||||
Description: Used to style the TinyMCE editor.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Table of Contents:
|
||||
*
|
||||
* 1.0 - Body
|
||||
* 2.0 - Typography
|
||||
* 3.0 - Elements
|
||||
* 4.0 - Alignment
|
||||
* 5.0 - Caption
|
||||
* 6.0 - Galleries
|
||||
* 7.0 - Audio / Video
|
||||
* 8.0 - RTL
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* 1.0 Body
|
||||
*/
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
font-family: "Noto Serif", serif;
|
||||
font-weight: 400;
|
||||
font-size: 17px;
|
||||
line-height: 1.6471;
|
||||
margin: 20px 40px;
|
||||
max-width: 660px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 2.0 Typography
|
||||
*/
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
clear: both;
|
||||
font-weight: 700;
|
||||
margin: 56px 0 28px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 35px;
|
||||
line-height: 1.2308;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 29px;
|
||||
line-height: 1.2069;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 24px;
|
||||
line-height: 1.1667;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 20px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
h5,
|
||||
h6 {
|
||||
font-size: 17px;
|
||||
letter-spacing: 0.1em;
|
||||
line-height: 1.2353;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1:first-child,
|
||||
h2:first-child,
|
||||
h3:first-child,
|
||||
h4:first-child,
|
||||
h5:first-child,
|
||||
h6:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 28px;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dfn,
|
||||
cite,
|
||||
em,
|
||||
i {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: 4px solid #707070;
|
||||
color: #707070;
|
||||
font-size: 20px;
|
||||
font-style: italic;
|
||||
line-height: 1.8182;
|
||||
margin: 0 0 35px -21px;
|
||||
padding-left: 17px;
|
||||
}
|
||||
|
||||
blockquote > blockquote {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
blockquote p {
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
|
||||
blockquote > p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
blockquote cite,
|
||||
blockquote small {
|
||||
color: #333;
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-size: 17px;
|
||||
line-height: 1.6471;
|
||||
}
|
||||
|
||||
blockquote em,
|
||||
blockquote i,
|
||||
blockquote cite {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
blockquote strong,
|
||||
blockquote b {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
address {
|
||||
font-style: italic;
|
||||
margin: 0 0 28px;
|
||||
}
|
||||
|
||||
code,
|
||||
kbd,
|
||||
tt,
|
||||
var,
|
||||
samp,
|
||||
pre {
|
||||
font-family: Inconsolata, monospace;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #fcfcfc;
|
||||
border: 1px solid #eaeaea;
|
||||
font-size: 17px;
|
||||
line-height: 1.2353;
|
||||
margin-bottom: 28px;
|
||||
max-width: 100%;
|
||||
overflow: auto;
|
||||
padding: 14px;
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted #eaeaea;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
mark,
|
||||
ins {
|
||||
background-color: #fff9c0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
sup,
|
||||
sub {
|
||||
font-size: 75%;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
bottom: 1ex;
|
||||
}
|
||||
|
||||
sub {
|
||||
top: .5ex;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
big {
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 3.0 Elements
|
||||
*/
|
||||
|
||||
hr {
|
||||
background-color: #eaeaea;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin: 0 0 28px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
li > ul,
|
||||
li > ol {
|
||||
margin: 0 0 0 23px;
|
||||
}
|
||||
|
||||
blockquote > ul,
|
||||
blockquote > ol {
|
||||
margin-left: 28px;
|
||||
}
|
||||
|
||||
dl {
|
||||
margin: 0 0 28px;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0 0 28px;
|
||||
}
|
||||
|
||||
table,
|
||||
th,
|
||||
td,
|
||||
.mce-item-table,
|
||||
.mce-item-table th,
|
||||
.mce-item-table td {
|
||||
border: 1px solid #eaeaea;
|
||||
}
|
||||
|
||||
table a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
table,
|
||||
.mce-item-table {
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
border-width: 1px 0 0 1px;
|
||||
margin: 0 0 28px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table th,
|
||||
.mce-item-table th,
|
||||
table caption {
|
||||
border-width: 0 1px 1px 0;
|
||||
font-family: "Noto Serif", serif;
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
padding: 7px;
|
||||
text-align: left;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
table td,
|
||||
.mce-item-table td {
|
||||
border-width: 0 1px 1px 0;
|
||||
font-family: "Noto Serif", serif;
|
||||
font-size: 17px;
|
||||
padding: 7px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
del {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
a {
|
||||
border-bottom: 1px solid #333;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 4.0 Alignment
|
||||
*/
|
||||
|
||||
.alignleft {
|
||||
float: left;
|
||||
margin: 7px 28px 28px 0;
|
||||
}
|
||||
|
||||
.alignright {
|
||||
float: right;
|
||||
margin: 7px 0 28px 28px;
|
||||
}
|
||||
|
||||
.aligncenter {
|
||||
clear: both;
|
||||
display: block;
|
||||
margin: 7px auto;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 5.0 Caption
|
||||
*/
|
||||
|
||||
.wp-caption {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #707070;
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
margin: 0 0 28px 0;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
.wp-caption.alignleft {
|
||||
margin: 7px 28px 21px 0;
|
||||
}
|
||||
|
||||
.wp-caption.alignright {
|
||||
margin: 7px 0 21px 28px;
|
||||
}
|
||||
|
||||
.wp-caption.aligncenter {
|
||||
margin: 7px auto;
|
||||
}
|
||||
|
||||
.wp-caption .wp-caption-text,
|
||||
.wp-caption-dd {
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
padding: 7px 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 6.0 Galleries
|
||||
*/
|
||||
|
||||
.gallery-item {
|
||||
display: inline-block;
|
||||
padding: 1.79104477%;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gallery-columns-2 .gallery-item {
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.gallery-columns-3 .gallery-item {
|
||||
max-width: 33.33%;
|
||||
}
|
||||
|
||||
.gallery-columns-4 .gallery-item {
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.gallery-columns-5 .gallery-item {
|
||||
max-width: 20%;
|
||||
}
|
||||
|
||||
.gallery-columns-6 .gallery-item {
|
||||
max-width: 16.66%;
|
||||
}
|
||||
|
||||
.gallery-columns-7 .gallery-item {
|
||||
max-width: 14.28%;
|
||||
}
|
||||
|
||||
.gallery-columns-8 .gallery-item {
|
||||
max-width: 12.5%;
|
||||
}
|
||||
|
||||
.gallery-columns-9 .gallery-item {
|
||||
max-width: 11.11%;
|
||||
}
|
||||
|
||||
.gallery .gallery-caption {
|
||||
color: #707070;
|
||||
display: block;
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
padding: 7px 0;
|
||||
}
|
||||
|
||||
.gallery-columns-6 .gallery-caption,
|
||||
.gallery-columns-7 .gallery-caption,
|
||||
.gallery-columns-8 .gallery-caption,
|
||||
.gallery-columns-9 .gallery-caption {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 7.0 Audio / Video
|
||||
*/
|
||||
|
||||
.mce-content-body .wpview-wrap {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.mce-content-body .wp-audio-playlist {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 8.0 RTL
|
||||
*/
|
||||
|
||||
body.rtl {
|
||||
font-family: Arial, Tahoma, sans-serif;
|
||||
}
|
||||
|
||||
.rtl blockquote {
|
||||
border-left: none;
|
||||
border-right: 4px solid #707070;
|
||||
margin: 0 -21px 35px 0;
|
||||
padding-left: 0;
|
||||
padding-right: 17px;
|
||||
}
|
||||
|
||||
.rtl blockquote > blockquote {
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.rtl li > ul,
|
||||
.rtl li > ol {
|
||||
margin: 0 23px 0 0;
|
||||
}
|
||||
|
||||
.rtl table th,
|
||||
.rtl table caption {
|
||||
text-align: right;
|
||||
}
|
||||
/*
|
||||
Theme Name: Twenty Fifteen
|
||||
Description: Used to style the TinyMCE editor.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Table of Contents:
|
||||
*
|
||||
* 1.0 - Body
|
||||
* 2.0 - Typography
|
||||
* 3.0 - Elements
|
||||
* 4.0 - Alignment
|
||||
* 5.0 - Caption
|
||||
* 6.0 - Galleries
|
||||
* 7.0 - Audio / Video
|
||||
* 8.0 - RTL
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* 1.0 Body
|
||||
*/
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
font-family: "Noto Serif", serif;
|
||||
font-weight: 400;
|
||||
font-size: 17px;
|
||||
line-height: 1.6471;
|
||||
margin: 20px 40px;
|
||||
max-width: 660px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 2.0 Typography
|
||||
*/
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
clear: both;
|
||||
font-weight: 700;
|
||||
margin: 56px 0 28px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 35px;
|
||||
line-height: 1.2308;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 29px;
|
||||
line-height: 1.2069;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 24px;
|
||||
line-height: 1.1667;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 20px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
h5,
|
||||
h6 {
|
||||
font-size: 17px;
|
||||
letter-spacing: 0.1em;
|
||||
line-height: 1.2353;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1:first-child,
|
||||
h2:first-child,
|
||||
h3:first-child,
|
||||
h4:first-child,
|
||||
h5:first-child,
|
||||
h6:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 28px;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dfn,
|
||||
cite,
|
||||
em,
|
||||
i {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: 4px solid #707070;
|
||||
color: #707070;
|
||||
font-size: 20px;
|
||||
font-style: italic;
|
||||
line-height: 1.8182;
|
||||
margin: 0 0 35px -21px;
|
||||
padding-left: 17px;
|
||||
}
|
||||
|
||||
blockquote > blockquote {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
blockquote p {
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
|
||||
blockquote > p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
blockquote cite,
|
||||
blockquote small {
|
||||
color: #333;
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-size: 17px;
|
||||
line-height: 1.6471;
|
||||
}
|
||||
|
||||
blockquote em,
|
||||
blockquote i,
|
||||
blockquote cite {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
blockquote strong,
|
||||
blockquote b {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
address {
|
||||
font-style: italic;
|
||||
margin: 0 0 28px;
|
||||
}
|
||||
|
||||
code,
|
||||
kbd,
|
||||
tt,
|
||||
var,
|
||||
samp,
|
||||
pre {
|
||||
font-family: Inconsolata, monospace;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: #fcfcfc;
|
||||
border: 1px solid #eaeaea;
|
||||
font-size: 17px;
|
||||
line-height: 1.2353;
|
||||
margin-bottom: 28px;
|
||||
max-width: 100%;
|
||||
overflow: auto;
|
||||
padding: 14px;
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted #eaeaea;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
mark,
|
||||
ins {
|
||||
background-color: #fff9c0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
sup,
|
||||
sub {
|
||||
font-size: 75%;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
bottom: 1ex;
|
||||
}
|
||||
|
||||
sub {
|
||||
top: .5ex;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
big {
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 3.0 Elements
|
||||
*/
|
||||
|
||||
hr {
|
||||
background-color: #eaeaea;
|
||||
border: 0;
|
||||
height: 1px;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin: 0 0 28px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
li > ul,
|
||||
li > ol {
|
||||
margin: 0 0 0 23px;
|
||||
}
|
||||
|
||||
blockquote > ul,
|
||||
blockquote > ol {
|
||||
margin-left: 28px;
|
||||
}
|
||||
|
||||
dl {
|
||||
margin: 0 0 28px;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0 0 28px;
|
||||
}
|
||||
|
||||
table,
|
||||
th,
|
||||
td,
|
||||
.mce-item-table,
|
||||
.mce-item-table th,
|
||||
.mce-item-table td {
|
||||
border: 1px solid #eaeaea;
|
||||
}
|
||||
|
||||
table a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
table,
|
||||
.mce-item-table {
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
border-width: 1px 0 0 1px;
|
||||
margin: 0 0 28px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table th,
|
||||
.mce-item-table th,
|
||||
table caption {
|
||||
border-width: 0 1px 1px 0;
|
||||
font-family: "Noto Serif", serif;
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
padding: 7px;
|
||||
text-align: left;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
table td,
|
||||
.mce-item-table td {
|
||||
border-width: 0 1px 1px 0;
|
||||
font-family: "Noto Serif", serif;
|
||||
font-size: 17px;
|
||||
padding: 7px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
del {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
a {
|
||||
border-bottom: 1px solid #333;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 4.0 Alignment
|
||||
*/
|
||||
|
||||
.alignleft {
|
||||
float: left;
|
||||
margin: 7px 28px 28px 0;
|
||||
}
|
||||
|
||||
.alignright {
|
||||
float: right;
|
||||
margin: 7px 0 28px 28px;
|
||||
}
|
||||
|
||||
.aligncenter {
|
||||
clear: both;
|
||||
display: block;
|
||||
margin: 7px auto;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 5.0 Caption
|
||||
*/
|
||||
|
||||
.wp-caption {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #707070;
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
margin: 0 0 28px 0;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
.wp-caption.alignleft {
|
||||
margin: 7px 28px 21px 0;
|
||||
}
|
||||
|
||||
.wp-caption.alignright {
|
||||
margin: 7px 0 21px 28px;
|
||||
}
|
||||
|
||||
.wp-caption.aligncenter {
|
||||
margin: 7px auto;
|
||||
}
|
||||
|
||||
.wp-caption .wp-caption-text,
|
||||
.wp-caption-dd {
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
padding: 7px 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 6.0 Galleries
|
||||
*/
|
||||
|
||||
.gallery-item {
|
||||
display: inline-block;
|
||||
padding: 1.79104477%;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gallery-columns-2 .gallery-item {
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.gallery-columns-3 .gallery-item {
|
||||
max-width: 33.33%;
|
||||
}
|
||||
|
||||
.gallery-columns-4 .gallery-item {
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.gallery-columns-5 .gallery-item {
|
||||
max-width: 20%;
|
||||
}
|
||||
|
||||
.gallery-columns-6 .gallery-item {
|
||||
max-width: 16.66%;
|
||||
}
|
||||
|
||||
.gallery-columns-7 .gallery-item {
|
||||
max-width: 14.28%;
|
||||
}
|
||||
|
||||
.gallery-columns-8 .gallery-item {
|
||||
max-width: 12.5%;
|
||||
}
|
||||
|
||||
.gallery-columns-9 .gallery-item {
|
||||
max-width: 11.11%;
|
||||
}
|
||||
|
||||
.gallery .gallery-caption {
|
||||
color: #707070;
|
||||
display: block;
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
padding: 7px 0;
|
||||
}
|
||||
|
||||
.gallery-columns-6 .gallery-caption,
|
||||
.gallery-columns-7 .gallery-caption,
|
||||
.gallery-columns-8 .gallery-caption,
|
||||
.gallery-columns-9 .gallery-caption {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 7.0 Audio / Video
|
||||
*/
|
||||
|
||||
.mce-content-body .wpview-wrap {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.mce-content-body .wp-audio-playlist {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 8.0 RTL
|
||||
*/
|
||||
|
||||
body.rtl {
|
||||
font-family: Arial, Tahoma, sans-serif;
|
||||
}
|
||||
|
||||
.rtl blockquote {
|
||||
border-left: none;
|
||||
border-right: 4px solid #707070;
|
||||
margin: 0 -21px 35px 0;
|
||||
padding-left: 0;
|
||||
padding-right: 17px;
|
||||
}
|
||||
|
||||
.rtl blockquote > blockquote {
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.rtl li > ul,
|
||||
.rtl li > ol {
|
||||
margin: 0 23px 0 0;
|
||||
}
|
||||
|
||||
.rtl table th,
|
||||
.rtl table caption {
|
||||
text-align: right;
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,89 +1,89 @@
|
|||
/*
|
||||
Theme Name: Twenty Fifteen
|
||||
Description: IE7 specific style.
|
||||
*/
|
||||
|
||||
.screen-reader-text {
|
||||
clip: rect(1px 1px 1px 1px);
|
||||
}
|
||||
|
||||
.secondary-toggle {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
line-height: 60px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.pagination .prev,
|
||||
.pagination .next {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
line-height: 64px;
|
||||
padding: 0 19px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.image-navigation,
|
||||
.comment-navigation {
|
||||
width: 662px;
|
||||
}
|
||||
|
||||
.post-navigation {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.site-main {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hentry {
|
||||
margin-bottom: 7.6923%;
|
||||
text-align: left;
|
||||
width: 808px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
margin-bottom: 7.6923%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.comments-area {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.comment-list,
|
||||
.comment-navigation {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.gallery-columns-2 .gallery-item {
|
||||
max-width: 48%;
|
||||
}
|
||||
|
||||
.gallery-columns-3 .gallery-item {
|
||||
max-width: 31%;
|
||||
}
|
||||
|
||||
.gallery-columns-4 .gallery-item {
|
||||
max-width: 22%;
|
||||
}
|
||||
|
||||
.gallery-columns-5 .gallery-item {
|
||||
max-width: 17%;
|
||||
}
|
||||
|
||||
.gallery-columns-6 .gallery-item {
|
||||
max-width: 13.5%;
|
||||
}
|
||||
|
||||
.gallery-columns-7 .gallery-item {
|
||||
max-width: 11%;
|
||||
}
|
||||
|
||||
.gallery-columns-8 .gallery-item {
|
||||
max-width: 9.5%;
|
||||
}
|
||||
|
||||
.gallery-columns-9 .gallery-item {
|
||||
max-width: 8%;
|
||||
}
|
||||
/*
|
||||
Theme Name: Twenty Fifteen
|
||||
Description: IE7 specific style.
|
||||
*/
|
||||
|
||||
.screen-reader-text {
|
||||
clip: rect(1px 1px 1px 1px);
|
||||
}
|
||||
|
||||
.secondary-toggle {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
line-height: 60px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.pagination .prev,
|
||||
.pagination .next {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
line-height: 64px;
|
||||
padding: 0 19px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.image-navigation,
|
||||
.comment-navigation {
|
||||
width: 662px;
|
||||
}
|
||||
|
||||
.post-navigation {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.site-main {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hentry {
|
||||
margin-bottom: 7.6923%;
|
||||
text-align: left;
|
||||
width: 808px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
margin-bottom: 7.6923%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.comments-area {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.comment-list,
|
||||
.comment-navigation {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.gallery-columns-2 .gallery-item {
|
||||
max-width: 48%;
|
||||
}
|
||||
|
||||
.gallery-columns-3 .gallery-item {
|
||||
max-width: 31%;
|
||||
}
|
||||
|
||||
.gallery-columns-4 .gallery-item {
|
||||
max-width: 22%;
|
||||
}
|
||||
|
||||
.gallery-columns-5 .gallery-item {
|
||||
max-width: 17%;
|
||||
}
|
||||
|
||||
.gallery-columns-6 .gallery-item {
|
||||
max-width: 13.5%;
|
||||
}
|
||||
|
||||
.gallery-columns-7 .gallery-item {
|
||||
max-width: 11%;
|
||||
}
|
||||
|
||||
.gallery-columns-8 .gallery-item {
|
||||
max-width: 9.5%;
|
||||
}
|
||||
|
||||
.gallery-columns-9 .gallery-item {
|
||||
max-width: 8%;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,41 +1,44 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying the footer
|
||||
*
|
||||
* Contains the closing of the "site-content" div and all content after.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
</div><!-- .site-content -->
|
||||
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="site-info">
|
||||
<?php
|
||||
/**
|
||||
* Fires before the Twenty Fifteen footer text for footer customization.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
do_action( 'twentyfifteen_credits' );
|
||||
?>
|
||||
<?php
|
||||
if ( function_exists( 'the_privacy_policy_link' ) ) {
|
||||
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>" class="imprint">
|
||||
<?php printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?>
|
||||
</a>
|
||||
</div><!-- .site-info -->
|
||||
</footer><!-- .site-footer -->
|
||||
|
||||
</div><!-- .site -->
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying the footer
|
||||
*
|
||||
* Contains the closing of the "site-content" div and all content after.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?>
|
||||
|
||||
</div><!-- .site-content -->
|
||||
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="site-info">
|
||||
<?php
|
||||
/**
|
||||
* Fires before the Twenty Fifteen footer text for footer customization.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
do_action( 'twentyfifteen_credits' );
|
||||
?>
|
||||
<?php
|
||||
if ( function_exists( 'the_privacy_policy_link' ) ) {
|
||||
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyfifteen' ) ); ?>" class="imprint">
|
||||
<?php
|
||||
/* translators: %s: WordPress */
|
||||
printf( __( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' );
|
||||
?>
|
||||
</a>
|
||||
</div><!-- .site-info -->
|
||||
</footer><!-- .site-footer -->
|
||||
|
||||
</div><!-- .site -->
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
|
@ -1,57 +1,57 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying the header
|
||||
*
|
||||
* Displays all of the head element and everything up until the "site-content" div.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?><!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?> class="no-js">
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
<div id="page" class="hfeed site">
|
||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyfifteen' ); ?></a>
|
||||
|
||||
<div id="sidebar" class="sidebar">
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
<div class="site-branding">
|
||||
<?php
|
||||
twentyfifteen_the_custom_logo();
|
||||
|
||||
if ( is_front_page() && is_home() ) :
|
||||
?>
|
||||
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<?php else : ?>
|
||||
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
$description = get_bloginfo( 'description', 'display' );
|
||||
if ( $description || is_customize_preview() ) :
|
||||
?>
|
||||
<p class="site-description"><?php echo $description; ?></p>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button>
|
||||
</div><!-- .site-branding -->
|
||||
</header><!-- .site-header -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
</div><!-- .sidebar -->
|
||||
|
||||
<div id="content" class="site-content">
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying the header
|
||||
*
|
||||
* Displays all of the head element and everything up until the "site-content" div.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
?><!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?> class="no-js">
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js?ver=3.7.0"></script>
|
||||
<![endif]-->
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
<div id="page" class="hfeed site">
|
||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyfifteen' ); ?></a>
|
||||
|
||||
<div id="sidebar" class="sidebar">
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
<div class="site-branding">
|
||||
<?php
|
||||
twentyfifteen_the_custom_logo();
|
||||
|
||||
if ( is_front_page() && is_home() ) :
|
||||
?>
|
||||
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<?php else : ?>
|
||||
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
$description = get_bloginfo( 'description', 'display' );
|
||||
if ( $description || is_customize_preview() ) :
|
||||
?>
|
||||
<p class="site-description"><?php echo $description; ?></p>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button>
|
||||
</div><!-- .site-branding -->
|
||||
</header><!-- .site-header -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
</div><!-- .sidebar -->
|
||||
|
||||
<div id="content" class="site-content">
|
||||
|
|
|
|||
|
|
@ -1,99 +1,99 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying image attachments
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php
|
||||
// Start the loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
|
||||
<nav id="image-navigation" class="navigation image-navigation">
|
||||
<div class="nav-links">
|
||||
<div class="nav-previous"><?php previous_image_link( false, __( 'Previous Image', 'twentyfifteen' ) ); ?></div><div class="nav-next"><?php next_image_link( false, __( 'Next Image', 'twentyfifteen' ) ); ?></div>
|
||||
</div><!-- .nav-links -->
|
||||
</nav><!-- .image-navigation -->
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
|
||||
<div class="entry-attachment">
|
||||
<?php
|
||||
/**
|
||||
* Filter the default Twenty Fifteen image attachment size.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @param string $image_size Image size. Default 'large'.
|
||||
*/
|
||||
$image_size = apply_filters( 'twentyfifteen_attachment_size', 'large' );
|
||||
|
||||
echo wp_get_attachment_image( get_the_ID(), $image_size );
|
||||
?>
|
||||
|
||||
<?php if ( has_excerpt() ) : ?>
|
||||
<div class="entry-caption">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-caption -->
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .entry-attachment -->
|
||||
|
||||
<?php
|
||||
the_content();
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
|
||||
'separator' => '<span class="screen-reader-text">, </span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php twentyfifteen_entry_meta(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
|
||||
// Previous/next post navigation.
|
||||
the_post_navigation(
|
||||
array(
|
||||
'prev_text' => _x( '<span class="meta-nav">Published in</span><span class="post-title">%title</span>', 'Parent post link', 'twentyfifteen' ),
|
||||
)
|
||||
);
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying image attachments
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php
|
||||
// Start the loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
|
||||
<nav id="image-navigation" class="navigation image-navigation">
|
||||
<div class="nav-links">
|
||||
<div class="nav-previous"><?php previous_image_link( false, __( 'Previous Image', 'twentyfifteen' ) ); ?></div><div class="nav-next"><?php next_image_link( false, __( 'Next Image', 'twentyfifteen' ) ); ?></div>
|
||||
</div><!-- .nav-links -->
|
||||
</nav><!-- .image-navigation -->
|
||||
|
||||
<header class="entry-header">
|
||||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
|
||||
<div class="entry-attachment">
|
||||
<?php
|
||||
/**
|
||||
* Filter the default Twenty Fifteen image attachment size.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @param string $image_size Image size. Default 'large'.
|
||||
*/
|
||||
$image_size = apply_filters( 'twentyfifteen_attachment_size', 'large' );
|
||||
|
||||
echo wp_get_attachment_image( get_the_ID(), $image_size );
|
||||
?>
|
||||
|
||||
<?php if ( has_excerpt() ) : ?>
|
||||
<div class="entry-caption">
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-caption -->
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .entry-attachment -->
|
||||
|
||||
<?php
|
||||
the_content();
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
|
||||
'separator' => '<span class="screen-reader-text">, </span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-footer">
|
||||
<?php twentyfifteen_entry_meta(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
|
||||
// Previous/next post navigation.
|
||||
the_post_navigation(
|
||||
array(
|
||||
'prev_text' => _x( '<span class="meta-nav">Published in</span><span class="post-title">%title</span>', 'Parent post link', 'twentyfifteen' ),
|
||||
)
|
||||
);
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,67 +1,70 @@
|
|||
<?php
|
||||
/**
|
||||
* Twenty Fifteen back compat functionality
|
||||
*
|
||||
* Prevents Twenty Fifteen from running on WordPress versions prior to 4.1,
|
||||
* since this theme is not meant to be backward compatible beyond that and
|
||||
* relies on many newer functions and markup changes introduced in 4.1.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Prevent switching to Twenty Fifteen on old versions of WordPress.
|
||||
*
|
||||
* Switches to the default theme.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_switch_theme() {
|
||||
switch_theme( WP_DEFAULT_THEME, WP_DEFAULT_THEME );
|
||||
unset( $_GET['activated'] );
|
||||
add_action( 'admin_notices', 'twentyfifteen_upgrade_notice' );
|
||||
}
|
||||
add_action( 'after_switch_theme', 'twentyfifteen_switch_theme' );
|
||||
|
||||
/**
|
||||
* Add message for unsuccessful theme switch.
|
||||
*
|
||||
* Prints an update nag after an unsuccessful attempt to switch to
|
||||
* Twenty Fifteen on WordPress versions prior to 4.1.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_upgrade_notice() {
|
||||
$message = sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] );
|
||||
printf( '<div class="error"><p>%s</p></div>', $message );
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent the Customizer from being loaded on WordPress versions prior to 4.1.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_customize() {
|
||||
wp_die(
|
||||
sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ),
|
||||
'',
|
||||
array(
|
||||
'back_link' => true,
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action( 'load-customize.php', 'twentyfifteen_customize' );
|
||||
|
||||
/**
|
||||
* Prevent the Theme Preview from being loaded on WordPress versions prior to 4.1.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_preview() {
|
||||
if ( isset( $_GET['preview'] ) ) {
|
||||
wp_die( sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ) );
|
||||
}
|
||||
}
|
||||
add_action( 'template_redirect', 'twentyfifteen_preview' );
|
||||
<?php
|
||||
/**
|
||||
* Twenty Fifteen back compat functionality
|
||||
*
|
||||
* Prevents Twenty Fifteen from running on WordPress versions prior to 4.1,
|
||||
* since this theme is not meant to be backward compatible beyond that and
|
||||
* relies on many newer functions and markup changes introduced in 4.1.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Prevent switching to Twenty Fifteen on old versions of WordPress.
|
||||
*
|
||||
* Switches to the default theme.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_switch_theme() {
|
||||
switch_theme( WP_DEFAULT_THEME, WP_DEFAULT_THEME );
|
||||
unset( $_GET['activated'] );
|
||||
add_action( 'admin_notices', 'twentyfifteen_upgrade_notice' );
|
||||
}
|
||||
add_action( 'after_switch_theme', 'twentyfifteen_switch_theme' );
|
||||
|
||||
/**
|
||||
* Add message for unsuccessful theme switch.
|
||||
*
|
||||
* Prints an update nag after an unsuccessful attempt to switch to
|
||||
* Twenty Fifteen on WordPress versions prior to 4.1.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_upgrade_notice() {
|
||||
/* translators: %s: WordPress version. */
|
||||
$message = sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] );
|
||||
printf( '<div class="error"><p>%s</p></div>', $message );
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent the Customizer from being loaded on WordPress versions prior to 4.1.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_customize() {
|
||||
wp_die(
|
||||
/* translators: %s: WordPress version. */
|
||||
sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ),
|
||||
'',
|
||||
array(
|
||||
'back_link' => true,
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action( 'load-customize.php', 'twentyfifteen_customize' );
|
||||
|
||||
/**
|
||||
* Prevent the Theme Preview from being loaded on WordPress versions prior to 4.1.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_preview() {
|
||||
if ( isset( $_GET['preview'] ) ) {
|
||||
/* translators: %s: WordPress version. */
|
||||
wp_die( sprintf( __( 'Twenty Fifteen requires at least WordPress version 4.1. You are running version %s. Please upgrade and try again.', 'twentyfifteen' ), $GLOBALS['wp_version'] ) );
|
||||
}
|
||||
}
|
||||
add_action( 'template_redirect', 'twentyfifteen_preview' );
|
||||
|
|
|
|||
|
|
@ -1,380 +1,380 @@
|
|||
<?php
|
||||
/**
|
||||
* Custom Header functionality for Twenty Fifteen
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Set up the WordPress core custom header feature.
|
||||
*
|
||||
* @uses twentyfifteen_header_style()
|
||||
*/
|
||||
function twentyfifteen_custom_header_setup() {
|
||||
$color_scheme = twentyfifteen_get_color_scheme();
|
||||
$default_text_color = trim( $color_scheme[4], '#' );
|
||||
|
||||
/**
|
||||
* Filter Twenty Fifteen custom-header support arguments.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @param array $args {
|
||||
* An array of custom-header support arguments.
|
||||
*
|
||||
* @type string $default_text_color Default color of the header text.
|
||||
* @type int $width Width in pixels of the custom header image. Default 954.
|
||||
* @type int $height Height in pixels of the custom header image. Default 1300.
|
||||
* @type string $wp-head-callback Callback function used to styles the header image and text
|
||||
* displayed on the blog.
|
||||
* }
|
||||
*/
|
||||
add_theme_support(
|
||||
'custom-header',
|
||||
apply_filters(
|
||||
'twentyfifteen_custom_header_args',
|
||||
array(
|
||||
'default-text-color' => $default_text_color,
|
||||
'width' => 954,
|
||||
'height' => 1300,
|
||||
'wp-head-callback' => 'twentyfifteen_header_style',
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action( 'after_setup_theme', 'twentyfifteen_custom_header_setup' );
|
||||
|
||||
/**
|
||||
* Convert HEX to RGB.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @param string $color The original color, in 3- or 6-digit hexadecimal form.
|
||||
* @return array Array containing RGB (red, green, and blue) values for the given
|
||||
* HEX code, empty array otherwise.
|
||||
*/
|
||||
function twentyfifteen_hex2rgb( $color ) {
|
||||
$color = trim( $color, '#' );
|
||||
|
||||
if ( strlen( $color ) == 3 ) {
|
||||
$r = hexdec( substr( $color, 0, 1 ) . substr( $color, 0, 1 ) );
|
||||
$g = hexdec( substr( $color, 1, 1 ) . substr( $color, 1, 1 ) );
|
||||
$b = hexdec( substr( $color, 2, 1 ) . substr( $color, 2, 1 ) );
|
||||
} elseif ( strlen( $color ) == 6 ) {
|
||||
$r = hexdec( substr( $color, 0, 2 ) );
|
||||
$g = hexdec( substr( $color, 2, 2 ) );
|
||||
$b = hexdec( substr( $color, 4, 2 ) );
|
||||
} else {
|
||||
return array();
|
||||
}
|
||||
|
||||
return array(
|
||||
'red' => $r,
|
||||
'green' => $g,
|
||||
'blue' => $b,
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_header_style' ) ) :
|
||||
/**
|
||||
* Styles the header image and text displayed on the blog.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @see twentyfifteen_custom_header_setup()
|
||||
*/
|
||||
function twentyfifteen_header_style() {
|
||||
$header_image = get_header_image();
|
||||
|
||||
// If no custom options for text are set, let's bail.
|
||||
if ( empty( $header_image ) && display_header_text() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If we get this far, we have custom styles. Let's do this.
|
||||
?>
|
||||
<style type="text/css" id="twentyfifteen-header-css">
|
||||
<?php
|
||||
// Short header for when there is no Custom Header and Header Text is hidden.
|
||||
if ( empty( $header_image ) && ! display_header_text() ) :
|
||||
?>
|
||||
.site-header {
|
||||
padding-top: 14px;
|
||||
padding-bottom: 14px;
|
||||
}
|
||||
|
||||
.site-branding {
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 46.25em) {
|
||||
.site-header {
|
||||
padding-top: 21px;
|
||||
padding-bottom: 21px;
|
||||
}
|
||||
.site-branding {
|
||||
min-height: 56px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 55em) {
|
||||
.site-header {
|
||||
padding-top: 25px;
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
.site-branding {
|
||||
min-height: 62px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
.site-header {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.site-branding {
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
<?php
|
||||
endif;
|
||||
|
||||
// Has a Custom Header been added?
|
||||
if ( ! empty( $header_image ) ) :
|
||||
?>
|
||||
.site-header {
|
||||
|
||||
/*
|
||||
* No shorthand so the Customizer can override individual properties.
|
||||
* @see https://core.trac.wordpress.org/ticket/31460
|
||||
*/
|
||||
background-image: url(<?php header_image(); ?>);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
body:before {
|
||||
|
||||
/*
|
||||
* No shorthand so the Customizer can override individual properties.
|
||||
* @see https://core.trac.wordpress.org/ticket/31460
|
||||
*/
|
||||
background-image: url(<?php header_image(); ?>);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 100% 50%;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
<?php
|
||||
endif;
|
||||
|
||||
// Has the text been hidden?
|
||||
if ( ! display_header_text() ) :
|
||||
?>
|
||||
.site-title,
|
||||
.site-description {
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
position: absolute;
|
||||
}
|
||||
<?php endif; ?>
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
endif; // twentyfifteen_header_style
|
||||
|
||||
/**
|
||||
* Enqueues front-end CSS for the header background color.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @see wp_add_inline_style()
|
||||
*/
|
||||
function twentyfifteen_header_background_color_css() {
|
||||
$color_scheme = twentyfifteen_get_color_scheme();
|
||||
$default_color = $color_scheme[1];
|
||||
$header_background_color = get_theme_mod( 'header_background_color', $default_color );
|
||||
|
||||
// Don't do anything if the current color is the default.
|
||||
if ( $header_background_color === $default_color ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$css = '
|
||||
/* Custom Header Background Color */
|
||||
body:before,
|
||||
.site-header {
|
||||
background-color: %1$s;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
.site-header,
|
||||
.secondary {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.widget button,
|
||||
.widget input[type="button"],
|
||||
.widget input[type="reset"],
|
||||
.widget input[type="submit"],
|
||||
.widget_calendar tbody a,
|
||||
.widget_calendar tbody a:hover,
|
||||
.widget_calendar tbody a:focus {
|
||||
color: %1$s;
|
||||
}
|
||||
}
|
||||
';
|
||||
|
||||
wp_add_inline_style( 'twentyfifteen-style', sprintf( $css, $header_background_color ) );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'twentyfifteen_header_background_color_css', 11 );
|
||||
|
||||
/**
|
||||
* Enqueues front-end CSS for the sidebar text color.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_sidebar_text_color_css() {
|
||||
$color_scheme = twentyfifteen_get_color_scheme();
|
||||
$default_color = $color_scheme[4];
|
||||
$sidebar_link_color = get_theme_mod( 'sidebar_textcolor', $default_color );
|
||||
|
||||
// Don't do anything if the current color is the default.
|
||||
if ( $sidebar_link_color === $default_color ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If we get this far, we have custom styles. Let's do this.
|
||||
$sidebar_link_color_rgb = twentyfifteen_hex2rgb( $sidebar_link_color );
|
||||
$sidebar_text_color = vsprintf( 'rgba( %1$s, %2$s, %3$s, 0.7)', $sidebar_link_color_rgb );
|
||||
$sidebar_border_color = vsprintf( 'rgba( %1$s, %2$s, %3$s, 0.1)', $sidebar_link_color_rgb );
|
||||
$sidebar_border_focus_color = vsprintf( 'rgba( %1$s, %2$s, %3$s, 0.3)', $sidebar_link_color_rgb );
|
||||
|
||||
$css = '
|
||||
/* Custom Sidebar Text Color */
|
||||
.site-title a,
|
||||
.site-description,
|
||||
.secondary-toggle:before {
|
||||
color: %1$s;
|
||||
}
|
||||
|
||||
.site-title a:hover,
|
||||
.site-title a:focus {
|
||||
color: %1$s; /* Fallback for IE7 and IE8 */
|
||||
color: %2$s;
|
||||
}
|
||||
|
||||
.secondary-toggle {
|
||||
border-color: %1$s; /* Fallback for IE7 and IE8 */
|
||||
border-color: %3$s;
|
||||
}
|
||||
|
||||
.secondary-toggle:hover,
|
||||
.secondary-toggle:focus {
|
||||
border-color: %1$s; /* Fallback for IE7 and IE8 */
|
||||
border-color: %4$s;
|
||||
}
|
||||
|
||||
.site-title a {
|
||||
outline-color: %1$s; /* Fallback for IE7 and IE8 */
|
||||
outline-color: %4$s;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
.secondary a,
|
||||
.dropdown-toggle:after,
|
||||
.widget-title,
|
||||
.widget blockquote cite,
|
||||
.widget blockquote small {
|
||||
color: %1$s;
|
||||
}
|
||||
|
||||
.widget button,
|
||||
.widget input[type="button"],
|
||||
.widget input[type="reset"],
|
||||
.widget input[type="submit"],
|
||||
.widget_calendar tbody a {
|
||||
background-color: %1$s;
|
||||
}
|
||||
|
||||
.textwidget a {
|
||||
border-color: %1$s;
|
||||
}
|
||||
|
||||
.secondary a:hover,
|
||||
.secondary a:focus,
|
||||
.main-navigation .menu-item-description,
|
||||
.widget,
|
||||
.widget blockquote,
|
||||
.widget .wp-caption-text,
|
||||
.widget .gallery-caption {
|
||||
color: %2$s;
|
||||
}
|
||||
|
||||
.widget button:hover,
|
||||
.widget button:focus,
|
||||
.widget input[type="button"]:hover,
|
||||
.widget input[type="button"]:focus,
|
||||
.widget input[type="reset"]:hover,
|
||||
.widget input[type="reset"]:focus,
|
||||
.widget input[type="submit"]:hover,
|
||||
.widget input[type="submit"]:focus,
|
||||
.widget_calendar tbody a:hover,
|
||||
.widget_calendar tbody a:focus {
|
||||
background-color: %2$s;
|
||||
}
|
||||
|
||||
.widget blockquote {
|
||||
border-color: %2$s;
|
||||
}
|
||||
|
||||
.main-navigation ul,
|
||||
.main-navigation li,
|
||||
.secondary-toggle,
|
||||
.widget input,
|
||||
.widget textarea,
|
||||
.widget table,
|
||||
.widget th,
|
||||
.widget td,
|
||||
.widget pre,
|
||||
.widget li,
|
||||
.widget_categories .children,
|
||||
.widget_nav_menu .sub-menu,
|
||||
.widget_pages .children,
|
||||
.widget abbr[title] {
|
||||
border-color: %3$s;
|
||||
}
|
||||
|
||||
.dropdown-toggle:hover,
|
||||
.dropdown-toggle:focus,
|
||||
.widget hr {
|
||||
background-color: %3$s;
|
||||
}
|
||||
|
||||
.widget input:focus,
|
||||
.widget textarea:focus {
|
||||
border-color: %4$s;
|
||||
}
|
||||
|
||||
.sidebar a:focus,
|
||||
.dropdown-toggle:focus {
|
||||
outline-color: %4$s;
|
||||
}
|
||||
}
|
||||
';
|
||||
|
||||
wp_add_inline_style( 'twentyfifteen-style', sprintf( $css, $sidebar_link_color, $sidebar_text_color, $sidebar_border_color, $sidebar_border_focus_color ) );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'twentyfifteen_sidebar_text_color_css', 11 );
|
||||
<?php
|
||||
/**
|
||||
* Custom Header functionality for Twenty Fifteen
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Set up the WordPress core custom header feature.
|
||||
*
|
||||
* @uses twentyfifteen_header_style()
|
||||
*/
|
||||
function twentyfifteen_custom_header_setup() {
|
||||
$color_scheme = twentyfifteen_get_color_scheme();
|
||||
$default_text_color = trim( $color_scheme[4], '#' );
|
||||
|
||||
/**
|
||||
* Filter Twenty Fifteen custom-header support arguments.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @param array $args {
|
||||
* An array of custom-header support arguments.
|
||||
*
|
||||
* @type string $default_text_color Default color of the header text.
|
||||
* @type int $width Width in pixels of the custom header image. Default 954.
|
||||
* @type int $height Height in pixels of the custom header image. Default 1300.
|
||||
* @type string $wp-head-callback Callback function used to styles the header image and text
|
||||
* displayed on the blog.
|
||||
* }
|
||||
*/
|
||||
add_theme_support(
|
||||
'custom-header',
|
||||
apply_filters(
|
||||
'twentyfifteen_custom_header_args',
|
||||
array(
|
||||
'default-text-color' => $default_text_color,
|
||||
'width' => 954,
|
||||
'height' => 1300,
|
||||
'wp-head-callback' => 'twentyfifteen_header_style',
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action( 'after_setup_theme', 'twentyfifteen_custom_header_setup' );
|
||||
|
||||
/**
|
||||
* Convert HEX to RGB.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @param string $color The original color, in 3- or 6-digit hexadecimal form.
|
||||
* @return array Array containing RGB (red, green, and blue) values for the given
|
||||
* HEX code, empty array otherwise.
|
||||
*/
|
||||
function twentyfifteen_hex2rgb( $color ) {
|
||||
$color = trim( $color, '#' );
|
||||
|
||||
if ( strlen( $color ) == 3 ) {
|
||||
$r = hexdec( substr( $color, 0, 1 ) . substr( $color, 0, 1 ) );
|
||||
$g = hexdec( substr( $color, 1, 1 ) . substr( $color, 1, 1 ) );
|
||||
$b = hexdec( substr( $color, 2, 1 ) . substr( $color, 2, 1 ) );
|
||||
} elseif ( strlen( $color ) == 6 ) {
|
||||
$r = hexdec( substr( $color, 0, 2 ) );
|
||||
$g = hexdec( substr( $color, 2, 2 ) );
|
||||
$b = hexdec( substr( $color, 4, 2 ) );
|
||||
} else {
|
||||
return array();
|
||||
}
|
||||
|
||||
return array(
|
||||
'red' => $r,
|
||||
'green' => $g,
|
||||
'blue' => $b,
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_header_style' ) ) :
|
||||
/**
|
||||
* Styles the header image and text displayed on the blog.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @see twentyfifteen_custom_header_setup()
|
||||
*/
|
||||
function twentyfifteen_header_style() {
|
||||
$header_image = get_header_image();
|
||||
|
||||
// If no custom options for text are set, let's bail.
|
||||
if ( empty( $header_image ) && display_header_text() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If we get this far, we have custom styles. Let's do this.
|
||||
?>
|
||||
<style type="text/css" id="twentyfifteen-header-css">
|
||||
<?php
|
||||
// Short header for when there is no Custom Header and Header Text is hidden.
|
||||
if ( empty( $header_image ) && ! display_header_text() ) :
|
||||
?>
|
||||
.site-header {
|
||||
padding-top: 14px;
|
||||
padding-bottom: 14px;
|
||||
}
|
||||
|
||||
.site-branding {
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 46.25em) {
|
||||
.site-header {
|
||||
padding-top: 21px;
|
||||
padding-bottom: 21px;
|
||||
}
|
||||
.site-branding {
|
||||
min-height: 56px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 55em) {
|
||||
.site-header {
|
||||
padding-top: 25px;
|
||||
padding-bottom: 25px;
|
||||
}
|
||||
.site-branding {
|
||||
min-height: 62px;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
.site-header {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.site-branding {
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
<?php
|
||||
endif;
|
||||
|
||||
// Has a Custom Header been added?
|
||||
if ( ! empty( $header_image ) ) :
|
||||
?>
|
||||
.site-header {
|
||||
|
||||
/*
|
||||
* No shorthand so the Customizer can override individual properties.
|
||||
* @see https://core.trac.wordpress.org/ticket/31460
|
||||
*/
|
||||
background-image: url(<?php header_image(); ?>);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
body:before {
|
||||
|
||||
/*
|
||||
* No shorthand so the Customizer can override individual properties.
|
||||
* @see https://core.trac.wordpress.org/ticket/31460
|
||||
*/
|
||||
background-image: url(<?php header_image(); ?>);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 100% 50%;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
<?php
|
||||
endif;
|
||||
|
||||
// Has the text been hidden?
|
||||
if ( ! display_header_text() ) :
|
||||
?>
|
||||
.site-title,
|
||||
.site-description {
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
position: absolute;
|
||||
}
|
||||
<?php endif; ?>
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
endif; // twentyfifteen_header_style()
|
||||
|
||||
/**
|
||||
* Enqueues front-end CSS for the header background color.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @see wp_add_inline_style()
|
||||
*/
|
||||
function twentyfifteen_header_background_color_css() {
|
||||
$color_scheme = twentyfifteen_get_color_scheme();
|
||||
$default_color = $color_scheme[1];
|
||||
$header_background_color = get_theme_mod( 'header_background_color', $default_color );
|
||||
|
||||
// Don't do anything if the current color is the default.
|
||||
if ( $header_background_color === $default_color ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$css = '
|
||||
/* Custom Header Background Color */
|
||||
body:before,
|
||||
.site-header {
|
||||
background-color: %1$s;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
.site-header,
|
||||
.secondary {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.widget button,
|
||||
.widget input[type="button"],
|
||||
.widget input[type="reset"],
|
||||
.widget input[type="submit"],
|
||||
.widget_calendar tbody a,
|
||||
.widget_calendar tbody a:hover,
|
||||
.widget_calendar tbody a:focus {
|
||||
color: %1$s;
|
||||
}
|
||||
}
|
||||
';
|
||||
|
||||
wp_add_inline_style( 'twentyfifteen-style', sprintf( $css, $header_background_color ) );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'twentyfifteen_header_background_color_css', 11 );
|
||||
|
||||
/**
|
||||
* Enqueues front-end CSS for the sidebar text color.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_sidebar_text_color_css() {
|
||||
$color_scheme = twentyfifteen_get_color_scheme();
|
||||
$default_color = $color_scheme[4];
|
||||
$sidebar_link_color = get_theme_mod( 'sidebar_textcolor', $default_color );
|
||||
|
||||
// Don't do anything if the current color is the default.
|
||||
if ( $sidebar_link_color === $default_color ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If we get this far, we have custom styles. Let's do this.
|
||||
$sidebar_link_color_rgb = twentyfifteen_hex2rgb( $sidebar_link_color );
|
||||
$sidebar_text_color = vsprintf( 'rgba( %1$s, %2$s, %3$s, 0.7)', $sidebar_link_color_rgb );
|
||||
$sidebar_border_color = vsprintf( 'rgba( %1$s, %2$s, %3$s, 0.1)', $sidebar_link_color_rgb );
|
||||
$sidebar_border_focus_color = vsprintf( 'rgba( %1$s, %2$s, %3$s, 0.3)', $sidebar_link_color_rgb );
|
||||
|
||||
$css = '
|
||||
/* Custom Sidebar Text Color */
|
||||
.site-title a,
|
||||
.site-description,
|
||||
.secondary-toggle:before {
|
||||
color: %1$s;
|
||||
}
|
||||
|
||||
.site-title a:hover,
|
||||
.site-title a:focus {
|
||||
color: %1$s; /* Fallback for IE7 and IE8 */
|
||||
color: %2$s;
|
||||
}
|
||||
|
||||
.secondary-toggle {
|
||||
border-color: %1$s; /* Fallback for IE7 and IE8 */
|
||||
border-color: %3$s;
|
||||
}
|
||||
|
||||
.secondary-toggle:hover,
|
||||
.secondary-toggle:focus {
|
||||
border-color: %1$s; /* Fallback for IE7 and IE8 */
|
||||
border-color: %4$s;
|
||||
}
|
||||
|
||||
.site-title a {
|
||||
outline-color: %1$s; /* Fallback for IE7 and IE8 */
|
||||
outline-color: %4$s;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
.secondary a,
|
||||
.dropdown-toggle:after,
|
||||
.widget-title,
|
||||
.widget blockquote cite,
|
||||
.widget blockquote small {
|
||||
color: %1$s;
|
||||
}
|
||||
|
||||
.widget button,
|
||||
.widget input[type="button"],
|
||||
.widget input[type="reset"],
|
||||
.widget input[type="submit"],
|
||||
.widget_calendar tbody a {
|
||||
background-color: %1$s;
|
||||
}
|
||||
|
||||
.textwidget a {
|
||||
border-color: %1$s;
|
||||
}
|
||||
|
||||
.secondary a:hover,
|
||||
.secondary a:focus,
|
||||
.main-navigation .menu-item-description,
|
||||
.widget,
|
||||
.widget blockquote,
|
||||
.widget .wp-caption-text,
|
||||
.widget .gallery-caption {
|
||||
color: %2$s;
|
||||
}
|
||||
|
||||
.widget button:hover,
|
||||
.widget button:focus,
|
||||
.widget input[type="button"]:hover,
|
||||
.widget input[type="button"]:focus,
|
||||
.widget input[type="reset"]:hover,
|
||||
.widget input[type="reset"]:focus,
|
||||
.widget input[type="submit"]:hover,
|
||||
.widget input[type="submit"]:focus,
|
||||
.widget_calendar tbody a:hover,
|
||||
.widget_calendar tbody a:focus {
|
||||
background-color: %2$s;
|
||||
}
|
||||
|
||||
.widget blockquote {
|
||||
border-color: %2$s;
|
||||
}
|
||||
|
||||
.main-navigation ul,
|
||||
.main-navigation li,
|
||||
.secondary-toggle,
|
||||
.widget input,
|
||||
.widget textarea,
|
||||
.widget table,
|
||||
.widget th,
|
||||
.widget td,
|
||||
.widget pre,
|
||||
.widget li,
|
||||
.widget_categories .children,
|
||||
.widget_nav_menu .sub-menu,
|
||||
.widget_pages .children,
|
||||
.widget abbr[title] {
|
||||
border-color: %3$s;
|
||||
}
|
||||
|
||||
.dropdown-toggle:hover,
|
||||
.dropdown-toggle:focus,
|
||||
.widget hr {
|
||||
background-color: %3$s;
|
||||
}
|
||||
|
||||
.widget input:focus,
|
||||
.widget textarea:focus {
|
||||
border-color: %4$s;
|
||||
}
|
||||
|
||||
.sidebar a:focus,
|
||||
.dropdown-toggle:focus {
|
||||
outline-color: %4$s;
|
||||
}
|
||||
}
|
||||
';
|
||||
|
||||
wp_add_inline_style( 'twentyfifteen-style', sprintf( $css, $sidebar_link_color, $sidebar_text_color, $sidebar_border_color, $sidebar_border_focus_color ) );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'twentyfifteen_sidebar_text_color_css', 11 );
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,287 +1,290 @@
|
|||
<?php
|
||||
/**
|
||||
* Custom template tags for Twenty Fifteen
|
||||
*
|
||||
* Eventually, some of the functionality here could be replaced by core features.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_comment_nav' ) ) :
|
||||
/**
|
||||
* Display navigation to next/previous comments when applicable.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_comment_nav() {
|
||||
// Are there comments to navigate through?
|
||||
if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) :
|
||||
?>
|
||||
<nav class="navigation comment-navigation" role="navigation">
|
||||
<h2 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfifteen' ); ?></h2>
|
||||
<div class="nav-links">
|
||||
<?php
|
||||
if ( $prev_link = get_previous_comments_link( __( 'Older Comments', 'twentyfifteen' ) ) ) :
|
||||
printf( '<div class="nav-previous">%s</div>', $prev_link );
|
||||
endif;
|
||||
|
||||
if ( $next_link = get_next_comments_link( __( 'Newer Comments', 'twentyfifteen' ) ) ) :
|
||||
printf( '<div class="nav-next">%s</div>', $next_link );
|
||||
endif;
|
||||
?>
|
||||
</div><!-- .nav-links -->
|
||||
</nav><!-- .comment-navigation -->
|
||||
<?php
|
||||
endif;
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_entry_meta' ) ) :
|
||||
/**
|
||||
* Prints HTML with meta information for the categories, tags.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_entry_meta() {
|
||||
if ( is_sticky() && is_home() && ! is_paged() ) {
|
||||
printf( '<span class="sticky-post">%s</span>', __( 'Featured', 'twentyfifteen' ) );
|
||||
}
|
||||
|
||||
$format = get_post_format();
|
||||
if ( current_theme_supports( 'post-formats', $format ) ) {
|
||||
printf(
|
||||
'<span class="entry-format">%1$s<a href="%2$s">%3$s</a></span>',
|
||||
sprintf( '<span class="screen-reader-text">%s </span>', _x( 'Format', 'Used before post format.', 'twentyfifteen' ) ),
|
||||
esc_url( get_post_format_link( $format ) ),
|
||||
get_post_format_string( $format )
|
||||
);
|
||||
}
|
||||
|
||||
if ( in_array( get_post_type(), array( 'post', 'attachment' ) ) ) {
|
||||
$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
|
||||
|
||||
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
|
||||
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
|
||||
}
|
||||
|
||||
$time_string = sprintf(
|
||||
$time_string,
|
||||
esc_attr( get_the_date( 'c' ) ),
|
||||
get_the_date(),
|
||||
esc_attr( get_the_modified_date( 'c' ) ),
|
||||
get_the_modified_date()
|
||||
);
|
||||
|
||||
printf(
|
||||
'<span class="posted-on"><span class="screen-reader-text">%1$s </span><a href="%2$s" rel="bookmark">%3$s</a></span>',
|
||||
_x( 'Posted on', 'Used before publish date.', 'twentyfifteen' ),
|
||||
esc_url( get_permalink() ),
|
||||
$time_string
|
||||
);
|
||||
}
|
||||
|
||||
if ( 'post' == get_post_type() ) {
|
||||
if ( is_singular() || is_multi_author() ) {
|
||||
printf(
|
||||
'<span class="byline"><span class="author vcard"><span class="screen-reader-text">%1$s </span><a class="url fn n" href="%2$s">%3$s</a></span></span>',
|
||||
_x( 'Author', 'Used before post author name.', 'twentyfifteen' ),
|
||||
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
|
||||
get_the_author()
|
||||
);
|
||||
}
|
||||
|
||||
$categories_list = get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfifteen' ) );
|
||||
if ( $categories_list && twentyfifteen_categorized_blog() ) {
|
||||
printf(
|
||||
'<span class="cat-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
|
||||
_x( 'Categories', 'Used before category names.', 'twentyfifteen' ),
|
||||
$categories_list
|
||||
);
|
||||
}
|
||||
|
||||
$tags_list = get_the_tag_list( '', _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfifteen' ) );
|
||||
if ( $tags_list && ! is_wp_error( $tags_list ) ) {
|
||||
printf(
|
||||
'<span class="tags-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
|
||||
_x( 'Tags', 'Used before tag names.', 'twentyfifteen' ),
|
||||
$tags_list
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if ( is_attachment() && wp_attachment_is_image() ) {
|
||||
// Retrieve attachment metadata.
|
||||
$metadata = wp_get_attachment_metadata();
|
||||
|
||||
printf(
|
||||
'<span class="full-size-link"><span class="screen-reader-text">%1$s </span><a href="%2$s">%3$s × %4$s</a></span>',
|
||||
_x( 'Full size', 'Used before full size attachment link.', 'twentyfifteen' ),
|
||||
esc_url( wp_get_attachment_url() ),
|
||||
$metadata['width'],
|
||||
$metadata['height']
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
|
||||
echo '<span class="comments-link">';
|
||||
/* translators: %s: post title */
|
||||
comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentyfifteen' ), get_the_title() ) );
|
||||
echo '</span>';
|
||||
}
|
||||
}
|
||||
endif;
|
||||
|
||||
/**
|
||||
* Determine whether blog/site has more than one category.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @return bool True of there is more than one category, false otherwise.
|
||||
*/
|
||||
function twentyfifteen_categorized_blog() {
|
||||
if ( false === ( $all_the_cool_cats = get_transient( 'twentyfifteen_categories' ) ) ) {
|
||||
// Create an array of all the categories that are attached to posts.
|
||||
$all_the_cool_cats = get_categories(
|
||||
array(
|
||||
'fields' => 'ids',
|
||||
'hide_empty' => 1,
|
||||
|
||||
// We only need to know if there is more than one category.
|
||||
'number' => 2,
|
||||
)
|
||||
);
|
||||
|
||||
// Count the number of categories that are attached to the posts.
|
||||
$all_the_cool_cats = count( $all_the_cool_cats );
|
||||
|
||||
set_transient( 'twentyfifteen_categories', $all_the_cool_cats );
|
||||
}
|
||||
|
||||
if ( $all_the_cool_cats > 1 || is_preview() ) {
|
||||
// This blog has more than 1 category so twentyfifteen_categorized_blog should return true.
|
||||
return true;
|
||||
} else {
|
||||
// This blog has only 1 category so twentyfifteen_categorized_blog should return false.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Flush out the transients used in {@see twentyfifteen_categorized_blog()}.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_category_transient_flusher() {
|
||||
// Like, beat it. Dig?
|
||||
delete_transient( 'twentyfifteen_categories' );
|
||||
}
|
||||
add_action( 'edit_category', 'twentyfifteen_category_transient_flusher' );
|
||||
add_action( 'save_post', 'twentyfifteen_category_transient_flusher' );
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_post_thumbnail' ) ) :
|
||||
/**
|
||||
* Display an optional post thumbnail.
|
||||
*
|
||||
* Wraps the post thumbnail in an anchor element on index views, or a div
|
||||
* element when on single views.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_post_thumbnail() {
|
||||
if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( is_singular() ) :
|
||||
?>
|
||||
|
||||
<div class="post-thumbnail">
|
||||
<?php the_post_thumbnail(); ?>
|
||||
</div><!-- .post-thumbnail -->
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<a class="post-thumbnail" href="<?php the_permalink(); ?>" aria-hidden="true">
|
||||
<?php
|
||||
the_post_thumbnail( 'post-thumbnail', array( 'alt' => get_the_title() ) );
|
||||
?>
|
||||
</a>
|
||||
|
||||
<?php
|
||||
endif; // End is_singular()
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_get_link_url' ) ) :
|
||||
/**
|
||||
* Return the post URL.
|
||||
*
|
||||
* Falls back to the post permalink if no URL is found in the post.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @see get_url_in_content()
|
||||
*
|
||||
* @return string The Link format URL.
|
||||
*/
|
||||
function twentyfifteen_get_link_url() {
|
||||
$has_url = get_url_in_content( get_the_content() );
|
||||
|
||||
return $has_url ? $has_url : apply_filters( 'the_permalink', get_permalink() );
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_excerpt_more' ) && ! is_admin() ) :
|
||||
/**
|
||||
* Replaces "[...]" (appended to automatically generated excerpts) with ... and a 'Continue reading' link.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @return string 'Continue reading' link prepended with an ellipsis.
|
||||
*/
|
||||
function twentyfifteen_excerpt_more( $more ) {
|
||||
$link = sprintf(
|
||||
'<a href="%1$s" class="more-link">%2$s</a>',
|
||||
esc_url( get_permalink( get_the_ID() ) ),
|
||||
/* translators: %s: Name of current post */
|
||||
sprintf( __( 'Continue reading %s', 'twentyfifteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
|
||||
);
|
||||
return ' … ' . $link;
|
||||
}
|
||||
add_filter( 'excerpt_more', 'twentyfifteen_excerpt_more' );
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_the_custom_logo' ) ) :
|
||||
/**
|
||||
* Displays the optional custom logo.
|
||||
*
|
||||
* Does nothing if the custom logo is not available.
|
||||
*
|
||||
* @since Twenty Fifteen 1.5
|
||||
*/
|
||||
function twentyfifteen_the_custom_logo() {
|
||||
if ( function_exists( 'the_custom_logo' ) ) {
|
||||
the_custom_logo();
|
||||
}
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'wp_body_open' ) ) :
|
||||
/**
|
||||
* Fire the wp_body_open action.
|
||||
*
|
||||
* Added for backwards compatibility to support pre 5.2.0 WordPress versions.
|
||||
*
|
||||
* @since Twenty Fifteen 2.5
|
||||
*/
|
||||
function wp_body_open() {
|
||||
/**
|
||||
* Triggered after the opening <body> tag.
|
||||
*
|
||||
* @since Twenty Fifteen 2.5
|
||||
*/
|
||||
do_action( 'wp_body_open' );
|
||||
}
|
||||
endif;
|
||||
<?php
|
||||
/**
|
||||
* Custom template tags for Twenty Fifteen
|
||||
*
|
||||
* Eventually, some of the functionality here could be replaced by core features.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_comment_nav' ) ) :
|
||||
/**
|
||||
* Display navigation to next/previous comments when applicable.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_comment_nav() {
|
||||
// Are there comments to navigate through?
|
||||
if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) :
|
||||
?>
|
||||
<nav class="navigation comment-navigation" role="navigation">
|
||||
<h2 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfifteen' ); ?></h2>
|
||||
<div class="nav-links">
|
||||
<?php
|
||||
$prev_link = get_previous_comments_link( __( 'Older Comments', 'twentyfifteen' ) );
|
||||
if ( $prev_link ) {
|
||||
printf( '<div class="nav-previous">%s</div>', $prev_link );
|
||||
}
|
||||
|
||||
$next_link = get_next_comments_link( __( 'Newer Comments', 'twentyfifteen' ) );
|
||||
if ( $next_link ) {
|
||||
printf( '<div class="nav-next">%s</div>', $next_link );
|
||||
}
|
||||
?>
|
||||
</div><!-- .nav-links -->
|
||||
</nav><!-- .comment-navigation -->
|
||||
<?php
|
||||
endif;
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_entry_meta' ) ) :
|
||||
/**
|
||||
* Prints HTML with meta information for the categories, tags.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_entry_meta() {
|
||||
if ( is_sticky() && is_home() && ! is_paged() ) {
|
||||
printf( '<span class="sticky-post">%s</span>', __( 'Featured', 'twentyfifteen' ) );
|
||||
}
|
||||
|
||||
$format = get_post_format();
|
||||
if ( current_theme_supports( 'post-formats', $format ) ) {
|
||||
printf(
|
||||
'<span class="entry-format">%1$s<a href="%2$s">%3$s</a></span>',
|
||||
sprintf( '<span class="screen-reader-text">%s </span>', _x( 'Format', 'Used before post format.', 'twentyfifteen' ) ),
|
||||
esc_url( get_post_format_link( $format ) ),
|
||||
get_post_format_string( $format )
|
||||
);
|
||||
}
|
||||
|
||||
if ( in_array( get_post_type(), array( 'post', 'attachment' ) ) ) {
|
||||
$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
|
||||
|
||||
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
|
||||
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
|
||||
}
|
||||
|
||||
$time_string = sprintf(
|
||||
$time_string,
|
||||
esc_attr( get_the_date( 'c' ) ),
|
||||
get_the_date(),
|
||||
esc_attr( get_the_modified_date( 'c' ) ),
|
||||
get_the_modified_date()
|
||||
);
|
||||
|
||||
printf(
|
||||
'<span class="posted-on"><span class="screen-reader-text">%1$s </span><a href="%2$s" rel="bookmark">%3$s</a></span>',
|
||||
_x( 'Posted on', 'Used before publish date.', 'twentyfifteen' ),
|
||||
esc_url( get_permalink() ),
|
||||
$time_string
|
||||
);
|
||||
}
|
||||
|
||||
if ( 'post' == get_post_type() ) {
|
||||
if ( is_singular() || is_multi_author() ) {
|
||||
printf(
|
||||
'<span class="byline"><span class="author vcard"><span class="screen-reader-text">%1$s </span><a class="url fn n" href="%2$s">%3$s</a></span></span>',
|
||||
_x( 'Author', 'Used before post author name.', 'twentyfifteen' ),
|
||||
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
|
||||
get_the_author()
|
||||
);
|
||||
}
|
||||
|
||||
$categories_list = get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfifteen' ) );
|
||||
if ( $categories_list && twentyfifteen_categorized_blog() ) {
|
||||
printf(
|
||||
'<span class="cat-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
|
||||
_x( 'Categories', 'Used before category names.', 'twentyfifteen' ),
|
||||
$categories_list
|
||||
);
|
||||
}
|
||||
|
||||
$tags_list = get_the_tag_list( '', _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfifteen' ) );
|
||||
if ( $tags_list && ! is_wp_error( $tags_list ) ) {
|
||||
printf(
|
||||
'<span class="tags-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
|
||||
_x( 'Tags', 'Used before tag names.', 'twentyfifteen' ),
|
||||
$tags_list
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if ( is_attachment() && wp_attachment_is_image() ) {
|
||||
// Retrieve attachment metadata.
|
||||
$metadata = wp_get_attachment_metadata();
|
||||
|
||||
printf(
|
||||
'<span class="full-size-link"><span class="screen-reader-text">%1$s </span><a href="%2$s">%3$s × %4$s</a></span>',
|
||||
_x( 'Full size', 'Used before full size attachment link.', 'twentyfifteen' ),
|
||||
esc_url( wp_get_attachment_url() ),
|
||||
$metadata['width'],
|
||||
$metadata['height']
|
||||
);
|
||||
}
|
||||
|
||||
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
|
||||
echo '<span class="comments-link">';
|
||||
/* translators: %s: Post title. */
|
||||
comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentyfifteen' ), get_the_title() ) );
|
||||
echo '</span>';
|
||||
}
|
||||
}
|
||||
endif;
|
||||
|
||||
/**
|
||||
* Determine whether blog/site has more than one category.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @return bool True of there is more than one category, false otherwise.
|
||||
*/
|
||||
function twentyfifteen_categorized_blog() {
|
||||
$all_the_cool_cats = get_transient( 'twentyfifteen_categories' );
|
||||
if ( false === $all_the_cool_cats ) {
|
||||
// Create an array of all the categories that are attached to posts.
|
||||
$all_the_cool_cats = get_categories(
|
||||
array(
|
||||
'fields' => 'ids',
|
||||
'hide_empty' => 1,
|
||||
|
||||
// We only need to know if there is more than one category.
|
||||
'number' => 2,
|
||||
)
|
||||
);
|
||||
|
||||
// Count the number of categories that are attached to the posts.
|
||||
$all_the_cool_cats = count( $all_the_cool_cats );
|
||||
|
||||
set_transient( 'twentyfifteen_categories', $all_the_cool_cats );
|
||||
}
|
||||
|
||||
if ( $all_the_cool_cats > 1 || is_preview() ) {
|
||||
// This blog has more than 1 category so twentyfifteen_categorized_blog() should return true.
|
||||
return true;
|
||||
} else {
|
||||
// This blog has only 1 category so twentyfifteen_categorized_blog() should return false.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Flush out the transients used in {@see twentyfifteen_categorized_blog()}.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_category_transient_flusher() {
|
||||
// Like, beat it. Dig?
|
||||
delete_transient( 'twentyfifteen_categories' );
|
||||
}
|
||||
add_action( 'edit_category', 'twentyfifteen_category_transient_flusher' );
|
||||
add_action( 'save_post', 'twentyfifteen_category_transient_flusher' );
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_post_thumbnail' ) ) :
|
||||
/**
|
||||
* Display an optional post thumbnail.
|
||||
*
|
||||
* Wraps the post thumbnail in an anchor element on index views, or a div
|
||||
* element when on single views.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
function twentyfifteen_post_thumbnail() {
|
||||
if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( is_singular() ) :
|
||||
?>
|
||||
|
||||
<div class="post-thumbnail">
|
||||
<?php the_post_thumbnail(); ?>
|
||||
</div><!-- .post-thumbnail -->
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<a class="post-thumbnail" href="<?php the_permalink(); ?>" aria-hidden="true">
|
||||
<?php
|
||||
the_post_thumbnail( 'post-thumbnail', array( 'alt' => get_the_title() ) );
|
||||
?>
|
||||
</a>
|
||||
|
||||
<?php
|
||||
endif; // End is_singular().
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_get_link_url' ) ) :
|
||||
/**
|
||||
* Return the post URL.
|
||||
*
|
||||
* Falls back to the post permalink if no URL is found in the post.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @see get_url_in_content()
|
||||
*
|
||||
* @return string The Link format URL.
|
||||
*/
|
||||
function twentyfifteen_get_link_url() {
|
||||
$has_url = get_url_in_content( get_the_content() );
|
||||
|
||||
return $has_url ? $has_url : apply_filters( 'the_permalink', get_permalink() );
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_excerpt_more' ) && ! is_admin() ) :
|
||||
/**
|
||||
* Replaces "[...]" (appended to automatically generated excerpts) with ... and a 'Continue reading' link.
|
||||
*
|
||||
* @since Twenty Fifteen 1.0
|
||||
*
|
||||
* @return string 'Continue reading' link prepended with an ellipsis.
|
||||
*/
|
||||
function twentyfifteen_excerpt_more( $more ) {
|
||||
$link = sprintf(
|
||||
'<a href="%1$s" class="more-link">%2$s</a>',
|
||||
esc_url( get_permalink( get_the_ID() ) ),
|
||||
/* translators: %s: Post title. */
|
||||
sprintf( __( 'Continue reading %s', 'twentyfifteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
|
||||
);
|
||||
return ' … ' . $link;
|
||||
}
|
||||
add_filter( 'excerpt_more', 'twentyfifteen_excerpt_more' );
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'twentyfifteen_the_custom_logo' ) ) :
|
||||
/**
|
||||
* Displays the optional custom logo.
|
||||
*
|
||||
* Does nothing if the custom logo is not available.
|
||||
*
|
||||
* @since Twenty Fifteen 1.5
|
||||
*/
|
||||
function twentyfifteen_the_custom_logo() {
|
||||
if ( function_exists( 'the_custom_logo' ) ) {
|
||||
the_custom_logo();
|
||||
}
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'wp_body_open' ) ) :
|
||||
/**
|
||||
* Fire the wp_body_open action.
|
||||
*
|
||||
* Added for backward compatibility to support pre-5.2.0 WordPress versions.
|
||||
*
|
||||
* @since Twenty Fifteen 2.5
|
||||
*/
|
||||
function wp_body_open() {
|
||||
/**
|
||||
* Triggered after the opening <body> tag.
|
||||
*
|
||||
* @since Twenty Fifteen 2.5
|
||||
*/
|
||||
do_action( 'wp_body_open' );
|
||||
}
|
||||
endif;
|
||||
|
|
|
|||
|
|
@ -1,64 +1,64 @@
|
|||
<?php
|
||||
/**
|
||||
* The main template file
|
||||
*
|
||||
* This is the most generic template file in a WordPress theme
|
||||
* and one of the two required files for a theme (the other being style.css).
|
||||
* It is used to display a page when nothing more specific matches a query.
|
||||
* e.g., it puts together the home page when no home.php file exists.
|
||||
*
|
||||
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php if ( is_home() && ! is_front_page() ) : ?>
|
||||
<header>
|
||||
<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
|
||||
</header>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
// Start the loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
/*
|
||||
* Include the Post-Format-specific template for the content.
|
||||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
|
||||
// Previous/next page navigation.
|
||||
the_posts_pagination(
|
||||
array(
|
||||
'prev_text' => __( 'Previous page', 'twentyfifteen' ),
|
||||
'next_text' => __( 'Next page', 'twentyfifteen' ),
|
||||
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
|
||||
)
|
||||
);
|
||||
|
||||
// If no content, include the "No posts found" template.
|
||||
else :
|
||||
get_template_part( 'content', 'none' );
|
||||
|
||||
endif;
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* The main template file
|
||||
*
|
||||
* This is the most generic template file in a WordPress theme
|
||||
* and one of the two required files for a theme (the other being style.css).
|
||||
* It is used to display a page when nothing more specific matches a query.
|
||||
* e.g., it puts together the home page when no home.php file exists.
|
||||
*
|
||||
* Learn more: {@link https://developer.wordpress.org/themes/basics/template-hierarchy/}
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<?php if ( is_home() && ! is_front_page() ) : ?>
|
||||
<header>
|
||||
<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
|
||||
</header>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
// Start the loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
/*
|
||||
* Include the post format-specific template for the content. If you want
|
||||
* to use this in a child theme, then include a file called content-___.php
|
||||
* (where ___ is the post format) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', get_post_format() );
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
|
||||
// Previous/next page navigation.
|
||||
the_posts_pagination(
|
||||
array(
|
||||
'prev_text' => __( 'Previous page', 'twentyfifteen' ),
|
||||
'next_text' => __( 'Next page', 'twentyfifteen' ),
|
||||
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',
|
||||
)
|
||||
);
|
||||
|
||||
// If no content, include the "No posts found" template.
|
||||
else :
|
||||
get_template_part( 'content', 'none' );
|
||||
|
||||
endif;
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -6,10 +6,8 @@
|
|||
*/
|
||||
|
||||
( function( $ ) {
|
||||
var $body, $window, $sidebar, adminbarOffset, top = false,
|
||||
bottom = false, windowWidth, windowHeight, lastWindowPos = 0,
|
||||
topOffset = 0, bodyHeight, sidebarHeight, resizeTimer,
|
||||
secondary, button;
|
||||
var $body, $window, $sidebar, resizeTimer,
|
||||
secondary, button;
|
||||
|
||||
function initMainNavigation( container ) {
|
||||
// Add dropdown toggle that display child menu items.
|
||||
|
|
@ -81,6 +79,7 @@
|
|||
*
|
||||
* Uses jQuery's width() function to determine the size of the window and add
|
||||
* the default ARIA attributes for the menu toggle if it's visible.
|
||||
*
|
||||
* @since Twenty Fifteen 1.1
|
||||
*/
|
||||
function onResizeARIA() {
|
||||
|
|
@ -96,71 +95,29 @@
|
|||
}
|
||||
|
||||
// Sidebar scrolling.
|
||||
function resize() {
|
||||
windowWidth = $window.width();
|
||||
|
||||
if ( 955 > windowWidth ) {
|
||||
top = bottom = false;
|
||||
$sidebar.removeAttr( 'style' );
|
||||
}
|
||||
}
|
||||
|
||||
function scroll() {
|
||||
var windowPos = $window.scrollTop();
|
||||
|
||||
if ( 955 > windowWidth ) {
|
||||
return;
|
||||
}
|
||||
|
||||
sidebarHeight = $sidebar.height();
|
||||
windowHeight = $window.height();
|
||||
bodyHeight = $body.height();
|
||||
|
||||
if ( sidebarHeight + adminbarOffset > windowHeight ) {
|
||||
if ( windowPos > lastWindowPos ) {
|
||||
if ( top ) {
|
||||
top = false;
|
||||
topOffset = ( $sidebar.offset().top > 0 ) ? $sidebar.offset().top - adminbarOffset : 0;
|
||||
$sidebar.attr( 'style', 'top: ' + topOffset + 'px;' );
|
||||
} else if ( ! bottom && windowPos + windowHeight > sidebarHeight + $sidebar.offset().top && sidebarHeight + adminbarOffset < bodyHeight ) {
|
||||
bottom = true;
|
||||
$sidebar.attr( 'style', 'position: fixed; bottom: 0;' );
|
||||
}
|
||||
} else if ( windowPos < lastWindowPos ) {
|
||||
if ( bottom ) {
|
||||
bottom = false;
|
||||
topOffset = ( $sidebar.offset().top > 0 ) ? $sidebar.offset().top - adminbarOffset : 0;
|
||||
$sidebar.attr( 'style', 'top: ' + topOffset + 'px;' );
|
||||
} else if ( ! top && windowPos + adminbarOffset < $sidebar.offset().top ) {
|
||||
top = true;
|
||||
$sidebar.attr( 'style', 'position: fixed;' );
|
||||
}
|
||||
} else {
|
||||
top = bottom = false;
|
||||
topOffset = ( $sidebar.offset().top > 0 ) ? $sidebar.offset().top - adminbarOffset : 0;
|
||||
$sidebar.attr( 'style', 'top: ' + topOffset + 'px;' );
|
||||
}
|
||||
} else if ( ! top ) {
|
||||
top = true;
|
||||
$sidebar.attr( 'style', 'position: fixed;' );
|
||||
}
|
||||
|
||||
lastWindowPos = windowPos;
|
||||
}
|
||||
|
||||
function resizeAndScroll() {
|
||||
resize();
|
||||
scroll();
|
||||
var windowPos = $window.scrollTop(),
|
||||
windowHeight = $window.height(),
|
||||
sidebarHeight = $sidebar.height(),
|
||||
bodyHeight = $body.height();
|
||||
|
||||
if( 955 < $window.width() && bodyHeight > sidebarHeight && ( windowPos + windowHeight ) >= sidebarHeight ) {
|
||||
$sidebar.css({
|
||||
position: 'fixed',
|
||||
bottom: sidebarHeight > windowHeight ? 0 : 'auto'
|
||||
});
|
||||
} else {
|
||||
$sidebar.css('position', 'relative');
|
||||
}
|
||||
}
|
||||
|
||||
$( document ).ready( function() {
|
||||
$body = $( document.body );
|
||||
$window = $( window );
|
||||
$sidebar = $( '#sidebar' ).first();
|
||||
adminbarOffset = $body.is( '.admin-bar' ) ? $( '#wpadminbar' ).height() : 0;
|
||||
|
||||
$window
|
||||
.on( 'scroll.twentyfifteen', scroll )
|
||||
.on( 'scroll.twentyfifteen', resizeAndScroll )
|
||||
.on( 'load.twentyfifteen', onResizeARIA )
|
||||
.on( 'resize.twentyfifteen', function() {
|
||||
clearTimeout( resizeTimer );
|
||||
|
|
@ -169,9 +126,7 @@
|
|||
} );
|
||||
$sidebar.on( 'click.twentyfifteen keydown.twentyfifteen', 'button', resizeAndScroll );
|
||||
|
||||
resizeAndScroll();
|
||||
|
||||
for ( var i = 1; i < 6; i++ ) {
|
||||
for ( var i = 0; i < 6; i++ ) {
|
||||
setTimeout( resizeAndScroll, 100 * i );
|
||||
}
|
||||
} );
|
||||
|
|
|
|||
|
|
@ -1,39 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* The template for displaying pages
|
||||
*
|
||||
* This is the template that displays all pages by default.
|
||||
* Please note that this is the WordPress construct of pages and that
|
||||
* other "pages" on your WordPress site will use a different template.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php
|
||||
// Start the loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
// Include the page content template.
|
||||
get_template_part( 'content', 'page' );
|
||||
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying pages
|
||||
*
|
||||
* This is the template that displays all pages by default.
|
||||
* Please note that this is the WordPress construct of pages and that
|
||||
* other "pages" on your WordPress site will use a different template.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Fifteen
|
||||
* @since Twenty Fifteen 1.0
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<?php
|
||||
// Start the loop.
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
// Include the page content template.
|
||||
get_template_part( 'content', 'page' );
|
||||
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
</main><!-- .site-main -->
|
||||
</div><!-- .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
=== Twenty Fifteen ===
|
||||
Contributors: wordpressdotorg
|
||||
Requires at least: WordPress 4.1
|
||||
Tested up to: WordPress 5.0
|
||||
Requires PHP: 5.2.4
|
||||
Version: 2.5
|
||||
Tested up to: 5.0
|
||||
Version: 2.6
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
|
||||
|
|
@ -19,19 +18,19 @@ Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty
|
|||
* Post Formats
|
||||
* The GPL v2.0 or later license. :) Use it to make something cool.
|
||||
|
||||
For more information about Twenty Fifteen please go to https://codex.wordpress.org/Twenty_Fifteen.
|
||||
For more information about Twenty Fifteen please go to https://wordpress.org/support/article/twenty-fifteen/.
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
|
||||
2. Type in Twenty Fifteen in the search form and press the 'Enter' key on your keyboard.
|
||||
3. Click on the 'Activate' button to use your new theme right away.
|
||||
4. Go to https://codex.wordpress.org/Twenty_Fifteen for a guide on how to customize this theme.
|
||||
4. Go to https://wordpress.org/support/article/twenty-fifteen/ for a guide on how to customize this theme.
|
||||
5. Navigate to Appearance > Customize in your admin panel and customize to taste.
|
||||
|
||||
== Copyright ==
|
||||
|
||||
Twenty Fifteen WordPress Theme, Copyright 2014-2018 WordPress.org & Automattic.com
|
||||
Twenty Fifteen WordPress Theme, Copyright 2014-2020 WordPress.org & Automattic.com
|
||||
Twenty Fifteen is distributed under the terms of the GNU GPL
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
@ -56,6 +55,11 @@ Source: http://www.genericons.com
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 2.6 =
|
||||
* Released: March 31, 2020
|
||||
|
||||
https://codex.wordpress.org/Twenty_Fifteen_Theme_Changelog#Version_2.6
|
||||
|
||||
= 2.5 =
|
||||
* Released: May 7, 2019
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue