Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Controlling Image Order in Header Rotator (http://forum.bytesforall.com/showthread.php?t=21113)

outlaw704 Nov 7, 2013 04:04 PM

Controlling Image Order in Header Rotator
 
I am trying to rearrange the display order of images in the header rotator. I'm still using Atahualpa 3.5.3 in WordPress 3.7.1. The site is www.precisionturbines.aero. I need to make the fourth image the first. I tried renaming the images - no help (I may be renaming the wrong images).

The original site was launched so long ago, I can't recall how I set the original order. I've looked through the code and can't find what I am looking for...

Any help? Would be greatly apprciated.

juggledad Nov 7, 2013 04:29 PM

There is an option to set random or 'not' order
I would strongly advise you to upgrade to 3.7.12

outlaw704 Nov 7, 2013 05:09 PM

Quote:

Originally Posted by juggledad (Post 104650)
There is an option to set random or 'not' order
I would strongly advise you to upgrade to 3.7.12

Two problems here. A few years ago you helped me solve a few issues - somewhere in the css and in the code. I, of course, did not document well and I am afraid that upgrading to 3.7.12 will cause more problems than it will fix for this particular site.

Secondly, I need a specific image order. We need to have one of our current images always be first.

Any other ideas or suggestions?

juggledad Nov 7, 2013 06:54 PM

1) t some point you are going to run into trouble and the tehme may stop working. You can't assume you can upgrade WP and not upgrade your theme and plugins.

2) if you set ato->Header Image->Sort or Shuffle header images? to 'Sort' and name your images something like '1-image.jpg', 2-image.jpg' they will show in order.

outlaw704 Nov 18, 2013 12:44 PM

I am not finding the sort function in the header section of my version of ATO.

I did try renaming my five images as you suggested and that didn't seem to make a difference. I even removed the images from the header folder but they still appear in the website, still rotating in the original order.

The following code appears in the ATO>Style and edit Header area; does it give you any clues to where the actual rotating images are located?

<?php bfa_widget_area('name=extra header widget&cells=2&align_1=9&align_2=9&width_1=700&bef ore_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>

%logo
<?php if(is_home()){ ?>
<?php wp_cycle(); ?>
<?php } ?>

%cats

<?php bfa_widget_area('name=ticker cell'); ?>



Thanks in advance...

juggledad Nov 18, 2013 02:46 PM

it looks to me like you may be using a plugin (?) to rotate the images - I'd have to have access to the site to be sure - something maybe called 'rotate'? - but it is not the Atahualpa code that is rotating the images.

outlaw704 Nov 24, 2013 05:56 PM

Quote:

Originally Posted by juggledad (Post 104837)
it looks to me like you may be using a plugin (?) to rotate the images - something maybe called 'rotate'? - but it is not the Atahualpa code that is rotating the images.

That's it. The plugin is called wp-cycle. I'd forgotten about it... Once you gave me the hint, it was easy to find and fix. Thanks again J-Dad!


All times are GMT -6. The time now is 04:09 PM.

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