yollyflopp
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Exclude term_idThanks, that did the trick! And as you said, easy to exclude another ID if needed.
Forum: Plugins
In reply to: [WP Contact Slider – Contact Form Slider Widget] Link-for-non-js-usersI’m having the same problem. Please see http://www.guestify.se.
I have tried disable all plugins except for CF7 and WP Contact slider
The slider is on the right side when you scroll down a couple of pixels
Forum: Fixing WordPress
In reply to: Show one post, then a list of the rest (in the current category)As of right now i work in the indexpage, but I attached the link GRAFISK PRODUKTION to my category-php now and that code looks like tis:
You can find it here http://213.88.224.72/?cat=11
The post looks almost the same. So no need for that now…
Forum: Fixing WordPress
In reply to: Show one post, then a list of the rest (in the current category)Yes that’s what I’m been doing, but I got so frustrated that I didn´t get it so work as I wanted. Either It showed all the latest posts (from every category) or just the post from one category ID or listed all the posts from my category (the active one included).
Thats why I posted here.
Forum: Fixing WordPress
In reply to: Show one post, then a list of the rest (in the current category)There are no tags yet, I’m in the development state right now.
Forum: Fixing WordPress
In reply to: Same post one every page with query_postOH thanks, that made my day! Now its working, but i had to change the ASC to DSC, so I got the latest first. I changed this to resolved. Thanks again!
Forum: Fixing WordPress
In reply to: Same post one every page with query_postIt still doesn’t work in index see this page, it’s the same problem as the whole time, it shows 5 posts (in 5 pages) but the post is the same on every page.
<?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } elseif ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } global $query_string; query_posts( $query_string . "&order=ASC&paged=$paged" ); ?> <?php $today = date('N'); if( $today == 1) : query_posts( 'cat=10' ); { ?> <?php } elseif( $today == 2 ) : query_posts( 'cat=5' ); { ?> <?php } elseif( $today == 3 ) : query_posts( 'cat=7' ); { ?> <?php } elseif( $today == 4 ) : query_posts( 'cat=9' ); { ?> <?php } elseif( $today == 5 ) : query_posts( 'cat=6' ); { ?> <?php } elseif( $today == 6 ) : query_posts( 'cat=11' ); { ?> <?php } elseif( $today == 7 ) : query_posts( 'cat=8' ); { ?> <?php } ?> <?php endif; ?>Forum: Fixing WordPress
In reply to: Same post one every page with query_postHmm sorry but the site isn’t showing at all with that, any other ideas or can you see someting wrong with it?
Forum: Fixing WordPress
In reply to: Show specific category on specific week dayI solved it myself with just using this following code before the “have_posts”-coding
<?php $today = date('N'); if( $today == 1) : query_posts( 'cat=8' ); { ?> <?php } elseif( $today == 2 ) : query_posts( 'cat=5' ); { ?> <?php } elseif( $today == 3 ) : query_posts( 'cat=7' ); { ?> <?php } elseif( $today == 4 ) : query_posts( 'cat=9' ); { ?> <?php } elseif( $today == 5 ) : query_posts( 'cat=10' ); { ?> <?php } elseif( $today == 6 ) : query_posts( 'cat=6' ); { ?> <?php } elseif( $today == 7 ) : query_posts( 'cat=11' ); { ?> <?php } ?> <?php endif; ?>