Support Forum

Möchtest Du Moderator hier im Forum werden? Melde Dich einfach per eMail bei mir.
Wanna become a forums moderator? Just drop me an email.

Willkommen im Support Forum. Bitte nutzt das Forum für alle Fragen, Probleme und Fehlermeldungen rund um meine Themes. Um Spam zu vermeiden, müsst Ihr dazu ab sofort registriert sein. Ihr könnt hier in Deutsch oder auch Englisch posten.

Welcome to the support forums. Please use this forums for any type of questions, bug-reports or any other related stuff concerning my themes. To avoid spam you have to be registered to post in this forum.


Bevor Ihr im Forum postet, schaut nach, ob eure Frage nich schon einmal beantwortet wurde. Es werden keine Fragen zu grundlegenden WordPress Funktionalitäten beantwortet. Dafür gibt es die allgemeinen WordPress Foren und den unschlagbaren WordPress Codex. Außerdem empfehle ich zuerst die Tutorials zu lesen, da dort die meisten Fragen beantwortet werden. Für absolute Anfänger, die bisher wenig mit WordPress gearbeitet haben, empfiehlt es sich, ein paar Euro in das e-Book “Sites that Soar” von Aisling d´Art zu investieren. Das Buch erklärt den Aufbau einer Website anhand von BranfordMagazine Schritt für Schritt. Es ist zwar nur in englisch verfügbar, aber doch sehr einfach und verständlich.

Please make sure your question hasn´t been postet before. I will not answer questions on basic WordPress functionalities because there are general WordPress forums and the amazing WordPress Codex which do this job better. Check out the tutorials. Most of the questions will be answered here. For unexperienced WordPress useres I reccomend to purchase the e-book “Sites that Soar” by Aisling d´Art. This book shows a step-by-step how-to build up a website using WordPress and BranfordMagazinne.

This e-book is highly recommended for new WordPress users
who want to use BranfordMagazine:

Get the e-book 'Sites that Soar'



Ich stehe für individuelle Programmierarbeiten, oder Themeanpassungen zur Verfügung. Bei Interesse schickt mir einfach eine eMail an support[at]der-prinz.com. Bitte lest zuerst die “Forumsregeln” bevor Ihr postet.

I am available for freelance programming or theme customization. If you are interested just drop me an email at support[at]der-prinz.com. Please read the “forum rules” before you post.



You must be logged in to post Login Register

Search 
Search Forums:


 




Position Advertbild in der Sidebar

UserPost

18:49
11. Juli 2008


mighty

Member

posts 11

Hey, danke!

ich weiß es zu schätzen. Jetzt ist es so wie ich es mir vorgestellt habe! Laughing

Wochenende ist gerettet…


18:02
11. Juli 2008


Daishi

Moderator

Schweiz

posts 42

Aus'm Stand code verändern kann ich weniger gut :D, muss immer gleich das Resultat sehen :D.

Also der veränderte code beinhaltet jetzt das advert teil oben ist und ein zusätzlicher punkt bei der Kategorieauflistung, dabei werden einfach 4 angezeigt … welche vier weiss ich nicht :D das wäre ein weiterer Punkt.


<?php /*?><link href=”style.css” rel=”stylesheet” type=”text/css” /><?php */?>
<div id=”sidebar”>
  <ul id=”sidelist”>
  <li>
    <?php     /* Widgetized sidebar, if you have the plugin installed. */
                    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Regular Sidebar') ) : ?>
     <li>
      <h3><?php _e('Ads &amp; Sponsors','branfordmagazine');?></h3>
      <!– I placed this advert here only to not let this place empty. You can remove or change it as you like –>
      <img src=”<?php bloginfo('template_url'); ?>/images/advert.gif” alt=”ads” width=”250″ height=”250″ />
    </li> 

    <?php
// this is where 10 headlines from the current category get printed     
if ( is_single() ) :
global $post;
$categories = get_the_category();
foreach ($categories as $category) :
?>
   
    <li>
      <h2><?php _e('More from this category','branfordmagazine');?></h2>
      <ul class=”bullets”>
        <?php
