How to add Youtube social icon on the WP Soccer theme

Soccer is a modern and premium sports WordPress theme dedicated to team sports fans. It includes all the features (dedicated plugins) you need to share your sports passion as List of Players, League Table, Point Table, Player profile, Fixtures & Results etc.

In this theme, it has no Youtube Icon option. I have added the Youtube icon.

Go to replace this codes to this file: /wp-content/themes/wpsoccer/lib/vc-addons/themeum-social-button.php

<?php
add_shortcode( 'themeum_social_button', function($atts, $content = null) {

	extract(shortcode_atts(array(
		'title' 			=> '',
		'facebook'			=> '',
		'facebook_text'		=> '',
		'twitter'			=> '',
		'twitter_text'		=> '',
        'youtube'			=> '',
        'youtube_text'		=> '',
		'gplus'				=> '',
		'gplus_text'		=> '',
		'linkedin'			=> '',
		'linkedin_text'		=> '',
		'delicious'		    => '',
		'delicious_text'	=> '',
		'tumblr'			=> '',
		'tumblr_text'		=> '',
		'stumbleupon'		=> '',
		'stumbleupon_text'	=> '',
		'pinterest'			=> '',
		'pinterest_text'	=> '',
		'dribble'			=> '',
		'dribble_text'		=> '',
		'class'				=> '',
		), $atts));

	$inline_css = $output = '';


	$output .= '<div class="themeum-social-button'.esc_attr($class).'">';
	$output .= '<ul class="list-unstyled">';
	if( $facebook ) { 
	$output .= '<li><a href="'.esc_url($facebook).'" target="_blank"><i class="fa fa-facebook-square"></i>'.esc_html($facebook_text).'</a></li>';
	}				 
	if( $twitter ) { 
	$output .= '<li><a href="'.esc_url($twitter).'" target="_blank"><i class="fa fa-twitter-square"></i>'.esc_html($twitter_text).'</a></li>';
	}
	if( $youtube ) {
	$output .= '<li><a href="'.esc_url($youtube).'" target="_blank"><i class="fa fa-youtube-square"></i>'.esc_html($youtube_text).'</a></li>';
	}
	if( $gplus ) { 
	$output .= '<li><a href="'.esc_url($gplus).'" target="_blank"><i class="fa fa-google-plus-square"></i>'.esc_html($gplus_text).'</a></li>';
	}				
	if( $linkedin ) { 
	$output .= '<li><a href="'.esc_url($linkedin).'" target="_blank"><i class="fa fa-linkedin-square"></i>'.esc_html($linkedin_text).'</a></li>';
	}				
	if( $delicious ) { 
	$output .= '<li><a href="'.esc_url($delicious).'" target="_blank"><i class="fa fa-delicious"></i>'.esc_html($delicious_text).'</a></li>';
	}				
	if( $tumblr ) { 
	$output .= '<li><a href="'.esc_url($tumblr).'" target="_blank"><i class="fa fa-tumblr-square"></i>'.esc_html($delicious_text).'</a></li>';
	}				
	if( $stumbleupon ) { 
	$output .= '<li><a href="'.esc_url($stumbleupon).'" target="_blank"><i class="fa fa-stumbleupon-circle"></i>'.esc_html($stumbleupon_text).'</a></li>';
	}				
	if( $pinterest ) { 
	$output .= '<li><a href="'.esc_url($pinterest).'" target="_blank"><i class="fa fa-pinterest-square"></i>'.esc_html($pinterest_text).'</a></li>';
	}				
	if( $dribble ) { 
	$output .= '<li><a href="'.esc_url($dribble).'" target="_blank"><i class="fa fa-dribbble"></i>'.esc_html($dribble_text).'</a></li>';
	}
	$output .= '</ul>';
	$output .= '</div>';

	return $output;

});


