Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   add widgets broken in 3.5.1 (http://forum.bytesforall.com/showthread.php?t=7687)

lwoirhaye Jun 20, 2010 10:34 PM

add widgets broken in 3.5.1
 
I don't know how else to say it: this useful feature is not longer
usable.

I'm a new member here but I've been working with this theme for awhile.

3.5.1 not only screws up or does not display older adder widgets, it
also does not, in my work with it, sufficiently or reliably support
adding of new ones.

Just a fact. I may have to go back to an earlier version to get my
widgets back.

juggledad Jun 21, 2010 04:12 AM

You are the first to rporta problem like this with 3.5.1 but you haven't given enough information to let us help you.
1) what version did you upgrade from?
2) what version of wp?
3) What is the URL?
4) have you tried everything mentioned in http://forum.bytesforall.com/showthread.php?t=6606
5) has anything else changed at your site? Did the host change anything? Did you upgrade something else at the same time as upgrading Atahualpa?

lwoirhaye Jun 21, 2010 09:08 AM

1. I upgraded from 4.6

2. WP 2.9.1 I think

3. http://malibumentor.com/blog

4. I've wrestled with this issue for several hours and combed through the forum at length looking for solutions.

5. no.

This conditional code to make a widget appear beneath post 1 worked in the earlier version:

Code:

<?php if ( $bfa_ata['postcount'] == 1 ) { ?>

<?php bfa_widget_area('name=widget2'); ?>

<?php } ?>

It may be a syntactical issue. I don't know PHP. This code is copied from the instructions within the theme admin. The widget simply does not get created.

I should clarify that it is not that widgets cannot be created in the center column, it is that the widget that appears, conditionally in the loop no longer functions, but did function with the above PHP in the earlier version of the theme.

juggledad Jun 21, 2010 09:35 AM

I have just copied that code and pasted it into The LOOP in my test 3.5.1 site with WP 2.9.2, I visited the page, then went back to dashboard->Appearances->Widgets and the widget are is there. I add a widget and it displays

When I go to your oage, I see a widget at the top of your center area, an RSS widget. Are you looking for something else?

lwoirhaye Jun 21, 2010 10:04 AM

Thanks for looking at it. The widget you see - the RSS window, is not conditional, it appears on every page. It also is put in above the loop. This does not seem to be a problem.

It is the placing of the widget within the loop that I'm having no luck with. This placement worked perfectly in the earlier version.

I've tried placing the widget both inside the <post> and after it, but since it doesn't get created I've seen a way to troubleshoot the issue further.

This is how I presently have it configured:

Code:

<!-- / Post -->

<?php if ( $bfa_ata['postcount'] == 1 ) { ?>

<?php bfa_widget_area('name=widget2'); ?>

<?php } ?>

Is this correct in the current version?

It seems to have worked in the older 4.6 era theme. I even tried hardcoding the php into the index.php file but that did not create the widget either.

lwoirhaye Jun 21, 2010 10:24 AM

I managed to create the widget, but only by removing the conditional php. The widget can be made to appear below all posts, but when the php is put back in to make it appear after post 1, it does not appear in the blog.

The issue seems to be that the present theme has trouble creating widgets that have conditional php for where they appear in the post loop. When the conditional php is removed the widget can be created, but when the widget is enclosed within the conditional php again, it fails to appear on the front end.

juggledad Jun 21, 2010 10:56 AM

It's got to be something else. I put your code in and it works. Have you added any plugins lately?

lwoirhaye Jun 21, 2010 02:08 PM

I've disabled all plugins that I've added recently and the feature is still non-functioning. Looks like we're both out of ideas. Thanks for you help. I'll probably have to try going back to 3.4

juggledad Jun 21, 2010 02:25 PM

how about letting me take a peek? If you are interested, send me a PM with an admin ie/pw and I poke and see if I can spot what is different

one more thing to try - if you haven't make any option changes since 3.4.6, go to the EXPORT/IMPORT option and press the "Delete BFA_ATA4' button. This will rebuild the bfa_ata4 record from teh 3.4.6 settings. If you had installed any release 3.4.7-3.5/0, giive this a try

lwoirhaye Jun 21, 2010 02:30 PM

This problem was instantly solved by going back to 3.4.6

juggledad Jun 21, 2010 02:48 PM

no the problem isn't solved, it still exists. If you want to be able to ever upgrade, you need to find out what is happening. Did you try my suggestion in my last post?

mukokoc1 Jun 23, 2010 04:16 PM

Juggledad, it worked. I had the same problem. I had created a widget area in the header, but decided I wanted more than one area there (first time creating new widget areas), so I just deleted the code and put in the code for more than one widget area in the header, without using "delete widget areas" function in ATO. Everytime I tried to create a new widget area from that point on, it wouldnt create one. It just did nothing. Nothing in the ATO area and nothing in the appearance->widget area. It tried putting it into the theme files and that didn't work either. So after a day of trying everything, and looking all over this forum, I finally found this thread. I exported my settings, deleted the BFA_ata4, then reloaded my settings and now it works. Don't know why it worked, but it did. Thanks.


All times are GMT -6. The time now is 12:40 PM.

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