eh
A Pen by ltrademark on CodePen.
<?php | |
/** | |
* Curl init function | |
* @param (string)$url | |
* @param (array)$params | |
* @return $response | |
*/ | |
function curlInit($url = '', $params = array()) | |
{ |
/* | |
* Добавление поля экспресс доставка у товара | |
* https://wpruse.ru/woocommerce/custom-fields-in-products/ | |
*/ | |
add_action( 'woocommerce_product_options_general_product_data', 'art_woo_add_custom_fields' ); | |
function art_woo_add_custom_fields() { | |
global $product, $post; | |
echo '<div class="options_group">';// Группировка полей | |
// Чекбокс |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> |
<?php | |
namespace App\Filament\PageTemplates; | |
use Filament\Forms\Components\Repeater; | |
use Filament\Forms\Components\RichEditor; | |
use Filament\Forms\Components\TextInput; | |
final class Faq | |
{ |
eh
A Pen by ltrademark on CodePen.
404 page
A Pen by Alberto Jerez on CodePen.
A Pen by Robin Selmer on CodePen.
<?php | |
if (!isset($modx)) { | |
define('MODX_API_MODE', true); | |
while (!isset($modx) && ($i = isset($i) ? --$i : 10)) { | |
if (($file = dirname(!empty($file) ? dirname($file) : __FILE__) . '/index.php') AND !file_exists($file)) { | |
continue; | |
} | |
require_once $file; | |
} | |
if (!is_object($modx)) { |