//Visual Composer
if (class_exists('WPBakeryVisualComposerAbstract')) {
vc_map(array(
	"name" => __("Social Button", "themeum"),
	"base" => "themeum_social_button",
	'icon' => 'icon-thm-social-button',
	"class" => "",
	"description" => __("Widget Title Heading", "themeum"),
	"category" => __('Themeum', "themeum"),
	"params" => array(			

		array(
			"type" => "textfield",
			"heading" => __("Title", "themeum"),
			"param_name" => "title",
			"value" => "",
			),	

		array(
			"type" => "textfield",
			"heading" => __("Facebook URL", "themeum"),
			"param_name" => "facebook",
			"value" => "",
			),	

		array(
			"type" => "textfield",
			"heading" => __("Like us on Facebook", "themeum"),
			"param_name" => "facebook_text",
			"value" => "",
			),		

		array(
			"type" => "textfield",
			"heading" => __("Twitter URL", "themeum"),
			"param_name" => "twitter",
			"value" => "",
			),	

		array(
			"type" => "textfield",
			"heading" => __("Follow us on Twitter", "themeum"),
			"param_name" => "twitter_text",
			"value" => "",
			),
		array(
			"type" => "textfield",
			"heading" => __("Youtube URL", "themeum"),
			"param_name" => "youtube",
			"value" => "",
			),

		array(
			"type" => "textfield",
			"heading" => __("Subscribe us on Youtube", "themeum"),
			"param_name" => "youtube_text",
			"value" => "",
			),

		array(
			"type" => "textfield",
			"heading" => __("Gplus URL", "themeum"),
			"param_name" => "gplus",
			"value" => "",
			),	

		array(
			"type" => "textfield",
			"heading" => __("Follow us on Gplus", "themeum"),
			"param_name" => "gplus_text",
			"value" => "",
			),	

		array(
			"type" => "textfield",
			"heading" => __("Linkedin URL", "themeum"),
			"param_name" => "linkedin",
			"value" => "",
			),

		array(
			"type" => "textfield",
			"heading" => __("Follow us on Linkedin", "themeum"),
			"param_name" => "linkedin_text",
			"value" => "",
			),					

		array(
			"type" => "textfield",
			"heading" => __("Pinterest URL", "themeum"),
			"param_name" => "pinterest",
			"value" => "",
			),

		array(
			"type" => "textfield",
			"heading" => __("Follow us on Pinterest", "themeum"),
			"param_name" => "pinterest_text",
			"value" => "",
			),	

		array(
			"type" => "textfield",
			"heading" => __("Delicious URL", "themeum"),
			"param_name" => "delicious",
			"value" => "",
			),		

		array(
			"type" => "textfield",
			"heading" => __("Follow us on Delicious", "themeum"),
			"param_name" => "delicious_text",
			"value" => "",
			),	

		array(
			"type" => "textfield",
			"heading" => __("Tumblr URL", "themeum"),
			"param_name" => "tumblr",
			"value" => "",
			),		

		array(
			"type" => "textfield",
			"heading" => __("Follow us on Tumblr", "themeum"),
			"param_name" => "tumblr_text",
			"value" => "",
			),	

		array(
			"type" => "textfield",
			"heading" => __("Stumbleupon URL", "themeum"),
			"param_name" => "stumbleupon",
			"value" => "",
			),			

		array(
			"type" => "textfield",
			"heading" => __("Follow us on Stumbleupon", "themeum"),
			"param_name" => "stumbleupon_text",
			"value" => "",
			),	

		array(
			"type" => "textfield",
			"heading" => __("Dribble URL", "themeum"),
			"param_name" => "dribble",
			"value" => "",
			),		

		array(
			"type" => "textfield",
			"heading" => __("Follow us on Dribble", "themeum"),
			"param_name" => "dribble_text",
			"value" => "",
			),

		array(
			"type" => "textfield",
			"heading" => __("Custom Class ", "themeum"),
			"param_name" => "class",
			"value" => "",
			),

		)
	));
}
WP Bakery Visual Composer Youtube Shortcode for WP Soccer theme
WP Bakery Page Builder Youtube Shortcode

Let me know If you have any questions.


Want to purchase WP Soccer theme? Here is the ThemeForest link- WP Soccer

WP Soccer Theme Demo

Themeum themes are compatible with Gutenberg!

Yes, we are ready. All of our themes are completely Gutenberg supported!

All your previous theme settings are safe! Themeum themes not only allow you to get better changes for the future in Gutenberg. In addition, they enable all your settings in the Themeum themes to stay exactly how they were previously. So, no need to worry about losing your customization’s with the new WordPress editor.

A few days back our team leader Mr. Jack (Jakir) assigned me to this job. I am very glad to get this opportunity and thanks a lot to Mr. Jack for having faith in me. Today I have finished all of my tasks.

With all of the latest version of every theme, you’ll get the new options:

  1. Theme Documentation link
  2. Theme Support Forum link

If you face any issue, let us know on the support forum.

How to install XAMPP in Ubuntu 18.10 and How it works?

