I've recently been using a different set of Wordpress Themes and one that I quite like it by Nimbus. (http://www.nimbusthemes.com/free/business/)
Sadly, the theme doesn't actually work out of the bag - and it seems to be down to shoddy coding (sorry guys, I even found the post you made on the wordpress site to have it featured and even they told you it wasn't working!)
It seems to be because when they load page content, it doesn't check if there's anything and then continue to load.
To fix, do the following:
1: Navigate to the following file:
themes\business-theme\page.php
Find the following line:
<?php the_content(); ?>
Delete the whole line and replace with:
<?php if (have_posts()) : while (have_posts()) : the_post();
the_content();
endwhile; endif; ?>
And that should fix it
The excerpt bug seems to be something to do with a function called "chop_text" which doesn't seem to work properly. Rather than debugging why, I changed it to the built in wordpress function - wp_trim_words (why did they bother remaking it?)
Load the following page:
themes\business-theme\parts\frontpage-4boxes.php
Delete this:
if (is_home()) {
$content = chop_string(get_post_field( 'post_content', get_option( 'page_for_posts' ) ));
} else {
$content = chop_string($post->post_content);
}
Replace with:
if (is_home()) {
$content = chop_string(get_post_field( 'post_content', get_option( 'page_for_posts' ) ));
} else {
$content = chop_string($post->post_content);
}
Problem solved
considering this is the free demo it doesn't bode well.
But then it is a nice theme :) A very specific set of fixes but perhaps it will help someone - remember to +1 me if it does!
Sadly, the theme doesn't actually work out of the bag - and it seems to be down to shoddy coding (sorry guys, I even found the post you made on the wordpress site to have it featured and even they told you it wasn't working!)
It seems to be because when they load page content, it doesn't check if there's anything and then continue to load.
To fix, do the following:
1: Navigate to the following file:
themes\business-theme\page.php
Find the following line:
<?php the_content(); ?>
Delete the whole line and replace with:
<?php if (have_posts()) : while (have_posts()) : the_post();
the_content();
endwhile; endif; ?>
And that should fix it
The excerpt bug seems to be something to do with a function called "chop_text" which doesn't seem to work properly. Rather than debugging why, I changed it to the built in wordpress function - wp_trim_words (why did they bother remaking it?)
Load the following page:
themes\business-theme\parts\frontpage-4boxes.php
Delete this:
if (is_home()) {
$content = chop_string(get_post_field( 'post_content', get_option( 'page_for_posts' ) ));
} else {
$content = chop_string($post->post_content);
}
Replace with:
if (is_home()) {
$content = chop_string(get_post_field( 'post_content', get_option( 'page_for_posts' ) ));
} else {
$content = chop_string($post->post_content);
}
Problem solved
considering this is the free demo it doesn't bode well.
But then it is a nice theme :) A very specific set of fixes but perhaps it will help someone - remember to +1 me if it does!