Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Lara

    (@mojamalarevolucja)

    I solved the problem and hope it will be helpful for whoever has the same issue.

    Actually the solution is kinda embarrising: Check if the commentform appears in the code AFTER the Post. Otherwise the Script can′t assign the comments to the corresponding thread. ?? Problem solved.

    Thread Starter Lara

    (@mojamalarevolucja)

    Ok, found out it had sth to do with the single Page. One of the Pagemarker isnt working in case you try…

    Thread Starter Lara

    (@mojamalarevolucja)

    @6

    I tried to include different layouts by using this code:

    <?php if (have_posts()) : ?><?php $first = 1; while (have_posts()) : the_post();
    
    		if (is_category('4')) {
    		get_template_part( 'index-4' );
    		} else if (is_category('5')) {
    		get_template_part( 'index-5' );
    		} else if (is_category('16')) {
    		get_template_part( 'index-16' );
    		} else if (is_category('17')) {
    		get_template_part( 'index-17' );
    		} else if (is_category('18')) {
    		get_template_part( 'index-18' );
    		}else if (is_category(18)) {
    		get_template_part( 'index-18' );
                    }else if (is_category('19')) {
    		get_template_part( 'index-19' );
    		}else {<p>This is some generic text to describe all other category pages,
    I could be left blank</p>; }
    ?>

    I already mentioned that I am new to PHP so maybe someone could correct me what I’m doing wrong.

    Lara

    (@mojamalarevolucja)

    Hm…don′t like to dig, but could somebody please explain how to integrate this function? I don′t see where my template uses post_class() (i use Mistylook basically) and I don′t find the right position for the given code.

    Is it even possible to use html in the stylesheets? Might be a stupid question but I don′t really know how to code, I can hardly read it, so please don′t be harsh to me ??

    Lara

Viewing 4 replies - 1 through 4 (of 4 total)