Skip to content

@kuzminT
kuzminT / about_wordpress.md
Last active December 21, 2019 07:11
Wordpress tips for custom theme creating
@mboynes
mboynes / class-pointers.php
Created September 5, 2012 14:10
Multisite tracking popup fix
<?php
/**
* @package Admin
*/
/**
* This class handles the pointers used in the introduction tour.
*
* @todo Add an introdutory pointer on the edit post page too.
*/
@gavincampbell
gavincampbell / .env.example
Last active November 23, 2021 18:52
Post-deployment configuration of WordPress in Azure App Service, notes at https://gavincampbell.dev/post/post-deployment-configuration-azure-web-apps/
LOCATION=uksouth
RESOURCE_GROUP_NAME=webapp-config-demo
SERVICE_PLAN_NAME=app-service-plan-free-wp
SERVICE_PLAN_SKU=FREE
WEB_APP_NAME=mywpsite-ahfdskf
MARIADB_SKU=B_Gen5_1
MARIADB_SERVER_NAME=dbserver-ahfdskf
MARIADB_ADMIN_USER=BOSS_HOGG
MARIADB_ADMIN_PASSWORD=R05coePColtrane
WORDPRESS_DB_NAME=wpdb
@josanua
josanua / gutenberg-helper.php
Last active October 14, 2024 06:14
gutenberg helper
<?
/**
* Getting Started
* "Gutenberg" is a codename for a whole new paradigm in WordPress site building and publishing
* Official repository https://github.com/WordPress/gutenberg
*/
// Getting Started with editor UI
https://wordpress.org/support/article/wordpress-editor/
@dzuelke
dzuelke / ._wordpress.sh
Last active January 10, 2023 12:14
Wordpress as Twelve-Factor. Please check https://github.com/dzuelke/wordpress-12factor for the real thing!
mkdir wordpress
cd wordpress
git init
curl -LO https://gist.githubusercontent.com/dzuelke/8ef648676cab07f2a177/raw/composer.json
curl -LO https://gist.githubusercontent.com/dzuelke/8ef648676cab07f2a177/raw/.gitignore
git add composer.json .gitignore
git commit -m "composer plus wordpress prerequisites"
composer require ext-gd:* johnpbloch/wordpress wpackagist-plugin/amazon-web-services wpackagist-plugin/amazon-s3-and-cloudfront wpackagist-plugin/sendgrid-email-delivery-simplified
git add composer.json composer.lock
git commit -m "require ext-gd, wordpress and plugins"
@infodox
infodox / ofc_upload_image.php
Created March 29, 2013 14:56
ofc_upload_image.php instant shell upload
plugins.svn.wordpress.org/web-tripwire/trunk/includes/ofc/ofc_upload_image.php
plugins.svn.wordpress.org/ip-logger/trunk/chart/ofc_upload_image.php
plugins.svn.wordpress.org/ip-logger/tags/2.7/chart/ofc_upload_image.php
plugins.svn.wordpress.org/ip-logger/tags/3.0/chart/ofc_upload_image.php
plugins.svn.wordpress.org/ip-logger/tags/2.8/chart/ofc_upload_image.php
plugins.svn.wordpress.org/ip-logger/tags/2.6/chart/ofc_upload_image.php
plugins.svn.wordpress.org/open-flash-chart-core-wordpress-plugin/trunk/open-flash-chart-2/php-ofc-library/ofc_upload_image.php
plugins.svn.wordpress.org/open-flash-chart-core-wordpress-plugin/tags/0.4/open-flash-chart-2/php-ofc-library/ofc_upload_image.php
plugins.svn.wordpress.org/open-flash-chart-core-wordpress-plugin/tags/0.3/open-flash-chart-2/php-ofc-library/ofc_upload_image.php
plugins.svn.wordpress.org/open-flash-chart-core-wordpress-plugin/tags/0.2/open-flash-chart-2/php-ofc-library/ofc_upload_image.php
@Yiannistaos
Yiannistaos / wp-paths.php
Last active October 20, 2024 13:48
Determining Plugin and Content Directories in WordPress (Cheat Sheet)
<?php
echo "<h1>Determining Plugin and Content Directories in WordPress (Cheat Sheet)</h1>";
# PLUGINS
echo "<h2>PLUGINS</h2>";
echo plugins_url(). "<br>"; # http://wordpress.test/wp-content/plugins
echo plugins_url('akismet'). "<br>"; # http://wordpress.test/wp-content/plugins/akismet
echo plugins_url( 'assets/js/myscript.js', __FILE__ ). "<br>"; # http://wordpress.test/wp-content/plugins/assets/js/myscript.js
echo plugin_dir_url('') . "<br>"; # http://wordpress.test/wp-content/plugins/
@Code-Hex
Code-Hex / defaults.conf
Last active December 8, 2015 12:53
Operating System Lecture Exercise 1.3
server {
listen 80;
server_name 192.168.56.101;
root /srv/wordpress;
client_max_body_size 64M;
# Deny access to any files with a .php extension in the uploads directory
location ~* /(?:uploads|files)/.*\.php$ {
deny all;
@waya0125
waya0125 / .env
Last active November 3, 2023 21:12
WordPress移行に使ったファイル群
COMPOSE_PROJECT_NAME=wordpress #プロジェクト名
MYSQL_HOSTNAME=db #MySQLに指定したサービス名
MYSQL_DATABASE=hoge_database #データベース名
MYSQL_USER=hoge_chan #ユーザー名
MYSQL_PASSWORD=hogehuga #パスワード
MYSQL_ROOT_PASSWORD=piyopiyo #マスターパスワード
TZ=Azia/Tokyo #タイムゾーン設定 変えてはいけない。
@majorgreys
majorgreys / .dockerignore
Last active March 28, 2017 19:37
setting up a docker environment for CAC
.data