Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

How to change center column layout?


  #1  
Old Dec 17, 2009, 09:06 AM
Rojo
 
2 posts · Dec 2009
Hello,

I need to change the posts layout of the center column...

example:

at this time and by default posts showing in the center column like this:
post1
post2
post3
and so on

and need to make them showing like:

post1 | post2 | post3 | post4
post5 | post6......

I assume that I need to moderate this code in (options > Center Column > Style & edit CENTER COLUMN ):

Code:
<?php /* For SINGLE post pages if activated at ATO -> Next/Previous Navigation: */
bfa_next_previous_post_links('Top'); ?>

<?php /* Post Container starts here */
if ( function_exists('post_class') ) { ?>
<div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>">
<?php } else { ?>
<div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>">
<?php } ?>

<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>

<?php bfa_post_headline('<div class="post-headline">','</div>'); ?><p>

<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>

<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>

<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>

</div><!-- / Post -->
But I want to see some expert suggestions.

Best Regards,
Rojo
  #2  
Old Dec 17, 2009, 05:39 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the center column is a table with one row, each row contains a post. Without digging into the code, there is no 'option' to switch the center into a multi column area.

I also see a problem - what if post 1 was 100 words, say 1 inch in depth, and post 2 was 1000 words or 10 inches and post there was 50 words or 5 inches then on the next line, where would the posts lign up? Without some clever coding, there would be a 9 inch gap between post 1 and post 4.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 17, 2009, 07:04 PM
Rojo
 
2 posts · Dec 2009
Quote:
Originally Posted by juggledad
I also see a problem - what if post 1 was 100 words, say 1 inch in depth, and post 2 was 1000 words or 10 inches and post there was 50 words or 5 inches then on the next line, where would the posts lign up? Without some clever coding, there would be a 9 inch gap between post 1 and post 4.
in my case all posts should be same width (about 200px) showing headline, footer and body (image and some text) before <!--more--> tag, so maybe there is possible to find some solution with known (fixed) width...?
  #4  
Old Dec 29, 2009, 02:44 PM
Rashell's Avatar
Rashell
 
67 posts · May 2009
You could try the plugin "Page Columnist".

It doesn't create dynamic updates of your page with each new post added... like the typical "posts" frontpage. However, if you were to add content into a new page, separating some of it with the <!– Nextpage –> it will use that tag to display those segments in a separate columns. For instance you could add the thumbnail image (linked to the original/expanded post content) then a short excerpt separated by the <!– Nextpage –> tag and repeat the process for each article.

The pages won't be dynamic (as in automatically updated). They will remain the same with the same content for as long as the page exists on your blog. But who knows with a little hacking you may be able to use code to configure a column style "posts" frontpage that can be updated on the fly.

You can read more here...

Page Columnist Homepage

Demo page

Rashell
  #5  
Old Dec 28, 2011, 05:09 PM
SharonJ's Avatar
SharonJ
 
644 posts · Sep 2010
Duncan BC Canada
Rashell

I have installed this plug in but I cannot get it to work.
I want to have two columns.

I have tried putting in <!– Nextpage –> and nothing happens.

www.sidewalkproperties.ca

The front page is a static page. Does that matter?
  #6  
Old Dec 28, 2011, 05:12 PM
SharonJ's Avatar
SharonJ
 
644 posts · Sep 2010
Duncan BC Canada
I think my error is that this makes sub pages of content. and I just want two columns. I have deactivated it. Now I have to look for another solution!

Last edited by SharonJ; Dec 28, 2011 at 05:16 PM.
  #7  
Old Dec 28, 2011, 06:51 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
There is more to that plugin than adding next page. You have to set some parameters in the right column for the page columnist. I also gave you a suggestion in another post about this same issue.

As a heads up it is better to start a single new thread for issues unless it exactly matches another post.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old Dec 28, 2011, 07:46 PM
SharonJ's Avatar
SharonJ
 
644 posts · Sep 2010
Duncan BC Canada
Apologies, Larry.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Different Size Layout vs. Center Column Mande Header configuration & styling 4 Nov 25, 2009 05:21 PM
[SOLVED] Change Center Column &amp; Footer Opacity Walt Header configuration & styling 9 Sep 26, 2009 11:04 AM
Change padding on bullet list in center column? lhanft Forum How-To 2 Jul 16, 2009 08:51 PM
[SOLVED] How to change 3 column to 2 column blog vots Atahualpa 3 Wordpress theme 3 May 4, 2009 03:58 PM
I want the excerpts to be shown in 1 or 2 or more column layout as specified by the u falguni1 Excerpts, Read more, Pagination 2 Feb 18, 2009 02:46 PM


All times are GMT -6. The time now is 03:04 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.