Wordpress:Änderungen

Aus VeloWikiRuhr
(Weitergeleitet von Änderungen)
Wechseln zu: Navigation, Suche

velocityruhr.net: ColorMag

to do für Karten http://stephanieleary.com/2010/02/using-shortcodes-everywhere/ http://beerpla.net/2010/10/15/how-to-add-shortcode-support-to-wordpress-comments-and-sidebars/


  • Damit die Breitragbilder nicht wiederholt werden ergänzen:
.single .featured-image {</code>
display: none;
</code>
}
  • Damit die Beiträge nicht nebeneinander angezeigt werden in style.css des Theme ColorMag mit /* ... */ folgendes ausschalten:
.blog .post:nth-child(2n) {
/* float: left; */
/* width: 48.7013%; */
clear: both;
}
.blog .post:nth-child(2n+1) {
/* float: right; */
/* width: 48.7013%; */
}
sowie
.archive #content .post:nth-child(2n+1) {
/* float: right;*/
/* width: 48.7013%;*/
}
.archive #content .post:nth-child(2n) {
/*float: left;*/
/*width: 48.7013%;*/
clear: both;
}

(oder in custom-CSS positiv anders definieren (s. u.))

  • Kästen, Fußnotenzahlen und Fußnotenbereich formatieren

Custom-CSS im Backend

/* eigentlich nicht nötig
----------------------------------------------- */
/*
.entry-details {
text-transform: none !important;
}*/
/* Kasten
----------------------------------------------- */
.infobox {
border: 4px solid #e41a18;
padding: 10px;
}
.hinweis {
background-color: #efefef;
padding: 10px;
}
/* Beitragsbilder nicht wiederholen
----------------------------------------------- */
.single .featured-image {
display: none;
}
/*Fußnotenzahl
----------------------------------------------- */
.fussnote {
font-weight: bold;
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
top: -0.5em;
}
/*Fußnotenbereich
----------------------------------------------- */
.fussnotenbereich {
border-top: 1px solid #ccc;
font-size: .75rem;
margin-top: 3rem;
padding-top: 1.5rem;
}
/* Anordnung Beiträge
----------------------------------------------- */
.blog .post:nth-child(2n) {
float: none;
width: 100%;
}
.blog .post:nth-child(2n+1) {
float: none;
width: 100%;
}
.archive #content .post:nth-child(2n) {
float: none;
width: 100%;
}
.archive #content .post:nth-child(2n+1) {
float: none;
width: 100%;
}


Child-Anpassungen (offen)

Untertitel anzeigen

In content-single.php vor </header>

<?php the_subheading('', ''); ?> ergänzt. '<i>', '</i>' steuert die kursive Ausgabe und kann weggelassen werden.

In Seiten-Template (page.php) das gleiche ????

Upload von weiteren Datei-Typen erlauben

Quelle: http://pixelbar.be/blog/upload-von-dateitypen-wie-swf-rtf-tif-oder-zip-in-wordpress-mediathek-erlauben/ (abgwandelt)

In functions.php ergänzen:

/**

  • ZIP-Upload ermöglichen
  • /

add_filter('upload_mimes', 'eigene_upload_mimes'); function eigene_upload_mimes( $vorhandene_mimes ){

 $vorhandene_mimes['zip']  = 'application/zip';
 $vorhandene_mimes['swf']  = 'application/x-shockwave-flash';
 $vorhandene_mimes['rar']  = 'application/zip';
 $vorhandene_mimes['tiff'] = 'image/tiff';
 return $vorhandene_mimes;

}

Co-Autor Plus

https://vip.wordpress.com/documentation/incorporate-co-authors-plus-template-tags-into-your-theme/

gartenstadtradweg.velocityruhr.net: MH Magazine lite

Es wurden folgende Änderungen vorgenommen:

  • keine Beitragsbilder auf der Startseite
im Abschnitt /***** Posts/Pages *****/ in style.css

.mh-image-placeholder { display: none; }

am Ende ergänzen.
  • Boxen, Fußnoten und Fußnotenzahlen wie bei velocityruhr.net

Benutzer-CSS im Backend

.mh-image-placeholder { display: none; }
/* Kasten
----------------------------------------------- */
.infobox {
border: 4px solid #e41a18;
padding: 10px;
}
.hinweis {
background-color: #efefef;
padding: 10px;
}
/*Fußnotenzahl
----------------------------------------------- */
.fussnote {
font-weight: bold;
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
top: -0.5em;
}

gutzuwissen.velocityruhr.net (Customizr)

Benutzer-CSS im Backend

a,
.btn-link,
.navbar-link:focus,
.navbar .nav > li > a:hover,
.navbar .nav li.dropdown.open.active > .dropdown-toggle,
.carousel-control:focus,
.widget h3:before,
.navbar-wrapper .navbar h2,
h2.site-description,
.navbar .nav > li.current-menu-item > a,
.navbar .nav > li.current-menu-ancestor > a,
.archive .archive-header .format-icon:before,
.dropdown-menu > li.current-menu-ancestor > a,
.dropdown-submenu:focus > a,
.widget.widget_rss li:before,
.social-block a:hover,
.page-links button.btn,
  1. footer #calendar_wrap table a,
