Hallo,
ich würde gern zusätzliche Eingabefelder für die Benutzerprofilseiten erstellen, so wie es hier dargestellt ist. Ich habe leider nicht wirklich viel Ahnung von PHP. Ich nutze als Theme Weaver 2.2.6, habe als Plugins CodeStyling Localization und Event Calendar 3. wp-content/themes/weaver/functions.php sieht so aus:
<?php
/* This is the main function.php override file - it controls most of the stuff happening with the theme */
/* Anything you need to actively do, put here. This is the first code that will get run whenever the
child theme is activated and used. This example just re-defines a function, but you could do anything.
*/
function weaver_continue_reading_link() {
/* very simple example - override the read more text... */
$msg = '[CLICK TO READ MORE]';
return ' <a class="more-link" href="'. get_permalink() . '">' . $msg . '</a>';
}
?>
Alles anzeigen
Aber egal wie ich hier mit dem Codeschnipsel rumprobiere, die Eingabefelder der Kontaktinfos wollen sich nicht verändern. Wie müsste die gesamte functions.php denn aussehen?
Das ist die Webadresse des frischgestarteten Wordpress-Projekts: http://vcd-mitte.de, Ziel ist, dass für die Ortsgruppen Profilseiten erstellt werden können, die nicht so was wie "AIM" oder "Jabber" ausgeben, sondern "Ansprechpartner" und "Telefonnummer".
Über Hilfe würde ich mich sehr freuen.