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 » Excerpts, Read more, Pagination »

[SOLVED] static page excerpts on home page


  #1  
Old Mar 5, 2012, 03:30 PM
aygart
 
30 posts · Mar 2012
[SOLVED] static page excerpts on home page

Hi! I'm new to the whole WP thing-like a week- and started with Atahualpa a couple of days ago. Meanwhile I am quite impressed!
I am trying to get a few excerpts from specific static pages side by side under the static text on the welcome page (static as well). I also would like them to be in their own container with a frame/border and different color than the rest of the center column. How can I do that?
My site is lowerwatt.com
  #2  
Old Mar 5, 2012, 03:54 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I couldn't get to your site and I am not really sure what you are trying to do but if you are trying to grab bits of text from one page and have them show on another automatically I know of no way to do that.
__________________
~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.
  #3  
Old Mar 6, 2012, 08:10 AM
aygart
 
30 posts · Mar 2012
Thanks. I was able to get the header of a different page to show using the supercharged template, but I couldn't get it to format how I liked it. I now have an added widget area in the page footer in which I can just use a text widget an copy/paste from the static pages into them. This is fine since they will be staying the same anyhow. Th eproblem I am having is that I cannot get the text aligned evenly. If you look at the site lowerwatt.com (as far as I can see it is working) you will see that only the middle is along the top of the area. The left one is middle aligned and the right one is bottom aligned.
The code I used is as follows:

<?php bfa_widget_area('name=My widget area&cells=3&align=1&align_2=9&align_3=7&width_4=7 00&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>

I am using Black Studio Tiny MCE widget although I can use a different one if needed.

Also, Is there a way for it to be only on the front page?

Thanks!

Last edited by aygart; Mar 6, 2012 at 08:12 AM.
  #4  
Old Mar 6, 2012, 09:44 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
In your new widget code (as shown below) you have the alignment for the first cell set to 1 (center middle), the second cell set to 2 (center top), and the third cell set to 3 (left bottom). If you want them all aligned the same you only need to declare the align function once or if you want to use the default of 2 (center top) you could just leave the align declaration out. For the syntax of the new widget area just read through that section.

You also don't have a unique name for your widget area which could be problematic if you use more than one because of class conflict.

You also have a width set for a fourth cell (which you don't have) set to 700. There is no reason for that declaration.

<?php bfa_widget_area('name=My widget area&cells=3&align=1&align_2=9&align_3=7&width_4=700&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
__________________
~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.
  #5  
Old Mar 6, 2012, 10:02 AM
aygart
 
30 posts · Mar 2012
Perfect! Thanks a ton! I had copied the code from the example on the add new widget area settings page and changed it down to three widgets.

I just noticed that when the mouse is run over them the background tuns grey. How do I get rid of that? How do I change the font color? My impression from the widget settings page is that I cannot place a border/container around the whole widget or just the content without it being the same for all widgets including the sidebar. Is that correct? These are the only text widgets that I plan on using. The image on the side uses "image widget".
  #6  
Old Mar 6, 2012, 10:11 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Look in the Style Tables section of the theme options. I often take out much of the code there as it affects items I don't want affected. You could also overwrite with your own CSS if you choose.
__________________
~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.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting 2-4 recent post excerpts on static home page aswell as blog page? lakewooditsupport Page & Category Menu Bars 3 Nov 23, 2011 07:29 AM
Default Non-static Front Page (Home Page) Is Missing (Atahualpa Theme) SavvyBaker Center area post/pages 0 Jan 18, 2010 04:02 PM
Inserting Excerpts into Static Front Page Mac Excerpts, Read more, Pagination 0 Feb 28, 2009 04:30 AM


All times are GMT -6. The time now is 02:47 PM.


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