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 » eCommerce & Atahualpa »

PHP code in page kicker


  #1  
Old Sep 6, 2011, 04:53 AM
lars.johan@hotmail.com
 
4 posts · Feb 2011
Before I upgraded to Ata 3.6.7 my Kicker "page" Pages option looked like this:
<div class="breadcrumbs">
<?php
if(function_exists('bcn_display'))
{
bcn_display();
}
?>
</div>

Now, I don't get nothing out of this PHP code and I understand why, WP policy.

But where else can I put this code to get the same nice bread crumbs on my pages as before the upgrade?

Regards Lars
  #2  
Old Sep 6, 2011, 05:06 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You will have to put it in index.php
__________________
"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 6, 2011, 10:46 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Another option would be to but a new widget area in the kicker with
HTML Code:
<?php bfa_widget_area('name=Page Kicker'); ?>
and then use a php aware widget for the code.
__________________
~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.
  #4  
Old Sep 22, 2011, 04:25 PM
gold fox
 
10 posts · Feb 2010
I am trying to do this same sort of hack but my problem is that I have BuddyPress installed and so my Index.php looks really different. In fact, I can not find where the kicker code is any more. Any ideas? And is that where I would want to paste this?
  #5  
Old Sep 22, 2011, 04:30 PM
gold fox
 
10 posts · Feb 2010
To add more specific info…I am using a plugin called “Category Icons”. I wish to have all post excerpts of a specific category to be displayed with a specific image.

This plugin requires me to paste a php snippet in just before the “post title” code. Where would I find this?

It's not in the Index.php I am assuming that BuddyPress must make some drastic changes to these files.

thanks!
  #6  
Old Sep 22, 2011, 05:34 PM
gold fox
 
10 posts · Feb 2010
Actually, never mind! Sorted.

I realized that the “Index.php” in the “Editor” section is BP's index but that Atahualpa's lives only in its theme folder.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] copy/pasting jquery code in page apparently generates unwanted code tags (p, mafgirl Center area post/pages 2 Jan 19, 2012 09:10 AM
Image placement issue in IE for page Kicker tmb4016 Center area post/pages 0 Sep 2, 2010 04:09 AM
Category title on category page, not on each post excerpt kicker paulae Excerpts, Read more, Pagination 4 Jun 22, 2009 11:33 AM


All times are GMT -6. The time now is 08:01 AM.


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