Problem with theme options page in v2.1.3

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

20 Replies to “Problem with theme options page in v2.1.3”

  1. 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() []: 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.



    1. 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);}

  2. Hi Satish,
    Quick question – I can’t get the slider to work, it produces the following error:
    Warning: 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? 🙁

  3. 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.

  4. 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.

  5. 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! 🙂

    1. 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
      and upload it to your wp-content/themes/ folder via ftp or controlpanel.
      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.

Leave a Reply

Your email address will not be published. Required fields are marked *