Posts by Smartik

1347 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

1. You can install a new(fresh) wordpress site, download the database fom your old host and upload on your new host. Copy wp-uploads directory and replace on the new host.
2. You can use WP Migrate DB Pro and get all this done for you automatically. https://wordpress.org/plugins/wp-migrate-db/

1347 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

Yes it’s possible. You must create a menu in the main site and get it in all other sites. Here is how you do it:

$blog_id = 1; // Main site ID

switch_to_blog( $blog_id ); // Switch to main site
wp_nav_menu( $args ); // $args - your custom args
restore_current_blog(); // Switch back to current site

// ... 

Good luck. :)

Edit: I misunderstood you question. Sorry. My example shows how to use a menu on all sites and modify it only from the main site. But for what you want to do is just the same theme used on all sites. Nothing more.

1347 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

*Edit, after reading again the OP. Sorry

1347 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

You can sell it for another CMS, but you are not allowed to posts the links in description.

1347 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

No no no. Let that f… rest in peace. Enough of IE8

Glad to read this. :D I hate it as much as you. :P

1347 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

Hi,

I think there are a mistake with the scores

WordPress

IE11: 100% IE10: 99% IE9: 92.7 IE8: 9.4 IE7: 0.22%

9.4% of the Latest 900 WordPress themes still supports IE8

Ahh that’s right. Fixed. :)

1347 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

All is ok on my side. :)

1347 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’m thinking to completely drop the support for Internet Explorer 8. Because of this, I’ve developed a script that analyse the latest themes fom Themeforest. The interesting fact is, only a very small number of authors still support this browser. That motivates me to forget this nighmare. Here are the results.

Latest 900 Site Templates: \\

Latest 900 WordPress Themes: \\

So, how about you. Do you still support it? If yes, why?

1347 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

Do do you want to show or hide the markup if the title is empty?

Based on you code, you may do something like this(not tested):
function s34_widget_title($title) {
    $title = trim($title);
    return empty($title) ? "\t" : $title;
}
add_filter ( 'widget_title' , 's34_widget_title', 10, 3);
1347 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

@silicioweb, I think you’re refering to a theme. You should post in the comments of that theme. That’s the right way of checking the widget title and display the markup if it is not empty:

if( !empty($title) ){
    echo $before_title .  $title . $after_title;
}
or even shorter, a single line:
echo !empty($title) ? $before_title .  $title . $after_title : '';
and a small html escape:
echo !empty($title) ? $before_title .  esc_html($title) . $after_title : '';

Hope this helps, someone.

by
by
by
by
by
by