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 |
You will have to put it in index.php
|
Another option would be to but a new widget area in the kicker with
HTML Code:
<?php bfa_widget_area('name=Page Kicker'); ?> |
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?
|
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! |
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. |
All times are GMT -6. The time now is 01:01 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.