Free LibrariesDarkNews WordPress Theme CDN Integration

DarkNews is an advanced dark WordPress theme that's appropriate for a news, blog and magazine website. The theme includes a range of free starting pages that can be imported with a single click to create a great news portal. With 9+ custom widgets and widget areas, the theme is fully widgetized, allowing users to control site content. It also has a light and dark color mode, so you can view articles and blog posts in a trendy way. It also contains a number of helpful customizer options for building a visually appealing news site. You can configure it as you like to see how it looks before making any improvements using the live customizer. It's compatible with Elementor, Gutenberg blocks and RTL, as well as the WooCommerce plugin, which enables you to blend an online shop with our newspaper theme. The theme is ideal for a news, journal, magazine, publishing, or review site, as well as blogging. It's well-designed to bring the website to the top of search engines, and people will get outstanding support from the team if they have any problems when using it. [ more... ]

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 automatically detects files 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 latency.

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:                     marco._o.png
Optimize and resize:          marco._o_300w.png            (resize and maintain aspect ratio)
Optimize and resize:          marco._o_300w_100h.png       (resize and crop if required)
Optimize, resize and convert: marco._o_300w_100h_webp.png  (resize, optimize and convert to webp) 

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)