View Preview.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://cdn.indikator-design.com/media/blogs/divi-to-100/mu-plugin/rwwebp-preview-01-indikator-design.webp | |
https://cdn.indikator-design.com/media/blogs/divi-to-100/mu-plugin/rwwebp-preview-02-indikator-design.webp | |
https://cdn.indikator-design.com/media/blogs/divi-to-100/mu-plugin/rwwebp-preview-03-indikator-design.webp |
View wp-config.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You don't need to leave the "wp-config.php" file in the root directory, you can put it one folder above. | |
Create the following structure under vhosts: | |
mydomain/public_html/*all-wp-files-and-folders | |
Put the "wp-config.php" in "mydomain", to the folder "public_html". In the host settings root the domain to "public_html". | |
If no plugins need write access to the "wp-config.php", set the permissions to 444, otherwise to 644. |
View controller-helpers.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Do not allow direct access | |
* | |
* @since 1.0 | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) die( 'Nothing to find Ma\'am..' ); | |
/** | |
* Your Plugin Name - Controller Helpers |
View model-transients.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Do not allow direct access | |
* | |
* @since 1.0 | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) die( 'Nothing to find Ma\'am..' ); | |
/** | |
* Your Plugin Name - Model Transients |
View config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include mime.types; | |
types { | |
application/x-font-ttf ttc ttf; | |
application/x-font-woff woff; | |
image/webp webp; | |
image/x-icon cur ico; | |
} | |
gzip on; | |
gzip_http_version 1.1; |
View functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( is_admin() ) : | |
add_action( 'current_screen', function( $hook ) | |
{ | |
if ( 'edit' == $hook->base ) : | |
add_action( 'admin_print_styles', function() |
View plugins-handler.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){$(function(){ | |
class prefixUpdater | |
{ | |
setProperties() | |
{ | |
this.red = '#fff0f0'; | |
this.green = '#f1fff0'; |
View functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'login_footer', function() | |
{ | |
$imprint = site_url( 'imprint' ); // change imprint with your page-slug | |
$privacy = site_url( 'privacy' ); // change privacy with your page-slug | |
echo <<<LINKS |
View functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add layouts to the Divi library and get the ID from the corresponding URL | |
// To get your results, you can add a shortcode to text fields as follows: [divi-layout id="7"] | |
add_shortcode( 'divi-layout', function( $atts ) | |
{ | |
$atts = shortcode_atts( [ 'id' => '', ], $atts ); |
View functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add this snippet to your themes "functions.php" to order the projects by title | |
add_action( 'parse_query', function( $vars ) | |
{ | |
if ( 'project' == $vars->query['post_type'] ) | |
{ |
NewerOlder