Well well well. After a few years, I come back to Ubuntu for personal use. I am very much impressed by Ubuntu 18.10 GUI. It’s awesome and beautiful. I didn’t feel I am out of Windows or Mac PC. Ubuntu OS allows me to continue work in my daily task here. After installing Ubuntu 18.10 I am very much worried about how to work on WordPress because I don’t like too much coding to ready lamp stack or make virtualhost by Terminal. 

LEARN MORE

How to install WordPress on the localhost

WordPress is software designed for everyone, emphasizing accessibility, performance, security, and ease of use. We believe great software should work with minimum set up, so you can focus on sharing your story, product, or services freely. The basic WordPress software is simple and predictable so you can easily get started. It also offers powerful features for growth and success.

While most websites are (naturally) hosted online, there are plenty of situations in which you may want to create a local WordPress site. For example, you might need to set up a staging environment to develop your site before it goes live, require a safe place to experiment with designs, or perform troubleshooting.

You don’t need XAMPP, WAMP, MAMP or AMPPS for installing WordPress manually. In any of those scenarios, all you’ll need is the right solution. When it comes to creating an offline WordPress site, Local by Flywheel is one of the most intuitive and powerful tools for the job. This solution makes it easy to install WordPress on your computer, clone your site and upload to the host by Duplicator plugin.

If you’re looking to create a local WordPress website, you can’t go wrong with Local by Flywheel . This fully-featured tool contains everything you’ll need to set up and use local sites. It’s simple enough for beginners to use, but also offers plenty of advanced features if you want to customize the way your local environment works.

Best of all, Local by Flywheel is completely free to use. This means you can try it out without any risks or obligations involved.

How to install WordPress on the localhost

Fortunately, setting up Local by Flywheel and using it to manage your local sites is a straightforward process. Over the next few sections, I’m going to walk through how to start using it. The process begins with installing the tool itself.

INSTALL LOCAL BY FLYWHEEL

To download Local by Flywheel, visit the website and select the Free Download button. Next, choose your platform, and enter some basic information (only the email field is mandatory):

Download “Local by Flyweel”

Your download should start right away. Give it a few moments, and then run the installer file. You’ll then be taken to a start-up screen, where you simply need to select the Let’s Go! button:

Installing “Local by Flywheel”

This will install a few programs that are required for Local by Flywheel to work properly. The installation may take a few minutes to complete. If you receive any prompts during the process, make sure to hit Yes to permit the installer to do its job.

After, you’ll be taken straight to your new Local by Flywheel dashboard:

Local by Flywheel’s Dashboard

CREATE YOUR LOCAL WORDPRESS SITE

Next up, let’s create a brand-new local WordPress website. To do so, select Create a New Site in your Local by Flywheel dashboard. This will take you to a simple setup wizard, where the first step is to create a name for your site:

How to install WordPress

You may want to make this something descriptive, especially if you plan to create multiple local sites. You can always change the name of your site later on.

In addition, you can expand the Advanced Options tab to configure a few optional settings if you’d like:

Create WordPress site

Here you can set a domain and path for your local site, and choose whether to create it using a Blueprint. This last option is a handy time-saving Flywheel feature that lets you set up a site using a predetermined set of themes and plugins.

Once you’ve entered a name for your site, you can continue to the next screen:

Choose your server environment

The Preferred option works well for most beginner users, while Customcomes in handy for developers with more specific requirements. Just keep in mind that if you go with the Custom option, you won’t be able to connect your local site to Flywheel (in order to publish it live if you so choose). It may also require downloading some additional files.

Either way, continue to the last step once you’re done here:

Enter your WordPress site login information

On this screen, you’ll create a WordPress username, a secure password, and an admin email address. Under Advanced Options, you can also specify if you’d like this installation to be a multisite setup. Then, hit the Add Site button.

After a few moments, you’ll see your new site listed in the dashboard, along with all of its information:

Your WordPress site panel

You can now select the Admin button to log into your site and get to work! In addition, you can always come back to this dashboard if you want to make changes to your local site’s setup or domain.

That’s it. Enjoy…

Some of information source: FlyWheel Blog site

How to install CyberPanel

CyberPanel is a complete sysadmin package. It makes your administration tasks easier and fun at the same time! CyberPanel is a control panel on top of OpenLiteSpeed, you can use it to create websites and install WordPress and Joomla with one click. OpenLiteSpeed is a high-performance open source web server developed and maintained by LiteSpeed Technologies.

Requirement:

  • CentOS 7 (minimal and make sure this OS has no Webserver installed before)
  • 1 GB Ram (for better performance but minimum 512 MB)
  • 10 GB Disc Space for installing the CyberPanel (It need 1 GB plus)

