<?php | |
/** | |
* Retrieves an image from a URL and uploads it using ld_handle_upload_from_path. See that function for more details. | |
* | |
* Note: This function should also work for local file paths as well, but the implementation is slightly different than ld_handle_upload_from_path. | |
* | |
* @param $image_url | |
* @param int $attach_to_post | |
* @param bool|true $add_to_media |
<?php | |
/** | |
* Get Post object by post_meta query | |
* | |
* @use $post = get_post_by_meta( array( meta_key = 'page_name', 'meta_value = 'contact' ) ) | |
* @since 1.0.4 | |
* @return Object WP post object | |
*/ | |
function get_post_by_meta( $args = array() ) |
Sochi (Russian: Со́чи, IPA: [ˈsotɕɪ] (About this soundlisten)) is the largest resort city in Russia. The city is situated on the Sochi River, along the Black Sea in Southern Russia, with a population of 443,562 residents,[11] up to 600,000 residents in the urban area. The city proper covers an area of 176.77 square kilometers (68.25 sq mi), while the Greater Sochi Area covers over 3,502 square kilometers (1,352 sq mi). Sochi stretches across 145 kilometers (90 mi), and is the longest city in Europe,[12] the fifth-largest city in the Southern Federal District, the second-largest city in Krasnodar Krai, and the sixth-largest city on the Black Sea.
Being a part of the Caucasian Riviera, it is one of the very few places in Russia with a subtropical climate, with warm to hot summers and mild to cool winters.
With the alpine and Nordic events held at the nearby ski resort of Rosa Khutor in Krasnaya Polyana, Sochi hosted the XXII Olympic Winter Games and XI Paralympic Winter Games in 2014, as well as the Formula 1
<?php | |
get_template_part( '/includes/builder/module/helpers/Overlay.php' ); | |
class My_Builder_Module_Events extends ET_Builder_Module_Type_PostBased { | |
/** | |
* Track if the module is currently rendering to prevent unnecessary rendering and recursion. | |
* | |
* @var bool | |
*/ |
stages: | |
- deploy_dev | |
- deploy_staging | |
- deploy_live | |
before_script: | |
- 'which ssh-agent || ( apk add --update openssh )' | |
- apk add --update bash | |
- apk add --update git | |
- eval $(ssh-agent -s) |
<?php | |
/** | |
* Plugin Name: WooMS Multi Warehouse | |
* Plugin URI: https://github.com/wpcraft-ru/wooms/issues/327 | |
* Description: Добавляет механизм сохранения остатков по множеству складов в метаполя продукта | |
* Version: 1.1 | |
*/ | |
defined('ABSPATH') || exit; // Exit if accessed directly |
Введение в копирайтинг Копирайтинг (англ. copywriting, где copy — копия или текстовый материал, write — писать) — написание текста с целью рекламы или других форм маркетинга. Это тексты, которые стимулируют рост продаж или популяризируют товар, компанию, услугу, человека или идею.
Копирайтеры – люди, которые пишут текст с целью рекламы или других форм маркетинга. Например: слоганы, сценарии для ТВ- и радиороликов, event-мероприятий, рекламные статьи, нативные статьи и пр.
В английском языке слово «копирайтинг» является неологизмом и в словарях отсутствует.
if(!function_exists('dd')){ | |
function dd($data, $admin_check = false){ | |
if( ! isset($_GET['dd']) ){ | |
return; | |
} | |
echo '<pre>'; | |
var_dump($data); |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).