footer#footer .colophon a.back-to-top {
color: #e10707;
}
.nav-list > .active > a:focus,
.nav-pills > .active > a:focus {
background-color: #e41a18;
}
a.thumbnail:focus {
border-color: #e41a18;
}
.tc-header {
border-top-color: #e41a18;
}
.nav .dropdown-toggle .caret,
.navbar .nav li.dropdown > a:focus .caret,
.navbar .nav li.dropdown.open.current-menu-ancestor > .dropdown-toggle
.caret {
border-top-color: #e41a18;
border-bottom-color: #e41a18;
}
blockquote,
.dropdown-menu > li.current-menu-ancestor > a:after {
border-left-color: #e41a18
}
a:focus,
.btn-link:focus {
color: #970505;
}
.navbar .btn-navbar[disabled],
  1. wp-calendar th {
background-color: #970505;
}
.btn-primary[disabled] {
background-color: #970505;
*background-color: #7e0404;
}
.nav .dropdown-toggle:focus .caret {
border-top-color: #970505;
border-bottom-color: #970505;
}
.btn-primary.active {
background-color: #650303 \9;
}
.navbar .btn-navbar[disabled] {
background-color: #7e0404;
*background-color: #650303;
}
h3.assistive-text {
color: #f93c3c;
}
.uneditable-input:focus {
border-color: #f93c3c;
-webkit-box-shadow: 0 0 8px #f93c3c;
-moz-box-shadow: 0 0 8px #f93c3c;
box-shadow: 0 0 8px #f93c3c;
}
.dropdown-submenu:focus > a,
.dropdown-menu > .active > a:focus {
background-color: #d70707;
background-image: -webkit-gradient(linear, 0 0, 0 100%,
from(#e41a187), to(#c80606));
background-image: -webkit-linear-gradient(top, #e41a18, #c80606);
background-image: -moz-linear-gradient(top, #e41a18, #c80606);
background-image: -o-linear-gradient(top, #e41a18, #c80606);
background-image: linear-gradient(to bottom, #e41a18, #c80606);
filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe10707' ,
endColorstr='#ffc80606' , GradientType=0)
}
.btn-primary {
background-color: #c30606;
background-image: -moz-linear-gradient(top, #e41a18, #970505);
background-image: -webkit-gradient(linear, 0 0, 0 100%,
from(#e41a187), to(#970505));
background-image: -webkit-linear-gradient(top, #e41a18, #970505);
background-image: -o-linear-gradient(top, #e41a18, #970505);
background-image: linear-gradient(to bottom, #e41a187, #970505);
filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe10707' ,
endColorstr='#ff970505' , GradientType=0);
border-color: #970505 #970505 #4d0202;
*background-color: #970505;
}
.btn-info {
background-color: #f93737;
background-image: -moz-linear-gradient(top, #fa5454, #f70a0a);
background-image: -webkit-gradient(linear, 0 0, 0 100%,
from(#fa5454), to(#f70a0a));
background-image: -webkit-linear-gradient(top, #fa5454, #f70a0a);
background-image: -o-linear-gradient(top, #fa5454, #f70a0a);
background-image: linear-gradient(to bottom, #fa5454, #f70a0a);
filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffa5454' ,
endColorstr='#fff70a0a' , GradientType=0);
border-color: #f70a0a #f70a0a #b00505;
*background-color: #f70a0a;
}
.navbar .btn-navbar {
background-color: #ab0505;
background-image: -moz-linear-gradient(top, #c80606, #7e0404);
background-image: -webkit-gradient(linear, 0 0, 0 100%,
from(#c80606), to(#7e0404));
background-image: -webkit-linear-gradient(top, #c80606, #7e0404);
background-image: -o-linear-gradient(top, #c80606, #7e0404);
background-image: linear-gradient(to bottom, #c80606, #7e0404);
filter:
progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc80606' ,
endColorstr='#ff7e0404' , GradientType=0);
border-color: #7e0404 #7e0404 #340202;
*background-color: #7e0404;
}
.btn-info[disabled] {
background-color: #f70a0a;
*background-color: #e41a18;
}
.btn-info.active {
background-color: #c80606 \9;
}
.navbar .btn-navbar.active {
background-color: #4d0202 \9;
}
a.carousel-control:hover {
color: #e41a18;
}
.widget.widget_archive li:before,
.widget.widget_categories li:before,
.widget.widget_calendar li:before,
.widget.widget_pages li:before,
.widget.widget_links li:before,
.widget.widget_meta li:before,
.widget.widget_recent_entries li:before,
.widget.widget_recent_comments li:before,
.widget.widget_nav_menu li:before,
.widget.widget_rss li:before {
color: #e41a18;
}

Plugin WP-RSS-Aggregator

"By" durch "Autor:" ersetzen, da es unter Einstellungen nicht möglich ist.

  • Öffne folgende Datei: /velocityruhr.net/wordpress/wp-content/plugins/wp-rss-aggregator/includes/feed-display.php
  • Gehe zu Abschnitt: // AUTHOR
  • Ersetze "By" durch "Autor:"