In this article, I’ll show you how to install CyberPanel in one click!

Installation of CyberPanel is fairly easy. The installation must be run as root (sudo will not work).

Requirements

  • Centos 7.x (Recommended minimal version)
  • Python 2.7
  • 1024MB or above Ram.
  • 10GB Disk Space.

Following instructions will install CyberPanel (with OpenLiteSpeed), it is totally free and does not requires any kind of license, you can install using the single command.

sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

Upgrading CyberPanel

Following commands can be used to upgrade to the latest version.

    cd
    rm -f upgrade.py
    wget http://cyberpanel.net/upgrade.py
    python upgrade.py

and wait until finish the task.

Enjoy the world fastest Website control panel.

Want to know more, read the docs: Cyberpanel Docs

Do you have any questions? Ask here: Cyberpanel Forums

ভালোবাসা তোমার ঘরে বৃষ্টি হয়ে নেমে আসুক

ভালোবাসা তোমার ঘরে বৃষ্টি হয়ে নেমে আসুক।।

ইচ্ছেগুলো তোমার ইচ্ছেগুলো জ্যান্ত হয়ে বুকের ভেতর তুমুল নাচুক
ভালোবাসা তোমার ঘরে বৃষ্টি হয়ে নেমে আসুক

চোখের কোণে যত্ন করে জমিয়ে রাখা স্বপ্নগুলো নতুন করে বেঁচে উঠুক
দু’চোখ ভরে দেখবে তখন আকাশ তোমার বাড়ছে কেমন
সেই আকাশেই জন্ম নেয়ার, সূর্যটার আলো দেয়ার
ইচ্ছে তোমার বুকের জমিন তীব্রভাবে স্পর্শ করুক…

ভালোবাসা তোমার ঘরে বৃষ্টি হয়ে নেমে আসুক
ইচ্ছেগুলো তোমার ইচ্ছেগুলো জ্যান্ত হয়ে বুকের ভেতর তুমুল নাচুক
ভালোবাসা তোমার ঘরে বৃষ্টি হয়ে নেমে আসুক।।

  • শিল্পীঃ আবিদা
  • অ্যালবামঃ ফিরে এসো বেহুলা
  • সুরকারঃ অর্ণব চৌধুরী
  • বছরঃ ২০১২
  • বিভাগঃ ছায়াছবি

Why should you upgrade your PHP version for WordPress?

Does your website seem to run slow? Losing customers because of page speed? Is Google lowering your ranking? It’s possible your server language (PHP version) is outdated.

Your website might not be operating at its full potential. This page will tell you about an important issue we have detected and how to resolve it.

What is PHP?

PHP is the foundational coding technology of WordPress. Just like any foundation, it’s important that it is strong and secure. When you use an old version of PHP on your WordPress host, you are building a WordPress site on a weak foundation. Upgrading to the latest version of PHP is paramount to ensuring your site is secure, fast and compatible with all parts of WordPress. There’s also a host of other great reasons why you should update to the latest version of PHP.

Currently, WordPress is turned to use PHP 7. However, WordPress’ commitment to backward compatibility allows you to use versions as old as  PHP 5.2, which was originally released in 2006. Do you want your website to be stuck that far in the past?  

Why PHP Matters?

There are three things we should care about as a site owner. First, we are the site works as expected when people visit, let’s refer to this as “site availability”. We also care about how fast the site loads and functions, which we can call “performance”. Lastly, we care that we can make use of all the latest and greatest tools for our site, which we will call “features.”  

Site Availability

We have all clicked on ads and links that end up with 404 errors or the dreaded “white screen of death”.  We spend billions of dollars a year to get people to click on our links and when they have a bad landing page experience, all those marketing efforts go to waste. One scarier reason a site could go down is that of hacking. WordPress is a safe and secure platform for your business as long as you are keeping everything up to date.  Unfortunately, bad people on the internet will figure out exploits of any code and hack sites using that code. Since PHP is running a very large percentage of the web and WordPress is built on PHP, these malicious people tend to focus their efforts on this underlying code. Once a vulnerability is publicly known, more bad actors use that same hole to attack more sites.

Fortunately for all of us, the vibrant PHP community is constantly improving PHP.  Currently, they are supporting PHP7 –the most current and secure version of the software possible. The PHP community is only releasing security fixes for 5.6 and is not supporting earlier versions at all. They make the code freely available and they want you to use it on your site to make sure your site is safe.  

Making these updates will help ensure your site will be there when your end customers follow those links and are ready to engage with your business.  

