Update: SWIFT is updated on the wordpress theme directory, you dont have to replace the files any more.
While updating SWIFT I used the replace all function in dreamweaver to convert the word “enable” to all caps “ENABLE”.
While doing so I forgot the fact that I was using the word “enable” in some of the variable names. PHP variables are case sensitive and that screwed up the theme.
Replace the theme-options-int.php file in Swift-v2.1.3/includes and style.php in Swift-v2.1.3/ with this files in the following zipped file.
I fixed this and updated the latest version on wordpress theme directory, it might take some time for it to be reviewed.
I’m very sorry for the inconvenience caused.
Download Swift v2.1.3
Hi thanks for the nice themes, i need to clear something with you, could you please advise me how to solve this below error
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/kaluthav/public_html/home/wp-content/themes/swift/index.php on line 16
and could you assist me to have youtube video on my page by posting news and and slidebar.
thanks
Suthesan
Find this code in index.php
<?php if (have_posts()) : while (have_posts()) : the_post();
if($swift_slider_disable !=”true”){if (in_array($post->ID, $do_not_duplicate)) continue;update_post_caches($posts);}
?>
and replace it with..
<?php if (have_posts()) : while (have_posts()) : the_post();
if($swift_slider_disable !=”true” &&$do_not_duplicate ){if (in_array($post->ID, $do_not_duplicate)) continue;update_post_caches($posts);}
?>
Hi Satish,
Quick question – I can’t get the slider to work, it produces the following error:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in/homepages/24/d188427348/htdocs/ryanknott/acceleratelansing/wp-content/themes/swift/index.php on line 16
What am I doing wrong here? 🙁
refer to bulaos reply in this thread
http://swiftthemes.com/forum/topic/getting-some-array-error-on-the-top-of-every-post-in-the-home-page#post-142
Also Satish, if the comment names are not italicized it may look better. But don’t note it because of me; sound out others too.
In future updates please make ’12 comments’ link slightly bigger.
Noted 🙂
Wow, so quick in replying. Thanks there!
Yes I need this information.
Hi Satish – The sheer number of user-friendly options in the Swift theme are awesome. Great work!!
One suggestion.
Can you give a box where a user can put in some HTML code for placing an image – which can be aligned right, left or centre, with size adjustments thru HTML.
I have tried to do this thru the theme editor. But the aligment just goes wonky.
🙁
Alternately, if you can point the particular spot, (section) in the code where I can place the HTML, i can try that too.
Thanks 🙂
In which location would you like to place the image??
Thanks for the prompt revert
Either in the centre … Next to the left aligned logo …. or the right aligned
find these lines in header.php
<div id=”header”>
<div id=”logo”>…..
</div><!–End of Logo –>
Add your imaage before </div><!–End of Logo –>
Make sure width of logo+image do not go beyond 600px.
If you still have problems post it on forum.
http://swiftthemes.com/forum
I can see a black band ….I cant see any code
OK .. this works …. Great. Thanks for your support.
Cool, where are you using it??
That would be nice, and im curious to know whats wrong but, there are other important things to do right now.
I will try to figure that out after the next release of SWIFT.
Hi, thanks for a great theme! I’ve tried many times now to update it via WordPress’s automiatic updater, but I get an error every time:
Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
I’d be very thankful if you could fix this! 🙂
Hello forteller,
Thanks for using my theme 🙂 .
I think there is some problem when you are trying to upload the theme through wordpress dashboard, I’m not sure whats causing it. Here are the 2 alternative ways you can try
download the latest version from
http://wordpress.org/extend/themes/swift/
and upload it to your wp-content/themes/ folder via ftp or controlpanel.
or
in your wordpress dashboard goto addnew themes and search for swift and intall it directly from wordpress theme repository.
Hope that helps, feel free to drop in if you have further problems.
Yes, I know I can update it manually, but it would be great to be able to use the built in updater! 🙂