Posts by Smartik

893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says

Host images on your server or on any image hosting website and use html to link and display them in description. Envato allows you to use a limited number of HTML tags. More info here: http://support.envato.com/index.php?/Knowledgebase/Article/View/262

893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says

I have use a laptop and I’m not going to change it anytime soon, it allows me to work anywhere I want. :) And in case I need a larger screen, I have an additional large monitor.

893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says

It’s simple really. Just make quality themes. Explore the market and see what sells. But quality is the thing that will help you most :)

I often see here that cr*p themes sells well and themes that are really qualitative not. Some themes are not optimized, include dozen of useless scripts and styles, but they sells. So, quality, doesn’t really mean good sales, unfortunatelly.

@arousing, to answer your question: Open your blog, post unique info and advertise your Themeforest items.

893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says

Using get_option is not productive and for this reason many authorsimplement a custom function and save all options in a single multidimensional array. So you have to call get_option only one time and get everything in a custom function. Also this allows to keep the wp_option table clean.

Using globals everytime is not necesary if you create a custom function. I personally try to use global as little as possible. Anyways, here’s how I did it in SMOF some time ago:
function smk_get_option($option_name, $default=""){
   global $smof_data;
   return (isset($smof_data[$option_name])) ? $smof_data[$option_name] : $default;
}
893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says

Hope this trend will die soon. On scroll animations are bad, not only because they adds unnecesarry weight to CSS, but also because a very small number of people know how to implement them properly.

893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says

Yes, is OK to have a download limit, there are many reasons behind this, but right now it just doesn’t work properly. The best solutions would be to reset the download counter after each update of a file or increase the limit with 5(for example).

Also, I agree that, update emails should be automatically send on every update, sometimes we can forget to select that checkbox. And it would be great if we could to add a changelog that will sent with the email notification. I don’t understand why this option is not already there, the email is sent so what’s the problem if we add some additional notes?

893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says
Use version_compare.
if ( version_compare(get_bloginfo('version')), 3.9 '>=' ) {
893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says

For SEO. The title is the first that show up in search engines.

893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says

Use global $wp_version; instead..
Try to use globals as little as possible. Use them when you really need them. Here you have no reasons why you should one or another, use any of them, but I would choose the function.

Anyways, this snipet is not perfect and it will return true on if both are numbers(integers or floats) but what if the WP version is a alpha release or RC or whatever? Here must be used native php version_compare() because it know how version naming works.

$version = get_bloginfo('version');
if( version_compare( $version, 3.9, '<' ) ) {
   //do the magic here
}
893 posts
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Has been a member for 3-4 years
  • Exclusive Author
  • Europe
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
Smartik says

I have Windows 7 and I don’t want to switch to Win8, no reasons for that. I tried it on my brother’s computer and I don’t like it. I mean it is beatifull and offer a good experience for simple users, but for programers like me it is not productive. I’m one of the people who don’t care about fancy effects, just speed. :)

Also, I like ubuntu, but I still prefer Windows for many reasons(one of them is the large variety of softwares).

by
by
by
by
by
by