Funktion theme_options_panel() { add_menu_page ('ss Titel', 'Social Share', 'manage_options', 'theme-options', 'ss_callback');HTML Formularaktion mit WordPress-Plugins?
}
add_action('admin_menu', 'theme_options_panel');
Funktion ss_callback() {
$html .='<form action="index.php/wp-content/plugins/social_media/ss_query.php" method="post">';
$html .= '<br> <br>';
$html .= '<p class="description">';
$html .= 'Upload your social link here.';
$html .= '</p>';
$html .= 'Facebook:'.'<input type="URL" name="fb" value="" />';
$html .= '</br>';
$html .= 'Twitter:'.'<input type="URL" name="tw" value="" />';
$html .= '</br>';
$html .= 'Linkedin:' . '<input type="URL" name="lin" value="" />';
$html .= '</br>';
$html .= '<input type="submit" name="submit" value="Save">';
$html .= '</form>';
echo $html;
}
Was ist die Frage? was funktioniert nicht? –