PHP code example of ensoul / rankz

1. Go to this page and download the library: Download ensoul/rankz library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ensoul / rankz example snippets


/**
 * Enable features from Rankz when plugin is activated
 */
add_theme_support('rankz-init');
add_theme_support('rankz-clean-up');
add_theme_support('rankz-disable-customizer');
add_theme_support('rankz-disable-update-notice');
add_theme_support('rankz-disable-comments');
add_theme_support('rankz-disable-widgets');
add_theme_support('rankz-font-awesome-menu');
add_theme_support('rankz-admin-login', '#e50040', 'dist/images/login-logo.png', 'https://example.com');
add_theme_support('rankz-google-analytics', 'UA-XXXXX-Y');