Easy Logo Shortcode

Below, you’ll find a detailed guide on how to add the Easy Logo Shortcode to your WordPress website, including its parameters, examples, and PHP function code. Additionally, we’ll assist you with common issues that might cause the Easy Logo Plugin shortcode not to show or not to work correctly.

Before starting, here is an overview of the Easy Logo Plugin and the shortcodes it provides:

Plugin Icon
Easy Logo

"Easy Logo is a user-friendly WordPress plugin that simplifies the process of creating and integrating custom logos into your website. With Easy Logo, branding your site is a breeze."

★★★★★ (4) Active Installs: 2000+ Tested with: 6.0.6 PHP Version: false
Included Shortcodes:
  • [easylogo]

Easy Logo [easylogo] Shortcode

The EasyLogo shortcode is a handy tool that calls the ‘easylogo_main_shortcode’ function. This function initiates the ‘show_easylogo’ function, which displays the logo.

Shortcode: [easylogo]

Examples and Usage

Basic example – In the most basic form, the ‘easylogo’ shortcode can be used without any additional parameters. This will simply display the logo in the place where the shortcode is inserted.

[easylogo /]

Advanced examples

It’s possible to customize the ‘easylogo’ shortcode by adding additional parameters. The parameters are added inside the brackets of the shortcode, separated by spaces. Here are a few examples:

1. Displaying the logo with a specific width and height. In this example, the logo will be displayed with a width of 100 pixels and a height of 50 pixels.

[easylogo width="100" height="50" /]

2. Displaying the logo with a custom CSS class. This can be useful for applying specific styling to the logo. In this example, the logo will be displayed with the CSS class ‘my-custom-class’.

[easylogo class="my-custom-class" /]

Note: The actual effect of these parameters will depend on the implementation of the ‘easylogo_main_shortcode’ function and the ‘show_easylogo’ function. These examples assume that these functions are designed to accept and handle these parameters.

PHP Function Code

In case you have difficulties debugging what causing issues with [easylogo] shortcode, check below the related PHP functions code.

Shortcode line:

add_shortcode( 'easylogo', 'easylogo_main_shortcode' );

Shortcode PHP function:

function easylogo_main_shortcode( $atts ) {
	return ob_get_clean();

Code file location:



Now that you’ve learned how to embed the Easy Logo Plugin shortcode, understood the parameters, and seen code examples, it’s easy to use and debug any issue that might cause it to ‘not work’. If you still have difficulties with it, don’t hesitate to leave a comment below.


Leave a Reply

Your email address will not be published. Required fields are marked *