Posts by Smartik

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says

Ugh, so many gemini.

Mine is sagittarius.

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says

Have you asked the original author? Maybe he/she is working to WP version and it might be soon on ThemeForest.

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says

Sh*t don’t wake up old threads, it’s confusing and I was about to reply with a list to free resources. It’s a 3 years old and the author of this topic has already found what he was looking for.

Locked.

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says

I replace the images with placeholders, and if users ask me about images, i send it by email.

OK, that’s bad.

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says

Github private repository.

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says

Thanks Andrei.

Yes everything is simple there but, copy/paste of that function won’t help to everyone, there are some styling, custom functionality which are controlled from theme customizer.

Will my theme be rejected if I don’t put that functionality into the plugin, please answer…

Add the minimal styles to the plugin in a static file, for settings use WP Settings API and if you want to allow the user to change the style you can use the customizer as a bonus.

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says

Flat design doesn’t mean pale design, you should already know that.

  • All colors looks desaturated, you must review the color scheme.
  • Typography. Nothing more to say here, this is a hrad part and you have to learn it.
  • Some text block are not correctly aligned vertically.
  • White space is good, only if it used crrectly. For example to separate large blocks.
  • If is totalk about the pricing table screenshot, the first what pops up is the double border. Make it pixel perfect.
  • My advice is to avoid using animations and border-radius everywhere. Think twice before using them and the result will be exceptional.

All the best. Andrei.

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says

OK, thanks everyone. This Post LIke System is integrated into the theme, the main function which displays likes is called in index.php within the loop. I’m wondering how could other themes use this system if it can be shown only by calling function within the theme?

Well, why I said WP hooks? Because it makes simple to extend any plugin or theme.

Separate this functionalitty in a plugin and make sure it works. Once you got that done add the following line in your theme where the likes button should be.

do_action('theme_likes_area');
Now in your functions.php add this:
function add_to_theme_likes_area(){
    if( function_exists('pl_likes') ){
       echo pl_likes(); 
   }
}
add_action('theme_likes_area', 'add_to_theme_likes_area');

Replace: pl_likes with the function name that calls your plugin.

If I would like to use your plugin in a nother theme all what I’ll have to do is to copy the code above in my theme and add do_action in the place where I need the likes button. Or change add_action and the function to avoid theme modification. like this:
function add_to_theme_likes_area($content){
    if( function_exists('pl_likes') ){
       return $content . pl_likes(); 
   }
   else{
       return $content;
   }
}
add_filter('the_content', 'add_to_theme_likes_area');

See, everything is possible and simple, you just make sure that your plugin is theme independent.

Cheers, Andrei.

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says

A plugin of course. :) And use WP hooks to integrate it.

1348 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says


Ahh, almost forget. Try to optimize the preview image, to be max 50-60kb.
Andrei, how to optimize preview that is about 590×4000 with many images inside to 50-60k ? Can this PNGGauntlet do such magic ? I compressed my JPG images to 5-6 quality but obviously it’s not enough cos they are more than 600-700k.
Well, when I said 50-60k I’m refering to preview images that are on TF, 590×300. For an image like your(590×4000) it is normal to have this size, but you know, some authors do not optimize images at all and a 590×300 can have more than 200k or one like your, more than 2mb.

PNGGauntlet, is just an example and sometimes it does magic compresing some images up to 80% if is png, for jpg it sometimes has no effect, output have the same size, sometimes 10-15%.

For GraphicRiver or other marketplaces where the height of preview image has no limits, you can show a smaller image in preview and other upluoad as screenshots. Then when the file is approved you can embed them in the item description. – <img src="http://3.s3.envato.com/files/ITEM-ID/002-image.jpg" />

So your images will be hosted on the same server as the preview.

Anyway, image optimization is important, but not as much as the title and the begin of item description. ;)

by
by
by
by
by
by