$posts = get_posts('numberposts=10&category='. $category->term_id);
foreach($posts as $post) :
?>
        <li><a href=”<?php the_permalink(); ?>”>
          <?php the_title(); ?>
          </a></li>
        <?php endforeach; ?>
        <li><strong><a href=”<?php echo get_category_link($category->term_id);?>” title=”<?php _e('View all posts filed under','branfordmagazine');?> <?php echo $category->name; ?>”><?php _e('Archive for','branfordmagazine');?> '<?php echo $category->name; ?>' &raquo;</a></strong></li>
      </ul>
    </li>
    <?php endforeach; endif ; ?>
    <?php if ( is_home() ) { ?>
    <li>
      <h3>
        <?php
    // this is where the name of the News (or whatever) category gets printed     
    wp_list_categories('include=1&title_li=&style=none'); ?>
      </h3>
      <?php
// this is where the last three headlines are pulled from the News (or whatever) category
        query_posts('showposts=5&offset=1&cat=1');     
        ?>
      <ul class=”bullets”>
        <?php while (have_posts()) : the_post(); ?>
        <li><a href=”<?php the_permalink() ?>” rel=”bookmark”>
          <?php the_title(); ?>
          </a></li>
        <?php endwhile; ?>
      </ul>
    </li>
    <?php } ?>
    <li>
      <h3><?php _e('Browse Categories','branfordmagazine');?></h3>
      <ul class=”subnav”>
       <?php wp_list_categories('orderby=order&hide_empty=1&title_li=&exclude=7&number=4');?>
      </ul>
    </li>

    <li>
      <h3><?php _e('Browse Archives','branfordmagazine');?></h3>
      <?php get_archives('monthly','',''); ?>
    </li>
    <li>
      <h3><?php _e('Stay informed','branfordmagazine');?></h3>
      <ul class=”feed”>
        <li><a href=”<?php bloginfo('rss2_url'); ?>”>Entries (RSS)</a></li>
        <li><a href=”<?php bloginfo('comments_rss2_url'); ?>”>Comments RSS)</a></li>
      </ul>
    </li>
    <li>
      <h3><?php _e('Who writes','branfordmagazine');?></h3>
      <ul class=”bullets noborder”>
        <?php wp_list_authors ('exclude_admin=0&show_fullname=1&hide_empty=1'); ?>
      </ul>
    </li>
  <?php endif; ?>
  </li>
  </ul>
  <!–END SIDELIST–>
</div>
<!–END SIDEBAR–>


14:49
11. Juli 2008


mighty

Member

posts 11

Recht haste: http://www.profifinanz24.com

Danke für Deine Tipps, kann diese aber nicht umsetzen. Jedesmal mache ich mehr kaputt, als das ich meinem Ziel näher komme.

So sieht meine sidebar.php aus:

<div id=”sidebar”>
  <ul id=”sidelist”>
    <?php     /* Widgetized sidebar, if you have the plugin installed. */
                    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>
    <?php endif; ?>
    <?php
// this is where 10 headlines from the current category get printed     
if ( is_single() ) :
global $post;
$categories = get_the_category();
foreach ($categories as $category) :
?>
    <li>
      <h2><?php _e('More from this category','branfordmagazine');?></h2>
      <ul class=”bullets”>
        <?php
$posts = get_posts('numberposts=10&category='. $category->term_id);
foreach($posts as $post) :
?>
        <li><a href=”<?php the_permalink(); ?>”>
          <?php the_title(); ?>
          </a></li>
        <?php endforeach; ?>
        <li><strong><a href=”<?php echo get_category_link($category);?>” title=”<?php _e('View all posts filed under','branfordmagazine');?> <?php echo $category->name; ?>”><?php _e('Archive for','branfordmagazine');?> '<?php echo $category->name; ?>' &raquo;</a></strong></li>
      </ul>
    </li>
    <?php endforeach; endif ; ?>
    <?php if ( is_home() ) { ?>
    <li>
      <h3>
        <?php
    // this is where the name of the News (or whatever) category gets printed     
    wp_list_categories('include=1&title_li=&style=none'); ?>
</h3>
      <?php
// this is where the last three headlines are pulled from the News (or whatever) category     
        query_posts('showposts=3&cat=1');        
        ?>
      <ul class=”bullets”>
        <?php while (have_posts()) : the_post(); ?>
        <li><a href=”<?php the_permalink() ?>” rel=”bookmark”>
          <?php the_title(); ?>
          </a></li>
        <?php endwhile; ?>
      </ul>
    </li>
    <?php } ?>
    <li>
      <h3><?php _e('Browse Categories','branfordmagazine');?></h3>
      <ul class=”subnav”>

       <?php wp_list_categories('orderby=order&hide_empty=1&title_li=&exclude=7');?>      </ul>
    </li>
    <li>
      <h3><?php _e('=> Terminvereinbarung <=','branfordmagazine');?></h3>
      <!– I placed this advert here only to not let this place empty. You can remove or change it as you like –>

