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] Banner inside posts


  #1  
Old Apr 27, 2009, 09:25 PM
evripidis's Avatar
evripidis
 
37 posts · Apr 2009
Greece
Is there any way to put a banner inside every single post, for example in the upper right corner ?
Of course to be visible only in single post and not in the main page.

I'm trying it inside the template settings but i can't figure it out if its possible.

Any help please ?
  #2  
Old Apr 27, 2009, 10:53 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
See how it's done for the icon for sticky posts at Theme Options -> Post/Page Styling -> POST Container: STICKY and do something similar for POST Container
  #3  
Old Apr 28, 2009, 08:27 AM
evripidis's Avatar
evripidis
 
37 posts · Apr 2009
Greece
That's exactly what i'm looking for Flynn thank you. But i have a small problem cause the banner is actually a script and i can't figure it out how to put it like the sticky.gif
  #4  
Old Apr 28, 2009, 01:47 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You could put the code into one of the Kicker textareas at Post / Page Info Items and adjust the position with CSS. Otherwise you'd have to put it into index.php after <div class="post-bodycopy"> with conditional comments

<?php if ( is_single() ) { ?>
<div class="mycode">
...
</div>
<?php } ?>

CSS Insert

div.mycode {
float: right;
margin: ...
padding: ...
}

Or, if you plan to do more edits for single post pages, make a copy of index.php as single.php. Then you'd not need the <?php if ( is_single() ) { ?> and <?php } ?> parts
  #5  
Old Apr 28, 2009, 02:04 PM
evripidis's Avatar
evripidis
 
37 posts · Apr 2009
Greece
Many thanks! The index.php solution worked fine!
  #6  
Old May 13, 2009, 04:42 PM
evripidis's Avatar
evripidis
 
37 posts · Apr 2009
Greece
Are there any changes at 3.3.3, for the index.php solution ?
  #7  
Old May 13, 2009, 09:34 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
In 3.3.3 put it above

<?php bfa_post_bodycopy(); // Post Bodycopy: To edit the output, see functions/bfa_post_parts.php ?>
  #8  
Old May 14, 2009, 02:25 PM
evripidis's Avatar
evripidis
 
37 posts · Apr 2009
Greece
Thanks again Flynn. Now it's working again
  #9  
Old Jul 6, 2009, 04:29 PM
evripidis's Avatar
evripidis
 
37 posts · Apr 2009
Greece
Is this working in 3.4 ?
  #10  
Old Jul 6, 2009, 05:15 PM
evripidis's Avatar
evripidis
 
37 posts · Apr 2009
Greece
Found it!

For the rest, you have to do the same actions but the code must be copied at :
Style & Edit CENTER COLUMN --> The LOOP

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I add a widget area inside the logo bar? jfriedman Header configuration & styling 8 Jun 26, 2011 09:59 PM
Opening external links inside a Wordpress frameset? d_random Atahualpa 3 Wordpress theme 4 Dec 22, 2010 03:59 PM
Static text/banner image before posts in "posts page" verbalicious Page & Category Menu Bars 14 Nov 12, 2010 06:27 AM
[SOLVED] lines between posts / excerpts timdevogel Atahualpa 3 Wordpress theme 2 Jun 9, 2009 03:48 AM
[SOLVED] place a 468 x 60 banner in header area? ppat2 Header configuration & styling 4 May 4, 2009 12:54 AM


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


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