Forum Replies Created

Viewing 5 replies - 166 through 170 (of 170 total)
  • physalis

    (@physalis)

    It must be ‘input’, not IMput. I styled it with css, no problem at all. Best to put it into the style.css if you didn’t already do that ?? .

    Thread Starter physalis

    (@physalis)

    Well, the wp_head is already included.. so this cannot trick wordpress to forget the css…

    Yes, it is a custom loop, looking like this:

    <?php
    // page id 18 will get category ID 6,7,8 posts, page 30 will... etc.
    if (is_page('18') ) {
    $cat = array(6,7,8);
    } elseif ( is_page('30') ) {
    $cat = 9;
    } elseif ( is_page('22') ) {
    $cat = 10;
    } else {
    $cat = '';
    }
    
    $showposts = 2; // -1 shows all posts
    $do_not_show_stickies = 1; // 0 to show stickies
    $args=array(
       'category__in' => $cat,
       'showposts' => $showposts,
       'caller_get_posts' => $do_not_show_stickies
       );
    $my_query = new WP_Query($args); 
    
    ?>
    	<?php if( $my_query->have_posts() ) : ?>
    
    		<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
    			<?php
    			//necessary to show the tags
    			global $wp_query;
    			$wp_query->in_the_loop = true;
    			?>

    …followed by the specific post appearance with usual parameters (the_permalink, the_time etc.).

    My last point was obviously bullshit. I checked again and found out that it integrates images nicely and as it should. Only custom classes from my own css are ignored (so that I see no bg pics etc.).

    Thanks for looking into that ?? .

    Same here, rest assured. Wonder if no-one else is facing these problems here.

    Thread Starter physalis

    (@physalis)

    Hey there,
    nobody willing or able to help further? Thanks a bunch….

    Thread Starter physalis

    (@physalis)

    Hey doc4,

    you’re gold, thanks a lot. I nevertheless have still the core problem that I don’t get snippets from x/all posts inside the subcategories shown on the page with the code given. I cannot find any options for wp_list_categories to insert excerpts. the_excerpt also works only on post pages….

Viewing 5 replies - 166 through 170 (of 170 total)