Mantra Wordpress Theme CDN

Mantra is a do-it-yourself WordPress theme, featuring a pack of over 100 customization options and easy to use tweaks capable of tuning WordPress to your very specific needs and likes. With the help of a simple and efficient user interface you can customize everything:the layout (1,2 or 3 columns), total and partial site widths, colors (all texts, links, backgrounds etc.), fonts (over 35 font-families plus all Google Fonts), text and header sizes, post metas, post excerpts, post formats, header and background images, custom menus, 27 social media links and icons, pins, bullets and much much more. With a fully responsive layout,a customizable showcase presentation page, animated slider, magazine and blog layouts, 8 widget areas, modern graphics and an easy and intuitive admin section, you can start creating your dream site right now. [ more... ]

Integration Guide

Manual Integration

Documentation and usage details may be available on project page. This project is licensed under GPLv2 License .

To manually use CDN Links from this project, just goto the CDN Files page and click the icon to copy code for using on your website. For most important files, it will copy script and style tags that already include SRI hash so that you can securely embed code in your HTML documents.

Wordpress plugin

This project on PageCDN is also available on our free CDN plugin. Once you install the plugin, it will automatically detect any files that are available on PageCDN and links to them. There is no manual configuration required.

API Integration

This project is available on our Public CDN API. Further integration details are available in docs.

File Search

You can also lookup files of this repo using sha-256 hash. For example, you can use /lookup CDN endpoint that returns a JSON response containing URL of the public file you searched for. This endpoint searches for matching files on the entire public CDN, including WordPress themes and Plugins, and public libraries but excluding 'Easy Fonts'.

GET https://pagecdn.io/lookup/0925e8ad7bd971391a8b1e98be8e87a6971919eb5b60c196485941c3c1df089a
{
    "status": "200",
    "message": "Ok",
    "details": "Success",
    "response": {
        "file_url": "https:\/\/pagecdn.io\/lib\/jquery\/3.4.1\/jquery.min.js"
    }
}

For best performance, this response is cached at our edge servers. However, you are recommended to create a local copy of this response to avoid unexpected circumstances.

Combining files

This feature is currently in pipeline, and is expected to be released soon.

On-the-fly image optimization

On-the-fly image optimization is now enabled on all repos on PageCDN by default. With this feature, you can optimize and resize images by just tweaking the URLs. Only PNG and JPG file types are supported. Here is how it works:

Original Image:      marco.png
Optimize it:         marco._o.png
Optimize and resize: marco._o_300w.png       (resize to width, and maintain aspect ratio)
Optimize and resize: marco._o_300w_100h.png  (resize to specific size, and crop if required)

On-the-fly minification

On-the-fly minification is now enabled on all repos on PageCDN by default. With this feature, you can minify any CSS or JS file on the fly by just tweaking the URLs even when the minified file is not already available on the CDN. Here is how it works:

Original Script:     custom.js
Minified Script:     custom.min.js  (auto-generated if your site requests for it, not otherwise)