theas91
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Sidebar and content suddenly gone!I checked and they were there so that can’t be the problem, thanks for the help though! Any other ideas?
Forum: Themes and Templates
In reply to: Sidebar and content suddenly gone!would they be in functions.php? or index?
Forum: Themes and Templates
In reply to: Lining up layout- need to make it a little larger- help!Yes, did that now ?? I’m so close to getting it right, its just the few extra pixels on each side that I can’t seem to find where to put
Forum: Themes and Templates
In reply to: Lining up layout- need to make it a little larger- help!Thank you, I did that but what can I change now to make it match up? Also, now the part under the content is not white
Forum: Themes and Templates
In reply to: Post content wrong compared to white backgroundThank you, that fixed it!
Now I tried adding a line under the post title too but it’s still going through the text. It works if I change the line height for the post content but that messes up the spacing for the text in the postForum: Fixing WordPress
In reply to: Navbar CSS not workingah yes, thank you so much!!
Forum: Fixing WordPress
In reply to: Navbar CSS not workingit’s in Norwegian, so no it’s not ?? and it finds the menu perfectly fine, it’s the css that’s the problem
Forum: Fixing WordPress
In reply to: blog portal- some sites not showing up, problem not in coding?Maybe this will help more, I tried changing the address to the direct link (www.lorraine.femelle.no/wp/wp-content/themes/lorraine/sisteinnlegg.php) and now this comes up: Fatal error: Class ‘WP_Query’ not found in /customers/femelle.no/femelle.no/httpd.www/lorraine/wp/wp-content/themes/lorraine/sisteinnlegg.php on line 13
here is the coding for that page:
<?php
/*
Template Name: sisteinnlegg
*/
?><link rel=”stylesheet” href=”https://bloggere.femelle.no/wp/wp-content/themes/femellebloggere/femellebloggere.css” type=”text/css” media=”screen” />
<div class=”iframe”>
<?php $col = 1; ?>
<?php
$recent = new WP_Query();
$recent->query(‘showposts=1’);
if($recent->have_posts()) : while($recent->have_posts()): $recent->the_post();
?>
<div class=”col1″>
<div class=”femelle-heading”>” target=”_blank”><?php bloginfo(‘name’); ?></div>
<div class=”thumbnail”>
<?php the_post_thumbnail( ‘thumbnail’ ); ?>
</div>
<div class=”kategori”><?php the_category(‘, ‘); ?></div>
<h1>” rel=”bookmark” target=”_blank”><?php the_title(); ?></h1>
<div class=”utdrag”><?php the_excerpt(”); ?></div>
<div class=”les_mer”>” rel=”bookmark” target=”_blank”>Les mer →</div>
</div>
<?php if ($col == 1) echo “</div>”; (($col==1) ? $col=2 : $col=1); endwhile; ?><?php else : ?>
<?php endif ?></div>
anyone see anything wrong?