Posts by Smartik

1352 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
$page = $_GET['view'];
Should be in templates.php, before if/else statment.
Edit: And change the if ($page = “home”) to if ($page == “home”) for all.
Edit2: Looks like fillerspace was faster. :P
1352 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 am continually having problems with my Perspective template. Whenever I make any changes to the index page, the middle section (where the 3 “SERVICES” widgets are) get messed up.

They should be located just below the 3 pictures. However, when I make changes to the home page, they become “spread out;’ that is, they end up in 3 rows instead of side by side by side.

Please advise. Thank you
Contact me using this form: http://themeforest.net/user/Smartik#contact Include the purchase code or login with the account that you’ve purchased the theme.

Thank you.

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

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

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

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

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

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

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

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

by
by
by
by
by
by