Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

AutofocusPro: first front page just Slider second (?paged=2) Grid WordPress



I like to have in my AutofocusPro a front page layout like this: first front page just Slider second (?paged=2) and more, the default layout Grid showing all the post not sticky.

Is it possible?



Answers (1)


Sébastien | French WordpressDesigner answers:

yes it is possible but that needs some time.

Andrea Scaglione comments:

: )

Andrea Scaglione comments:

Time is on my side...

Sébastien | French WordpressDesigner comments:

If you can increase this question to $40, send me your theme folder by mail and i look at that
maildeseb @

Sébastien | French WordpressDesigner comments:

what's your wordpress version

Andrea Scaglione comments:

Salut Seb,

I got WP 3.1 and Autofocus 1.53

Andrea Scaglione comments:

I will downgrade to 3.05 I got some problem with the new version : (

Sébastien | French WordpressDesigner comments:

send me your theme folder please, i look at that
maildeseb @

Sébastien | French WordpressDesigner comments:

Ok that works.
You can see the demo here : [[LINK href=""]][[/LINK]]

I think that the price for this work must be more than 10$
Could you increase this question to $40, and i post the solution.

Andrea Scaglione comments:

Good work! (and pretty speed ; )
30$: sounds good?

Sébastien | French WordpressDesigner comments:

yes, that's ok !

Sébastien | French WordpressDesigner comments:

Go to functions.php in the folder of your theme autofocuspro
at the top of this file, just after<?php add this code

function remove_index_loop() {
remove_action('thematic_indexloop', 'thematic_index_loop');
add_action('init', 'remove_index_loop');

function snippet_index_loop() {

$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$offsetting = 0;

if($paged==1){ ?>

<?}elseif($paged > 1){
$offsetting = ( $paged - 1 ) * get_query_var('posts_per_page') ;

global $options, $blog_id;

foreach ($options as $value) {
if (get_option( $value['id'] ) === FALSE) {
$$value['id'] = $value['std'];
} else {
$$value['id'] = get_option($blog_id, $value['id'] );
$$value['id'] = get_option( $value['id'] );

/* Count the number of posts so we can insert a widgetized area */ $count = 1;

'post__not_in' => get_option( 'sticky_posts' ),
'offset=' => $offsetting
while ( have_posts() ) : the_post();

thematic_abovepost(); ?>

<div id="post-<?php the_ID();
echo '" ';
echo '>';
} else {
echo 'class="';
echo '">';
thematic_postheader(); ?>
<div class="entry-content">
<?php thematic_content(); ?>

<?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>') ?>
</div><!-- .entry-content -->
<?php thematic_postfooter(); ?>
</div><!-- #post -->




if ($count==$thm_insert_position) {
$count = $count + 1;

add_action('thematic_indexloop', 'snippet_index_loop');

Andrea Scaglione comments:

Sorry Séb,

but I able to see just the slider. Any Idea?


Sébastien | French WordpressDesigner comments:

If you have paste my code,
verify that in <strong></strong>/wp-admin/themes.php?page=functions.php you have check "Show a sliding featured content area? "

If it's right but the slider is not display alone in frontpage, you can send me your login (wp-admin) and i look at this.

Andrea Scaglione comments: