Ist leider nicht ganz das was ich suche, aber danke. :)
Beiträge von chr1s
-
-
Hallo WPler,
ich suche ein Plugin mit dem ein Formular zusammenstellen kann, mit Textboxen, Checkboxen, etc.!
Wenn der Nutzer alles eingeben, aktiviert etc. hat soll daraus ein Text erstellt werden.
z.B. Wenn Checkbox akt. ist, steht im finalen Text "AGB:Ja".
Mit diversen namenhaften Plugins bekomme ich schöne Formulare hin,
aber die bauen immer auf den E-Mailversand weil es meist ContactForm Plugins sind.Ich möchte den finalen Text in einer Textbox (Vorschaufeld) angezeigt bekommen um ihn dann
weiter verwenden zu können.Kennt jmd. so ein Plugin?
Danke im voraus !
chris
-
Ok hat super funktioniert.
Was müsste ich tun wenn ich die alte Formatierung beibehalten will.
Weil wenn ich jetzt über die versch. Widgets "hover", dann ändert sich die Farbe des gesamten Widgets.
Edit:
KK, danke für deine Hilfe. :D
-
Wo genau?
Also ich erstelle eine functions.php mit dem Inhalt
PHP[LEFT] [COLOR=#000000] [COLOR=#0000cc]<?php [/COLOR][COLOR=#006600]if ( [/COLOR][COLOR=#0000cc]function_exists[/COLOR][COLOR=#006600]([/COLOR][COLOR=#cc0000]'register_sidebar'[/COLOR][COLOR=#006600]) ) [/COLOR][COLOR=#0000cc]register_sidebar[/COLOR][COLOR=#006600](); [/COLOR][COLOR=#0000cc]?>[/COLOR] [/COLOR] [/LEFT]An welcher Stelle in der sidebar.php muss ich deinen Code einfügen.
Hier mal die sidebar.phpPHP
Alles anzeigen<div id="sidebar"> <?php include (TEMPLATEPATH . '/searchform.php'); ?> <?php if (is_single()) { ?> <h3>About This Post</h3> <p class="postmetadata alt"> <small> This entry was posted <?php /* This is commented, because it requires a little adjusting sometimes. You'll need to download this plugin, and follow the instructions: http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> and is filed under <?php the_category(', ') ?>. You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed. <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Both Comments and Pings are open ?> You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site. <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Only Pings are Open ?> Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site. <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Comments are open, Pings are not ?> You can skip to the end and leave a response. Pinging is currently not allowed. <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Neither Comments, nor Pings are open ?> Both comments and pings are currently closed. <?php } edit_post_link('Edit this entry.','',''); ?> </small> </p> <h3>Navigate</h3> <ul class="navigation"> <?php previous_post_link('<li>Previous: <strong>%link</strong></li>') ?> <?php next_post_link('<li>Next: <strong>%link</strong></li>') ?> </ul> <?php } else { ?> <!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it. <li><h2>Author</h2> <p>A little something about you, the author. Nothing lengthy, just an overview.</p> </li> --> <?php /* If this is a 404 page */ if (is_404()) { ?> <?php /* If this is a category archive */ } elseif (is_category()) { ?> <h3>About This Page</h3> <p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p> <?php /* If this is a yearly archive */ } elseif (is_day()) { ?> <h3>About This Page</h3> <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the day <?php the_time('l, F jS, Y'); ?>.</p> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h3>About This Page</h3> <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <?php the_time('F, Y'); ?>.</p> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h3>About This Page</h3> <p>You are currently browsing the <a href="<?php bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for the year <?php the_time('Y'); ?>.</p> <?php /* If this is a monthly archive */ } elseif (is_search()) { ?> <h3>About This Page</h3> <p>You have searched the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p> <?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h3>About This Page</h3> <p>You are currently browsing the <a href="<?php echo bloginfo('home'); ?>/"><?php echo bloginfo('name'); ?></a> weblog archives.</p> <?php } ?> <h3>Pages</h3> <ul> <?php wp_list_pages('title_li='); ?> </ul> <h3>Archives</h3> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> <h3>Categories</h3> <ul> <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> </ul> <?php } ?> <ul id="sidebar"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <?php endif; ?> </ul> </div>Danke schon mal :D
-
Hallo WP Deutschland Community,
ich brauche Hilfe zum Thema Sidebar/Widgetfähigkeit.
Ich habe ein Theme das noch nicht "Widgetfähig" ist.Wer kann mir die *.php Dateien anpassen?
[Blockierte Grafik: http://www.wordpressthemesblog.com/wp-content/upl…chaoticsoul.jpg]
###
Ich weiss das ich eine functions.php erstellen muss mit diesem Code (Bsp.)
PHP1. <?php 2. if ( function_exists('register_sidebar') ) 3. register_sidebar(array( 4. 'before_widget' => '<div id="%1$s">', 5. 'after_widget' => '</div>', 6. 'before_title' => '<h2 class="widget">', 7. 'after_title' => '</h2>', 8. )); 9. ?>Aber wenn ich dann im Dashboard unter Designs/Widgets gehe,..kommt noch immer die Fehlermeldung:
CodeEs wurde keine Sidebar definiert Dein aktuell genutztes Theme unterstützt keine Widgets. Das bedeutet, dass es keine Sidebar gibt, die du ändern könntest.###
Wer kann helfen? Oder sogar das Theme runterladen (Link unter dem Previewbild) und mir Dateien (Ich glaube nur "functions.php + sidebar.php") anpassen??
Danke im voraus!!!!
Gruss chr1s