Lara
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Blank page on comment (wp-comments-post.php)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.
Forum: Fixing WordPress
In reply to: Blank page on comment (wp-comments-post.php)Ok, found out it had sth to do with the single Page. One of the Pagemarker isnt working in case you try…
Forum: Plugins
In reply to: Need help with some template issuesI 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.
Forum: Themes and Templates
In reply to: Different backgrounds on every categoryHm…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