Some Changes in Suffusion Version 3.9.3

I am going to be making a change in Version 3.9.3 that might impact some users. I had once introduced a method to include custom PHP in the theme. That was more than 20 months back. Lots of things have changed since then, including provision of support for child themes.

If anyone is using that piece of functionality (and I doubt if the total count of such users is more than 10), I will be removing it in 3.9.3. Note that you can take all the functions defined in the Custom PHP file and put them in a child theme’s functions.php file.

Please feel free to post here in case you have any questions.

22 Responses to “Some Changes in Suffusion Version 3.9.3”

  1. Read this just in time! 🙂
    I am customizing the theme to my taste on a local server and with this news i decided to make a child theme, make all the options in there plus move not only the custum php, but also the css includes to there.

    Sayontan, I LOVE the theme and how easy one can change the ‘looks’. And then also the option for people (like me) who want even more 🙂
    Thank you!!

  2. Sayontan, you put a lot of effort into your amazing theme – great job!
    .. but I do have two suggestions for the next version 😉

    1) fix the headline dependent positioning of the full story button issue that spoils the tile layout a little. You can see the problem here (unless I find a fix): http://www.reportsfromearth.com

    Here are some ideas:

    -If you could add an option for “number of lines reserved for the title in the excerpt” – then there would be no misalignment!
    -or an option to remove the button completely (I may need to make the image transparent but this would probably leave much space between excerpts)
    -or an alignment option of the button

    whatever is easiest for you!

    2) Another tiny problem: It seems that tags don’t work in the query widget if they consist of two words – not a huge deal but worth looking into 😉

    Keep up the great work!

    • Well, #1 as you state is not a “problem” – that is the intended behaviour as coded. And the only correct way to “fix” it is to change the usage of a table and make it a div. Also, there is no way to control the number of lines in CSS or HTML. The closest you can get is to fix a height and set the y-overflow to be hidden.

  3. Thanks Sayontan for the fast response.

    You solutions, div tags or hidden overflow, sound good to me. Is there a way for me and others (who may have similar wishes) to implement this ourselves?

    Can this be done in a custom style sheet – the one that stays even after updates? I don’t want to mess up your code and it would take me ages to do the right thing… 😉

    If you have some spare time to tell us the required code and where to insert it – that would be amazing… I realize this is your hobby..

    Thanks – Jason

  4. Sayontan,

    I am still tinkering with your great theme..
    and I just became one of those 10 custom php users…as the only solution to align picture captions on a per caption base is the solution below – courtesy of http://stackoverflow.com/questions/1812611/wordpress-how-to-add-a-caption-right-aligned-to-the-edge-of-the-image

    by inserting the captionalign=”right” parameter in the HTML code of each caption (else “centered” is used) for example:

    [caption align="aligncenter" width="300" caption="My caption" captionalign="right"]

    Using the following php code:

     '',
        'align' => 'alignnone',
        'width' => '',
        'caption' => '',
        'captionalign' => ''
    ), $attr));
    
    if ( 1 > (int) $width || empty($caption) )
        return $content;
    
    if ( $id ) $id = 'id="' . esc_attr($id) . '" ';
    
    return ''
    . do_shortcode( $content ) . '' . $caption . '';
    }
    ?>
    

    This works for me using the custom php option in your theme 🙂

    I know I could do this with the child theme option too (after another hour of tinkering maybe). But I think this could be a very useful standard functionality for many users – maybe you want to add it when abandoning custom php? Users like myself who like multiple line captions will often prefer “left aligned” to wordpress default “centered”. I would already be quite happy if I could chose as default:”left aligned”

  5. Sorry somehow the php code doesn’t come out right using this posting feature but you can see it in the link and perhaps fix it if I did something stupid…

  6. Nice theme you got here. Am currently using the Swift theme, but might change it for Suffusion.

  7. great changes!but i canot use it T_T

  8. It works good on my site!Good!

  9. I use also the custom php feature to include a special php file on several websites. Not only for me alone. Hopefully there would be a way to use the code from the php file in the future.

    I don’t know much about “How to build a child theme”, but I read that a child theme is very slow because of the many file refer…

    • That is not correct. A child theme is not slow, and it is definitely not due to file references. Note that a child theme can also be used to speed things up, e.g. if there is any core functionality that you don’t want to use, a child theme is what you can use to code those things out.

      • Thanks for your information. That sounds fine. Hopefully it is easy to create a child theme. I will start looking for a “How to” or something simular…

        …disabling some core functionality sounds great to speed up things. Are there any information how to do that?

  10. How can i input a plugin which called Qaptcha in the comments page instead of captcha! when i inptut the code just as on comments page,it’s always show a error!

  11. I use the custom PHP feature. Now I have to scramble to get things working again. From now on I’ll read the about the changes before I blindly update versions. Updates shouldn’t remove functionality without some warning.

    • Updates shouldn’t remove functionality without some warning.

      … Which is why I gave a month’s warning before I removed the feature. Sorry, but if a month isn’t enough for this, nothing will be.

      You can still downgrade to the previous version and use it while you transition out.

  12. someone knows how to fixed the post content..because when i try to make the browser smaller the text try to fits up the and become thinner..I want it to be fixed not moving while making changes on the browser. I’m using firefox..great theme I like it customizable..!!

  13. Hello,
    Im trying to build business website from your theme for this summer!
    Your theme is and was exactly what i was looking for on wordpress
    so many thanks:) its perfect for me.
    I just read some comments, so wasnt sure if im wasting my time or not.
    I mean if you suddenly change something will it effect my site?
    Regards
    Jay

    • Sorry, but wasting time with what? I have been supporting the theme actively since August 2009, when I released it first and I have steadily added features and worked on fine-tuning things as time went by. I do take users very seriously and I have always taken care to alert users to any changes in features well in advance. As far as removal of features is concerned, the total number of times something has been culled from the theme is probably less than 5 (out of a total of 100+ releases), and each time I have presented a viable alternative. Even in this very post, the actual release happened one month after the post, and the way to accommodate the change is fairly easy – just copy contents of one file into another.

  14. I love the theme by the way. It will be great if in future you develop a pack for events manager.
    HCG

  15. I have been supporting the theme actively since August 2010, when I released it first and I have steadily added features and worked on fine-tuning things as time went by.
    HCG