Performance

How fast your site loads is called ‘performance’.  “73% of mobile internet users say that they’ve encountered a website that was too slow to load,”  says Kissmetric’s research.  They also say “40% of people abandon a website that takes more than 3 seconds to load.”  The performance of your site is also a key factor in Google’s mobile site rank.  

Just like any other complex machine, the performance of a site is dependant on the parts being of good quality and well tuned.  PHP is a major part of how sites are delivered.  One of the ways WordPress sites can improve performance without a lot of effort is to update PHP to the latest supported version, which is PHP7 currently.  Sites can see a 30+% increase in performance, immediately in most cases, simply by making this change.  

Features

Let’s imagine you are buying a state of the art car in 1978 vs today. You would expect that a car would include audio as part of the stereo system, have heated seats, utilize active braking assistance, and include a rearview camera – all standard. The car from 1978 would literally have none of those things. This doesn’t mean that it was a bad car; rather, the world of automobiles continued to progress and those features did not exist back then.  

WordPress has evolved much faster than automobiles and there are more new features, delivered through plugins, available today than ever before. Many of the newest features are built and tested on PHP7, as that is the most current version that developers are working within their environments. Your options for features are going to be limited if you are not keeping up with the latest underlying updates, which you are free to do. Make sure you can use the latest and greatest functionality for your WordPress website and update to PHP7 today.

Are there risks when upgrading my PHP version?

In a perfect world, the answer would be “no”. However, WordPress is a continually-developed software with many pieces, including themes and plugins, which are built and maintained by individuals all over the world. This is the beauty of Open Source software. Much of the software we use is freely donated.

Because you may be using a product that is no longer developed, there can be incompatibilities between certain PHP versions and certain WordPress plugins or themes, which WordPress cannot detect automatically.

WordPress as a content management system (CMS) is committed to backward compatibility. This means the main files that run your site will work as far back as PHP version 5.2. That said, we now recommend 5.6. Faster is better and this is why we’d love you to upgrade to PHP7.

Before you update, make a backup of your site (which you should be doing continuously regardless) and then feel the speed and the digital wind in your hair as you freely drive down the internet highway. Okay, so maybe we went too far on that, but we’re very excited about the latest PHP versions..

How to Upgrade PHP for your Website?

While it would be stellar if WordPress could solve the PHP problem itself, that just isn’t possible. PHP is part of the language on your website’s server and, unfortunately, WordPress is not in charge of the PHP version. It is up to you and your hosting provider.

So how do you do it?  Our favorite answer: it depends on how you are running your site.

The good news is that many hosting providers will allow you to choose which version of PHP you can run. There are a lot of different companies with a lot of different ways to manage this.  Fortunately, the WordPress community has collected some of the more popular providers’ upgrade paths.  

If you are not familiar or comfortable interacting with the particular interface to switch PHP versions with your provider, the best thing you can do is ask your host. Here is some sample email language you can use when emailing your provider:

“Dear Hosting Provider,

I want my website to be as performant as possible and secure with the latest updates. Since I am running a WordPress site, I would very much like to ensure that I am on PHP7. If I am not already in this version, please let me know what steps I need to take to upgrade. “

If you are self-hosting, you will need to consult the guides for upgrading PHP on your server.  Again, we highly recommend backing up everything before beginning any such upgrades.  

Conclusion:

Your website might not be operating at its full potential and it could be because your server isn’t on the latest version of PHP.

Keeping foundational server-side software up-to-date is a great way to not only help your own website’s performance but to help keep the internet, as a whole, secure.

Content source: make.wordpress.org

How to change Themeum Educon theme “Apply Now” button

Themeum “Educon” is an all in one Education WordPress Theme built for any university, college, school and another type of educational institutions. The theme has a clean design with powerful features. Educon education theme lets you have a noticeboard, event albums, profile listing and course listing systems on your site.

Go to modify that files for changing the “Apply Now” button

/wp-content/plugins/themeum-core/vc-addons/featured-courses.php
Line # 103

$output .= '<a class="btn btn-primary" href="' . get_permalink() . '">' . esc_html__('Apply Now') . ' <i class="fa fa-angle-right"></i></a>';

/wp-content/plugins/themeum-core/vc-addons/themeum-courses.php
Line # 115

$output .= '<a class="btn btn-primary" href="' . get_permalink() . '">' . esc_html__('Apply Now') . ' <i class="fa fa-angle-right"></i></a>';

Let me know if you need my assistance.

Thanks a lot.