andy3000
Forum Replies Created
-
Forum: Themes and Templates
In reply to: sidebar being pushed downStart off with putting the sidebar HTML into the wrapper HTML element.
The wrapper should be the parent for all elements you want within the 925px width (as defined).Thanks did that then looked at which element is causing the problem. It is the <div id=”slide_wrapper”
When I comment it out the sidebar moves up.
The only thing I have been able to do that leaves the slide wrapper in and moves the sidebar where it belongs is to change from position:relative to position:absolute for the slide_wrapper. When I do that the slide-wrapper covers the menu.Forum: Fixing WordPress
In reply to: Division by 0 problem in one template onlyThanks. That line was in the wrong place but the error message was because of the ‘ marks around the percent sign in it.
Forum: Fixing WordPress
In reply to: Division by 0 problem in one template onlyI don’t have line numbers either either (no code editor on the host) but I pasted into a spreadsheet:`1 <?php
2 /*
3 Template Name: No Sidebar
4 */
5 ?>
6
7 <?php get_header(); ?>
8
9 <div id=”sub-column” class=”no-sidebar”>
10
11 <div id=”sub-top”>
12 <?php get_template_part(‘scripts/breadcrumb’); ?>
13 </div>
14
15 <div id=”sub-content”>
16
17 <div class=”content”>
18 <?php if (have_posts()) : ?>
19 <?php while (have_posts()) : the_post(); ?>
20
21 <div class=”post”>
22
23 <h1 class=”first”><?php the_title();?></h1>
24 <?php the_content();?>
25
26 </div>
27
28 <?php endwhile; endif;?>
29
30 <?php comments_template(); ?>
31
32 <div class=”wp-pagenavi”><?php wp_link_pages(‘before=Pages: &pagelink=<span>’%'</span>’); ?></div>
33
34 <?php edit_post_link(‘Edit Post’); ?>
35 </div>
36
37 </div>
38
39 <?php get_footer(); ?>
40
41 Theme is Wp-Creatavix`Forum: Fixing WordPress
In reply to: Division by 0 problem in one template onlyThe message says the error is on line 32. (Sorry I hid that info at the top of my first post before the code, should have made it bold)
Forum: Fixing WordPress
In reply to: Theme wont display a read more link on category pageThanks, read them and added this to functions:`function new_excerpt_more($more) {
global $post;
return ‘<a href=”‘. get_permalink($post->ID) . ‘”>Read the Rest…</a>’;
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);`and after
<?php the_excerpt();
in archives.php added:
new_excerpt_more($more);
No display of a read more link
Theme is WP-CreativixDo you have Reading Setting set to Front Page displays your latest posts?