Building a Word Press based site using the Suburbia Word Press theme.
Trying to get the main page to resemble this site ( http://appazoogle.com/ ) which uses the same theme. I need for the arraignment of the postings to resemble the ones on the main page of appazoogle. What's the secret?
My site is: http://galleryeastnetwork.com/wordpress/
If you are talking about the first 3 posts being way wider than the rest of the site, then it seems like you just need to change out the HTML classes of the first three posts to be post one
instead of post two
Provide more information on what you are trying to do and I would be glad to help
This would take place in the section you have commented, FIRST LOOP
It's hard to say what specific difference you want to remove. If it is those two big posts on the top, than you have to modify home.php of Suburbia theme from this
<?php get_header(); ?>
<?php include (TEMPLATEPATH . "/sidebar.php"); ?>
<?php
if ( $paged == 0 ) {
$offset1 = 0;
$offset2 = 2;
} else {
$off = $paged - 1;
$offset1 = $off * 7;
$offset2 = $off * 7 + 2;
}
?>
<!-- LOOP1 -->
<?php if (have_posts()) : ?>
<?php query_posts('posts_per_page=2&offset='.$offset1); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post two">
To this:
<?php get_header(); ?>
<?php include (TEMPLATEPATH . "/sidebar.php"); ?>
<?php
if ( $paged == 0 ) {
$offset1 = 0;
$offset2 = 4;
} else {
$off = $paged - 1;
$offset1 = $off * 7;
$offset2 = $off * 7 + 4;
}
?>
<!-- LOOP1 -->
<?php if (have_posts()) : ?>
<?php query_posts('posts_per_page=4&offset='.$offset1); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post one">
It is not only about class. It is also about correct offset.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.