Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   eCommerce & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=31)
-   -   PHP code in page kicker (http://forum.bytesforall.com/showthread.php?t=15307)

lars.johan@hotmail.com Sep 6, 2011 04:53 AM

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

juggledad Sep 6, 2011 05:06 AM

You will have to put it in index.php

lmilesw Sep 6, 2011 10:46 AM

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.

gold fox Sep 22, 2011 04:25 PM

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?

gold fox Sep 22, 2011 04:30 PM

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!

gold fox Sep 22, 2011 05:34 PM

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 04:26 PM.

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