Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » eCommerce & Atahualpa »

PHP code in page kicker


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Sep 6, 2011, 04:53 AM
lars.johan@hotmail.com
 
4 posts · Feb 2011
PHP code in page kicker

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
 
22,265 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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,100 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 03:08 AM.


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