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 » Center area post/pages »

2 columns for posts on blog home page?


  #26  
Old May 12, 2010, 06:30 AM
darmanpurba@gmail.com
 
20 posts · Jul 2009
Send a message via Skype™ to darmanpurba@gmail.com
Hello Juggledad and Flyn, please help.
I have look for magazine theme anywhere, I saw in this Atahualpa is discussed.
I have tried to use the code attached to make in to 2-3 column. Loop is worked, but it's repeated continuously after the end of post count. How can I limit the post displayed?
Thanks for help.

www.darmanpurba.com
  #27  
Old May 14, 2010, 09:52 AM
mnl
 
27 posts · Mar 2010
Hi. I've successfully used the suggested technique and created a building directory page for my client's site. I created each tenant entry in a blog post and they show on the directory page. In wp settings, i made the directory the posts front page. i've looked through the code and alahualpa settings and i need help with some things.

1 the two columns are not even; the right column is narrow. where can i control the width of the components of this dynamically built page?
2 the headings for each entry are hot; i'd like them to just be displayed. can i turn off the link characteristics?
3 i'd like to build a template for the tenant directory blog posts so it's easy to add more entries and to make all the entries consistent (i'm having difficulty lining everything up). it's not clear to me how to do that. is it possible?
4 each tenant post is categorized by its floor number. i want to show the floor category menu on the business directory page only and have the two column display of those businesses on the floor when the category is clicked. will the home.php file control that too?

here's the url: http://7pineplaza.com/wordpress/directory/

thank you so much for your help!

regards
mike

edit: for number 3, above, i'm creating posts with tables to keep things aligned. how can i build a template so my client can add a new tenant after i turn the solution over to her? i've address #4 with the inner sidebar holding the categories.

Last edited by mnl; May 16, 2010 at 02:29 PM.
  #28  
Old May 14, 2010, 11:17 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the two columns are the same size when I look at them (Safari on a Mac)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #29  
Old May 14, 2010, 12:25 PM
mnl
 
27 posts · Mar 2010
thanks for your reply. even if they are the same, which css or php file controls the column widths?
  #30  
Old May 14, 2010, 04:15 PM
kaspar.wimberley
 
24 posts · May 2010
Stuttgart
Similar issues as mnl.

Atahualpa 3.4.6, WP 2.9.2

After following the instructions to get two columns (using the first set of instructions posted by Flyn on this thread) it seems that on the home page the column width does not remain within the center column, and the excerpts are not recognised (texts are shown in full and thumbnails don't appear)

On the second page of posts things appear as I expected them to.

http://www.susanne.treacletheatre.co...press/?paged=2
http://www.susanne.treacletheatre.co.uk/wordpress/

(ignore content, I'm just playing with old posts from my other site to get an initial layout sorted)

Thanks, Kaspar

Current index:

PHP Code:
   1.
      <?php /* get all options: */
   
2.
      
include (TEMPLATEPATH '/functions/bfa_get_options.php');
   
3.
      get_header
(); ?>
   4.
       
   5.
      <?php /* If there are any posts: */
   
6.
      
if (have_posts()) : $bfa_ata['postcount'] == 0/* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>
   7.
       
   8.
      <?php /* This outputs the next/previous post or page navigation.
   9.
      This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
  
10.
      bfa_center_content
($bfa_ata['content_above_loop']); ?>
  11.
       
  12.
       
  13.
       
  14.
      <table cellpadding="0" cellspacing="0" border="0">
  15.
      <?php $column 1?>
  16.
      <?php // The LOOP. Do this for all posts:
  
17.
      
while (have_posts()) : the_post(); $postcount++; ?>
  18.
       
  19.
      <?php if ($column == 1) echo "<tr>"?>
  20.
       
  21.
      <td class="column<?php echo $col;?>" style="vertical-align: top">
  22.
       
  23.
       
  24.
       
  25.
       
  26.
      <?php /* Add Odd or Even post class so post containers can get alternating CSS style (optional) */
  
27.
      $odd_or_even 
= (($bfa_ata['postcount'] % 2) ? 'odd-post' 'even-post' ); ?>
  28.
       
  29.
      <?php /* This is the actual Wordpress LOOP.
  30.
      The output can be edited at Atahualpa Theme Options -> Style & edit the Center column */
  
31.
      bfa_center_content
($bfa_ata['content_inside_loop']); ?>
  32.
       
  33.
       
  34.
       
  35.
       
  36.
      </td>
  37.
       
  38.
      <?php if ($column == 2) echo "</tr>"; (($column==1) ? $column=$column=1); ?>
  39.
       
  40.
      <?php // END of the LOOP
  
41.
      
endwhile; ?>
  42.
      </table>
  43.
       
  44.
       
  45.
       
  46.
       
  47.
      <?php /* This outputs the next/previous post or page navigation and the comment template.
  48.
      This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
  
49.
      bfa_center_content
($bfa_ata['content_below_loop']); ?>
  50.
       
  51.
      <?php /* END of: If there are any posts */
  
52.
      
else : /* If there are no posts: */ ?>
  53.
       
  54.
      <?php /* This outputs the "Not Found" content, if neither posts, pages nor attachments are available for the requested page.
  55.
      This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
  
56.
      bfa_center_content
($bfa_ata['content_not_found']); ?>
  57.
       
  58.
      <?php endif; /* END of: If there are no posts */ ?>
  59.
       
  60.
      <?php bfa_center_content($bfa_ata['center_content_bottom']); ?>
  61.
       
  62.
      <?php get_footer(); ?>

Last edited by kaspar.wimberley; May 15, 2010 at 05:57 AM. Reason: additional information
  #31  
Old May 15, 2010, 07:45 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this, add this to ATO->Add HTML/CSS Inserts->CSS Inserts
HTML Code:
.column {width: 50%;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #32  
Old May 15, 2010, 08:57 AM
kaspar.wimberley
 
24 posts · May 2010
Stuttgart
Hiya,
I gave it a go but no luck. It does help, but only on the 2nd page of posts, where the columns now expand in equal proportions. So a big thank-you there. But on the home page still no change. All these ATO parameters seem to be bypassed, what with all the lack of excerpts or thumbnails too.

Last edited by kaspar.wimberley; May 15, 2010 at 09:05 AM.
  #33  
Old May 19, 2010, 10:22 AM
mnl
 
27 posts · Mar 2010
hi. i have just one more problem that i don't know how to address: i used the two column solution to make the building directory. it looks very cool! each entry is a post (the rest of the site are pages) and i categorize them by floor.

http://7pineplaza.com/wordpress/directory/

i want to turn the site on and give it to the client so she can update the tenants as necessary.

i need to be able to order the posts, either alpha by title or by suite number. how can i do that, please?
  #34  
Old May 30, 2010, 12:31 PM
reaus
 
3 posts · May 2010
Quote:
Originally Posted by kaspar.wimberley
Hiya,
I gave it a go but no luck. It does help, but only on the 2nd page of posts, where the columns now expand in equal proportions. So a big thank-you there. But on the home page still no change. All these ATO parameters seem to be bypassed, what with all the lack of excerpts or thumbnails too.
I have the exact same problem, does anyone know how to solve this?

My goal is to get 3 columns for posts at the homepage, but due to the troubles I'm starting with two just to see how that goes.
Currently I'm still using Atahualpa version 3.4.9 at http://wp.beauty.nu

Many thanks in advance!
  #35  
Old May 30, 2010, 12:45 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
not that this will fix your problem, but upgrade to 3.5.1
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #36  
Old May 30, 2010, 12:48 PM
kaspar.wimberley
 
24 posts · May 2010
Stuttgart
Just because I've gone away for a while doesn't mean I'm still struggling with this issue! Interesting that other people are experiencing the same problem.
  #37  
Old Jun 7, 2010, 06:35 PM
SJSchafer
 
21 posts · Jun 2010
I have a question that a few others have asked but not had answered yet. My current layout is that I have the most recent post showing as the full post and the rest showing as excerpts. I want to be able to have the most recent post show normally, with the excerpts showing in 2 columns. Is this possible? The site in question is http://solarlightssite.com/.

*edit - Just to clarify, I would like the two columns to be for all of the pages that have excerpts, like the tags and cat pages, etc., NOT on single post pages.

Last edited by SJSchafer; Jun 7, 2010 at 06:43 PM.
  #38  
Old Jun 8, 2010, 04:08 AM
kaspar.wimberley
 
24 posts · May 2010
Stuttgart
reaus you seem to have achieved the two column solution on your home page. How did you solve the problem (I assume it is still the A theme)? Any help greatly appreciated.
K
  #39  
Old Jun 10, 2010, 03:14 AM
reaus
 
3 posts · May 2010
@ kaspar.wimberley I figured that it might help to change the width of the center column(style & edit center column)....and to my surprise it actually worked
As simple as that haha! Never thought of it before though
  #40  
Old Jun 10, 2010, 03:22 AM
reaus
 
3 posts · May 2010
I managed to get my posts to show into two columns, but when I go to a single post it stills show in the same width as on the home/cat page. Is it possible to edit this width?

+ Since I've changed my lay-out into 2 columns the website is messed up in IE, does anyone know how to fix this?

Thanks so much in advance! ATA theme is the best

http://wp.beauty.nu/
ATA version 3.5.1
  #41  
Old Jun 25, 2010, 03:01 AM
5thbeatle's Avatar
5thbeatle
 
7 posts · Jun 2010
Marin County, CA>
So I did this:

www.prthatroxxx.com

but I cant get the 2 columns to go back to excerpts, they remain full post, and I have all set the settings to excerpts. ? This is perfect theme for my client! He will donate _something_ I just gotta show some results.

I need two columns separable by two categories, which I think I have already done... but cant get posts to go back to excerpts.
  #42  
Old Jun 27, 2010, 12:56 PM
kaspar.wimberley
 
24 posts · May 2010
Stuttgart
@reaus

Quote:
Originally Posted by reaus
@ kaspar.wimberley I figured that it might help to change the width of the center column(style & edit center column)....and to my surprise it actually worked
No luck for me I'm afraid. How exactly did you go about doing this - tried everything now but maybe I missed something here...
Thanks, Kaspar
  #43  
Old Jun 27, 2010, 04:18 PM
kaspar.wimberley
 
24 posts · May 2010
Stuttgart
I have now updated to the latest AT in the hope that this might help. Wordpress 3 too.

With the new version of AT the original instructions in this thread for editing the index file (to split the center column into two columns for the posts) doesn't work.

Is there anybody out there who can post new instructions!

Thanks,
Kaspar
  #44  
Old Jun 29, 2010, 06:20 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I just tested this in wp 3.0 atahualpa 3.5.1 and it works fine. IF THIS IS A NEW SITE Start by importing the 'ata-classic.txt' style then follow the instructions given and it works fine.

Some of the new styles have css that will prevent this from working.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #45  
Old Jun 30, 2010, 06:00 PM
5thbeatle's Avatar
5thbeatle
 
7 posts · Jun 2010
Marin County, CA>
Juggledad thanks for the help on the browser mishap! Flynn's Oct 2008 Post on making 2 columns worked perfectly for me so far. Any pointers on getting the posts to be assignable in one of only two category's and down the page not across?

See:

www.prthatroxxx.com

I want one column of press releases and one column of press coverage, cat 1 and cat 2. Appreciate any help! I am intermediate .php .css .html guy.
  #46  
Old Jun 30, 2010, 06:50 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
well I just published a page templete in the Gold Forum Tutorials, that lets you put a custom query on the page. That might help you out, you could specify the query to be only those two categories.

As for going down the page vers aross, that would envolve a bit of coding since you would have to fires find out how many posts allowed on the page, then read all the posts to find out how many there are (assuming that you want the two columns to be balanced) they you would need two queries, one for the left colum and one from teh right - the right one starting at the half way point of the total posts. Then you could code the html to display the posts.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 9, 2010 at 05:53 AM.
  #47  
Old Jul 8, 2010, 10:52 AM
SJSchafer
 
21 posts · Jun 2010
Still not getting an answer. Is it possible to have the most recent post as a full post showing up normally and have the excerpts show up in columns?
  #48  
Old Jul 8, 2010, 08:08 PM
5thbeatle's Avatar
5thbeatle
 
7 posts · Jun 2010
Marin County, CA>
Hi Juggledad ! 5thbeatle here ... thanks I had my client donate $20 and as we move forward we can do more. I will be diving into your post in the Gold Forum soon when a get break to work on this site again. Cheers!
  #49  
Old Jul 9, 2010, 05:55 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
to everyone asking the question
Quote:
Is it possible to have the most recent post as a full post showing up normally and have the excerpts show up in columns?
the answer is probably. You will have to change the code so that the first query returned create a table column that spans the two rows in the table.

If I get time (paying customers, my volunteer work, house chores all come first) I may take a look at this and figure out exactly what coding changes are needed and put it into a template.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 9, 2010 at 05:59 AM.
  #50  
Old Jul 9, 2010, 04:31 PM
SJSchafer
 
21 posts · Jun 2010
Thanks. I would appreciate that. It is the only thing keeping this from being perfect for a "supersite" ready theme.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a Home Page with Posts in it? wdycus Post-Kicker, -Byline & -Footer 5 Aug 31, 2010 07:48 AM
[SOLVED] Blog Page causes Home Page Tab to light up as well WebWeaver Header configuration & styling 1 Jun 30, 2009 07:45 PM
Disply posts in all three columns-- plus, ideally, a widget or two, too? petevannuys Sidebars & Widgets 2 Jun 11, 2009 07:51 PM
recent posts in the right sidebar, but not on the home page ind Sidebars & Widgets 1 May 6, 2009 04:49 AM
Limit the number of Posts on Home Page coaxkid Post-Kicker, -Byline & -Footer 4 Apr 12, 2009 07:01 PM


All times are GMT -6. The time now is 11:07 PM.


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