ohh okay, jetzt seh ich was du meinst :shock:
Willst du meine einfache Holzhammermethode erfahren? Doch mit PHP arbeiten!
Dafür musst du dir also eine style.php anlegen. Diese dann wie folgt aufbauen:
PHP
<?php
header("Content-type: text/css");
require('../../../wp-load.php'); // Include Wordpress
if(!is_home){ ?>
div.entry-content a:link {
color: #5166A3;
text-decoration: underline;
}
div.entry-content a:visited {
color: #5166A3;
}
div.entry-content a:hover {
color: #A68B52;
text-decoration: underline;
}
div.entry-content a:active {
color: #A68B52;
}
<?php } ?>
Alles anzeigen
Und in der header.php diese dann als stylesheet einrichten: