D5 Creation Forum

Open Forum for D5 Creation's Members and Visitors

Before requesting any support Please search the Forum First. You may find your desired answer. This will save your waiting time and will save our working hour. We may not answer the question which we have already answered. You should also read our Support Policy

Re: Small Business Pro: Static Front Page!

Front Page D5 Creation Forum General Support Small Business Pro: Static Front Page! Re: Small Business Pro: Static Front Page!

#4661
D5 Creation
Keymaster
Quote:
Quote from hymspcp on September 22, 2013, 07:40
I managed to do this manually by editing the bit of code from the free version (and I have no idea how to use PHP)

After this line of code:

<?php if (of_get_option(‘fbox-check’, 0 ) !=’1′ ): get_template_part( ‘featured-box’ ); endif; ?><br />

I pasted this bit from the free theme:

<div id=”content”>
<?php if (have_posts()) : while (have_posts()) : the_post();?><div <?php post_class(); ?> id=”post-<?php the_ID(); ?>”>
<a href=”<?php the_permalink(); ?>”><h2 class=”post-title”><?php the_title();?></h2><?php the_post_thumbnail(‘thumbnail’); ?></a><?php if (is_page()): the_content(); else: $sbExcerptLength=60; the_excerpt(); endif; ?>

Hope this helps someone else!

The code you are using is incomplete. There was options to show one Post in the Front Page instead of Page. Anyway we added a Option in both the Small Business Pro and Extend where you will find a Theme Option to set the WordPress Reading Settings instead of Theme Settings for Front Page Post/Page viewing. Please download the Theme Again and Overwrite the Theme Files in you site.

wjdIyAi.png