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 »

[SOLVED] How do I set up a Featured Article Home Page in Atahualpa or Theme Frame?


  #1  
Old Sep 16, 2012, 09:59 PM
dport
 
7 posts · Mar 2012
I've spent several days working on this and cannot find the solution I'm looking for in either Atahualpa or Theme Frame. I will need four columns. The top sections of columns 2 & 3 to be merged for a Featured Article section. The remaining portions of columns 2 & 3 divided into their regular column size. What I'd like to do can be seen in the attached picture. I'd like to know how to do this in Atahualpa first, and also in Theme Frame, if possible. Thank you.
Attached Thumbnails
Click image for larger version

Name:	HomePage.jpg
Views:	1742
Size:	26.8 KB
ID:	1999  
  #2  
Old Sep 17, 2012, 01:50 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
In atahualpa you could use the 'multi column/custom query' templete which gives you an option for posts above the columns
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 17, 2012, 10:20 PM
dport
 
7 posts · Mar 2012
Here is the section you referred to. What do I do to add one post above the columns, preferable just to the right of the left column as shown in my picture earlier.

// -------------------------------------------------------------------------
// get the posts_above_the_column
// -------------------------------------------------------------------------
$my_custom_field = $custom_fields['posts_above_the_column'];
if (is_array($my_custom_field)) {
foreach ( $my_custom_field as $key => $value ) {
if ($key == 'posts_above_the_column') {
$posts_above_the_column = $value;
if ((!is_numeric($posts_above_the_column)) OR ($posts_above_the_column < 1)) { ?>
<br><strong><font color="Crimson">Warning:</font> your value for 'posts_above_the_column' on page '<?php the_title(); ?>' is not numeric or is a negative number - please edit the page and set the value correctly</strong><br>
<?php }
}
}
}
  #4  
Old Sep 18, 2012, 05:16 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
go to dashboard->pages and edit the page you are using the template on
go to the custom fields section (if you don't see it click the 'screen options' tab top right)
add a custom field 'posts_above_the_column' with a value of '1'
add a custom field 'number_of_full_posts' with a value of '1'
add a custom field 'number_of_columns' and set it to '2'
if you want a custom query
add a custom field 'custom_query' and set it to the query you want
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 18, 2012, 08:47 AM
dport
 
7 posts · Mar 2012
The page I would like to edit is my main page - the home page that comes up when I first load my site.
That page is not listed in the Pages section of Dashboard. Don't see anyway to bring it up here.
  #6  
Old Sep 18, 2012, 09:36 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
so create a page and call it 'Home' then go to dashboard->settings->reading and change front page displays and pick your new 'Home' page

also go to ato->MENU 1 (Page Menu)->Home link in Page Menu Bar and blank out that entry
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Sep 18, 2012, 11:34 AM
dport
 
7 posts · Mar 2012
I want my posts to show on the front page. I followed your instructions. The newly created home page has nothing on it. Maybe I used the wrong term when I first mentioned Home page. What I need is this -- when a person pulls up my site the first thing they should see is my layout (pictured above) with the Featured Article post above the two middle columns. Four columns in all. How can I do that?
  #8  
Old Sep 18, 2012, 12:37 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you assign the template to that page?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Sep 18, 2012, 01:26 PM
dport
 
7 posts · Mar 2012
How do I do that?
  #10  
Old Sep 18, 2012, 01:29 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
edit the page - right hand side - page attributes->template
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Sep 18, 2012, 02:01 PM
dport
 
7 posts · Mar 2012
This is the Atahualpa: JUGGLEDAD's multi column/custom query Page Template


// -------------------------------------------------------------------------
// get the posts_above_the_column
// -------------------------------------------------------------------------
$my_custom_field = $custom_fields['posts_above_the_column'];
if (is_array($my_custom_field)) {
foreach ( $my_custom_field as $key => $value ) {
if ($key == 'posts_above_the_column') {
$posts_above_the_column = $value;
if ((!is_numeric($posts_above_the_column)) OR ($posts_above_the_column < 1)) { ?>
<br><strong><font color="Crimson">Warning:</font> your value for 'posts_above_the_column' on page '<?php the_title(); ?>' is not numeric or is a negative number - please edit the page and set the value correctly</strong><br>
<?php }

Do I add it in this section? If so where do I add it and what exactly do I put there?
  #12  
Old Sep 18, 2012, 02:13 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
leave the template alone, you never have to edit it.

have you assigned the template to the page in the wordpress backend?
Attached Thumbnails
Click image for larger version

Name:	template.jpg
Views:	1594
Size:	23.8 KB
ID:	2001  
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #13  
Old Sep 18, 2012, 02:22 PM
dport
 
7 posts · Mar 2012
OK. Got it now. Thank you.
Can this same thing be done in Theme Frame?
Four columns. Featured Article section above the two middle columns.
  #14  
Old Sep 18, 2012, 02:39 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
possibly, you will have to play with it.

glad you got it going - I'll close this thread
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
ata 373, featured article, theme frame

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace Home Page Header with I-frame Webunet Atahualpa 3 Wordpress theme 3 May 24, 2011 03:40 PM
theme frame...... theme creators.... wheresnifty ThemeFrame Presales 2 Feb 15, 2010 02:52 PM
Default Non-static Front Page (Home Page) Is Missing (Atahualpa Theme) SavvyBaker Center area post/pages 0 Jan 18, 2010 04:02 PM


All times are GMT -6. The time now is 09:19 AM.


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