[SOLVED] Newbie- Would like to edit "the loop"
My site is http://jenniferdawnmclucas.com/
I will apologize upfront for being completely new and not entirely sure how to edit css or php. -I would like to take the footer widgets I created and move them into the center column of my blog. -I would like to have a separator image as was discussed here. I have been trying to find the way to do this and have seen several people referred to an earlier version of Atahualpa. I would really appreciate it if someone could tell me how to find the earlier version that enabled one to edit "the loop" from the ATO on the WP Dashboard. And, if I am currently running Atahualpa 3.6.7 what problems might I face trying to go back to an earlier version? Thank you very, very much. Jay. |
You could download an earlier version at wordpress.bytesforall.com. If you use the manual installation procedure you can switch back and forth between versions until you get any issues worked out. It is labled as an upgrade procedure but can be used to install any version of Atahualpa.
|
Any features new to 3.6.+ will be lost if you switch back. You can edit index.php where the loop now is.
You can also put an image in the page/post footer... |
Thanks so much! I installed 3.6.4 and everything seems to have converted correctly except none of my posts are showing up now. Any ideas on how I managed that? You don't have to move your blog posts into the new file, right? They still show up in the WP Dash under Posts...
Thanks for any response on what to do next. While I'm waiting I'll poke around and see if I can figure out the solution myself. ;) Jay. |
Oh yes. I had tried to edit index.php but ended up making an error in line 33 and all that would show up on my site was that there was an error in the index line 33. It was then that I decided maybe I didn't really know as much as I thought I did about editing php, lol. I fixed the problem with the index.php file that I had backed up before I tried editing it myself.
I also tried to use the post footer for my image. While that worked ok what I really want is for the image separator to span the width of the site, not just the width of each post. Basically the line under my blog name is what I'd like to use as the separator, but I've edited it slightly so that it also includes my favicon. I'm pretty efficient at the design parts, but not so good on the technical side. ;) It's a bummer to have a vision for something and not be able to implement it. Thanks again, Jay. |
Ok, I'm satisfied with the look I have now. Here's what I did.
This is the code I now have at ATO>Style Posts & Pages>Footer box margin: 0; padding: 5px; color: #666; line-height: 55px; background: url(http://jenniferdawnmclucas.com/wp-co...-copy-copy.png) no-repeat center top; Someday I'd still like to figure out how to move the widgets in my footer up to the page content, but for now this is working. Thank you so much for advice that was at my skill level! Jay. |
There are some plugins that let you add widget areas to posts and pages via a shortcode. You could try a search on wordpress.org
|
it's actually not so hard. To have them show after all post or page text, just add it before the line, you need to add the new widget area code just before the last line
HTML Code:
<?php get_footer(); ?> |
Thank you Larry, I will definitely look into the available plugins.
Thank you Juggledad. I have found the get_footer line in the index.php. Editing the code there sounds simple enough. If I edit the code will I need to continue to edit the index.php each time I upgrade Atahualpa (other forum posts have mentioned this)? Do I need to edit anything in style.css (in ATO>add widget it mentions editing the style.css after editing the index.php)? Thank you both again very much. You have been extremely helpful. This forum is excellent and I have learned a ton. It's amazing that one can find so much great information for free here. I plan to make a donation so that it can stay that way. Jay. |
Yes you will have to make this change to index.php for each upgrade
Quote:
|
My mistake. The style.css must have been regarding the image separator that I already found a solution for. Sorry.
So I entered this: <?php bfa_widget_area('name=CenterColumn&cells=3&align=9 &width_2=50'); ?> <?php bfa_widget_area('name=AdSpace'); ?> Directly over this: <?php get_footer(); ?> and this appeared under the older entries link in the center column: Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/jenni143/public_html/wp-content/themes/atahualpa367/functions.php on line 404 Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/jenni143/public_html/wp-content/themes/atahualpa367/functions.php on line 404 Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/jenni143/public_html/wp-content/themes/atahualpa367/functions.php on line 404 What did I do wrong? On the upside, the widgets DID appear with the other widgets in WP! When I put a widget in the widget box it appears below the Warning code. I'm getting closer... :) |
Doyou have all the 367 patches applied, actually I'd suggest upgrading to 3.7.1
|
Ok Juggledad, I upgraded to 3.7.1 as you suggested. I followed the instructions for the manual install, like I did before with 3.6.4. For some reason when I go to ATO now I can't get off the start page. I didn't see any bugfixes for 3.7.1, did I miss them?
Thanks a ton! Edit: I did this too Quote:
Edit: I made the change and uploaded again but it hasn't fixed the issue. I am still not able to move from the start page in ATO. |
I Keep my versions folders as 'atahualpa353', 'atahualpa367', 'atahualpa371'
Currently, there are no patches for 3.7.1 Are you saying you can't get to any other theme option pages? Try disabling the plugins you have. |
Quote:
The code in index.php is working perfectly now!!! My site looks exactly like had envisioned. I feel like I've learned a ton through the process. I can't believe how incredibly helpful ya'll have been. I've tried help forums in the past and it hasn't worked out well, usually the advice is something way beyond my minute technical ability. It's so nice to find a place that's accustomed to working with beginners and doesn't fault anyone for the steep learning curve. I just can't thank you enough. Sincerely, Jay |
Quote:
Thanks in advance! Jennifer |
Two oprions, use a plugin like 'widget logic' or use CSS with a 'display:none' targeting the home page. You would start the CSS Selector with 'body.home .........{display:none;}'
|
Excellent! The widget logic plug-in is perfect for what I'm trying to do. Thank you so much!
|
All times are GMT -6. The time now is 03:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.