|
|
@@ -817,27 +817,60 @@ add_action("admin_menu", "add_theme_menu_item");
|
|
|
function kontakt_daten()
|
|
|
{
|
|
|
?>
|
|
|
- <textarea type="text" rows="10" cols="30" name="kontakt_daten" id="kontakt_daten">
|
|
|
+ <textarea type="text" rows="10" cols="30" name="kontakt_daten" id="kontakt_daten" style="width: 50%;" >
|
|
|
<?php echo get_option('kontakt_daten', '<h3 class="small-title">Kontakt</h3><p>realitylab gmbh <br>Ernst-Melchior-Gasse 11/1/G1<br>1020 Wien<br>Fon: (43) 01 996 20 15 - 0<br>Mail: office@realitylab.at<br></p><!--<div class="social-footer"><a href="#"><i class="fa fa-facebook icon-round"></i></a><a href="#"><i class="fa fa-twitter icon-round"></i></a><a href="#"><i class="fa fa-linkedin icon-round"></i></a></div> -->'); ?>
|
|
|
</textarea>
|
|
|
<?php
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
-function display_facebook_element()
|
|
|
+
|
|
|
+function zweite_spalte()
|
|
|
+{
|
|
|
+ ?>
|
|
|
+ <textarea type="text" rows="10" cols="30" name="zweite_spalte" id="zweite_spalte" style="width: 50%;" >
|
|
|
+ <?php echo get_option('zweite_spalte', ''); ?>
|
|
|
+ </textarea>
|
|
|
+ <?php
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+function dritte_spalte()
|
|
|
{
|
|
|
?>
|
|
|
- <input type="text" name="facebook_url" id="facebook_url" value="<?php echo get_option('facebook_url'); ?>" />
|
|
|
+ <textarea type="text" rows="10" cols="30" name="dritte_spalte" id="dritte_spalte" style="width: 50%;" >
|
|
|
+ <?php echo get_option('dritte_spalte', '<p>Wir sind mitglied bei:</p><p> </p><p><img src="https://dummyimage.com/30x30/000000/fff.jpg" alt="dummy" /> <img src="https://dummyimage.com/30x30/000000/fff.jpg" alt="dummy" /></p>'); ?>
|
|
|
+ </textarea>
|
|
|
<?php
|
|
|
-}*/
|
|
|
+}
|
|
|
+
|
|
|
+function vierte_spalte()
|
|
|
+{
|
|
|
+ ?>
|
|
|
+ <textarea type="text" rows="10" cols="30" name="vierte_spalte" id="vierte_spalte" style="width: 50%;" >
|
|
|
+ <?php echo get_option('vierte_spalte', ''); ?>
|
|
|
+ </textarea>
|
|
|
+ <?php
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
function display_theme_panel_fields()
|
|
|
{
|
|
|
- add_settings_section("section", "All Settings", null, "theme-options");
|
|
|
+ add_settings_section("section", "Textblöcke. HTML is erlaubt.", null, "theme-options");
|
|
|
+
|
|
|
+ add_settings_field("kontakt_daten", "Kontaktdaten (1. Spalte im Footer)", "kontakt_daten", "theme-options", "section");
|
|
|
+ register_setting("section", "kontakt_daten");
|
|
|
+
|
|
|
+ add_settings_field("zweite_spalte", "2. Spalte im Footer", "zweite_spalte", "theme-options", "section");
|
|
|
+ register_setting("section", "zweite_spalte");
|
|
|
+
|
|
|
+ add_settings_field("dritte_spalte", "3. Spalte im Footer", "dritte_spalte", "theme-options", "section");
|
|
|
+ register_setting("section", "dritte_spalte");
|
|
|
+
|
|
|
+ add_settings_field("vierte_spalte", "4. Spalte im Footer", "vierte_spalte", "theme-options", "section");
|
|
|
+ register_setting("section", "vierte_spalte");
|
|
|
+
|
|
|
|
|
|
- add_settings_field("kontakt_daten", "Contact data", "kontakt_daten", "theme-options", "section");
|
|
|
|
|
|
- register_setting("section", "kontakt_daten");
|
|
|
/*
|
|
|
add_settings_section("section", "All Settings", null, "theme-options");
|
|
|
|