For some reason I don't think the forum likes me posting code...
18. Feb. 2010
von
18. Feb. 2010
von
For some reason I don't think the forum likes me posting code...
10. Jun. 2014
von
Will man einen bestimmten Beitrag oder eine Seite nicht im Loop von WordPress anzeigen, gibt es einige Möglichkeiten. Sofern man man die ID des Beitrags kennt, nimmt man am einfachsten 'continue', um diese $post->ID zu überspringen. Man nimmt sich eine Vorlage seines Themes welche mehrere…
16. Jul. 2008
von
Um eine Kategorie von der Startseite in Wordpress auszuschliessen, fügt man folgenden Code in der index.php ein: das sollte dort zu finden sein: <?php if (have_posts()) : ?> direkt in eine Zeile darunter kommt neu: <?php if (is_home()) { query_posts($query_string . "&cat=-320"); } ?> das…
3. Mai. 2010
von
there might be something too wide in your sidebar?It could be#sidebar-left {...margin-left:25px;...}this margin might be to wide, try a lower value or even remove this.To get a special single for a certain category I use a switch in single.phpI replace <?php get_header(); ?> IN SINGLE.PHP…
25. Mai. 2011
von
it worked out. thnks for the help. and i want to add it in single.php, also i have already created three ad unit. will it be ok if i create one more for single.php
18. Feb. 2010
von
I'll try posting a very small section:<a href="<?php echo get_option('home'); ?>/"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/logotrial3.jpg" width="410px" height="110px" alt="" /></a> <div id="tagline"><?php bloginfo('description'); ?></div> </div> <div class="right"><?php if ( is_single('Favourbrook') ) { ?><a href="http://www.iamstaggered.com" onClick="javascript: pageTracker._trackPageview('/outgoing/www.designaventure.co.uk');"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/banners/testadvert.png" alt="" width="450px" height="130px" /></a><?php } else…
14.01.2021
von