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] Post Footer - Edit Center Column in Index.php


  #1  
Old Aug 17, 2011, 02:04 PM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
Using 3.6.7

I can insert AddThis Code into index.php right above Post Footer and get the buttons to show up on each post but they also show up each excerpt as well on home page.

Anyway in 3.6.7 to add code to center content and not have it show up in excerpts?
  #2  
Old Aug 17, 2011, 03:27 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the answer is 'yes' - the next question is 'is it easy?' and the answer is 'no'

You will need to take a look at the code in function.php around line 294 to see the logic that handles excerpts. you can have a manual excerpt, a default word count excerpt, a <!-- More --> excerpt (well it is sort of an excerpt) and the test for each one is different.

So you will need to check if it is the home page, then do the tests to see if this is an excerpt and then display/not display the code you want.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Aug 17, 2011, 04:51 PM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
Thanks for the response. I actually figured out a work around using the AddThis Plugin and custom code.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Center Column "Style and Edit CENTER COLUMN" CenCalDave Center area post/pages 2 Jun 21, 2011 10:58 PM
[SOLVED] Not possible to save changes to STYLE AND EDIT CENTER COLUMN peking Center area post/pages 1 Nov 28, 2010 05:10 AM
How can I alter index.php to omit certain post data? David Crowther Atahualpa 3 Wordpress theme 1 Oct 4, 2010 07:17 PM
Style & edit center column with sorted posts by category calutateo Plugins & Atahualpa 0 Aug 14, 2009 10:43 AM
[SOLVED] Installed the Atahualpa but cant find a way to edit center column mush Atahualpa 3 Wordpress theme 3 Jul 28, 2009 01:32 PM


All times are GMT -6. The time now is 07:25 AM.


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