<a href=http://www.profifinanz24.com/Kalender/so3.9.23/index.php target=_blank ><img src=http://www.profifinanz24.com/wp-content/themes/brandfordmagazine/images/Advert.gif border=0 alt=/images/Advert.gif/></a>

<?php show_ticker(); ?>

      <h3><?php _e('Browse Archives','branfordmagazine');?></h3>
      <?php get_archives('monthly','',''); ?>
    </li>
    <li>
      <h3><?php _e('Stay informed','branfordmagazine');?></h3>
      <ul class=”feed”>
        <li><a href=”<?php bloginfo('rss2_url'); ?>”>Entries (RSS)</a></li>
        <li><a href=”<?php bloginfo('comments_rss2_url'); ?>”>Comments RSS)</a></li>
      </ul>
    </li>
    <li>
      <h3><?php _e('Who writes','branfordmagazine');?></h3>
      <ul class=”bullets”>
        <?php wp_list_authors ('exclude_admin=0&show_fullname=1&hide_empty=1&feed_image=' .get_bloginfo('template_url') . '/images/rss.gif&feed=XML'); ?>
      </ul>
    </li>
  </ul>
  <!–END SIDELIST–>
</div>
<!–END SIDEBAR–>

Vielleicht fällt es Dir einfachen als mir. Wäre echt nett.

13:30
11. Juli 2008


Daishi

Moderator

Schweiz

posts 42

Also zuerst muss ich anmerken das dein Link nichts taugt :D, irgendwie verschrieben.

Zu deinen Änderungen, die sind einfach per sidebar.php Template zu ändern, dort kannst du die Reihenfolge ändern und das advert-codeschnipsel raufnehmen.

Die andere Sache ist von wp gegeben, in folgendem codeschnipsel

       <?php wp_list_categories('orderby=order&hide_empty=1&title_li=&exclude=7');?>

kannst du bearbeiten, und nach Wunsch Kategorien zeigen lassen, nur 4, ausgewählte 4, etc., dafür möchte ich dir diese Seite nahe legen http://doku.wordpress-deutschland.org/Template_Tags/wp_list_categories


:) hoffe das hilft

12:03
11. Juli 2008


mighty

Member

posts 11

Your Website or Blog URL: http://www.profifinan24.com &nbsp;
Your themes version:   
Your WP Version:2.5.1

Hallo nochmal,

ich würde gerne die Positionen in der Sidebar ändern, sodass das ADVERT Bild ganz oben steht. Kann mir da jemand helfen?

2. Wie kann ich Kategorien is der Sidebar ausblenden. Ich möchte hier nur 4 oder 4 anzeigen.

Vielen Dank vorab schonmal.




Reply to Topic: Position Advertbild in der Sidebar
Please make sure your support question wasn´t posted (and answered) before. Please use the forums search to avoid double posts.

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 2 + 1        (Required)

Topic Reply:


 

About the DER PRiNZ forum

Currently Online:

8 Guests

Maximum Online: 25

Forums:

Groups: 4

Forums: 9

Topics: 444

Posts: 1776

Members:

There are 137 members

There are 240 guests


Michael Oeser has made 600 posts

Top Posters:

Daishi - 42

dnrothwell - 27

smilepak - 25

Nachhall-Texter - 19

pointysticks - 18

Administrator: Michael Oeser | Moderators: Michael Oeser, Daishi


© Simple:Press Forum - Version 3.1.3 (Build 356)  


Readers voices

Featured

    Get my brandnew theme WyntonMagazine - Ready for localization. Additional features.

  • WyntonMagazine WordPress theme
  • Get my theme BranfordMagazine - English, German and other languages available.

  • BanfordMagazine WordPress theme
  • Get the e-book "Sites that Soar" - New version out now More info

  • Get the e-book 'Sites that Soar'

Spenden / Donate

    Falls Ihnen meine Arbeit etwas Geld wert ist. / If you feel my work is worth a little money.