Skip to content

Instantly share code, notes, and snippets.

View Rayhanuc's full-sized avatar
🏠
Working from home

Md. Rayhan Uddin Chowdhury Rayhanuc

🏠
Working from home
View GitHub Profile
Notice: Undefined index: tab in D:\xampp\htdocs\verum\wp-content\plugins\piklist\includes\class-piklist-setting.php on line 709
Notice: Undefined index: page in D:\xampp\htdocs\verum\wp-content\plugins\piklist\includes\class-piklist-setting.php on line 715
Notice: Undefined index: page in D:\xampp\htdocs\verum\wp-content\plugins\piklist\includes\class-piklist-setting.php on line 715
Notice: Undefined index: page in D:\xampp\htdocs\verum\wp-content\plugins\piklist\includes\class-piklist-setting.php on line 715
Notice: Undefined index: page in D:\xampp\htdocs\verum\wp-content\plugins\piklist\includes\class-piklist-setting.php on line 715
2019/01/08 19:44:59 [warn] 6#6: *842 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000001, client: 192.168.95.1, server: hellodolly.local, request: "POST /wp-admin/async-upload.php HTTP/1.1", host: "hellodolly.local", referrer: "http://hellodolly.local/wp-admin/upload.php"
2019/01/09 12:12:20 [error] 6#6: *3 upstream prematurely closed connection while reading response header from upstream, client: 172.18.0.3, server: hellodolly.local, request: "POST /wp-cron.php?doing_wp_cron=1547035939.7404220104217529296875 HTTP/1.1", upstream: "http://192.168.95.100:4000/wp-cron.php?doing_wp_cron=1547035939.7404220104217529296875", host: "hellodolly.local", referrer: "http://hellodolly.local/wp-cron.php?doing_wp_cron=1547035939.7404220104217529296875"
2019/01/09 19:57:47 [error] 8#8: *1 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.95.1, server: hellodolly.local, request: "GET /wp-admin/options-general.php HTTP/1.1", upst
This file has been truncated, but you can view the full file.
Nov 8, 2019, 12:04 PM GMT+6 - info: [main/waitForFile] Waiting for /conf/php/7.2.0/etc/php-fpm.conf 3f89ab31a3aa57b54ef60998af127992fe931d15b414d7c4ea2f72384c3d6d1b
Nov 8, 2019, 12:04 PM GMT+6 - info: [main/docker-network-manager] removeExistingNetworks
Nov 8, 2019, 12:04 PM GMT+6 - info: [main/docker-network-manager] createNetwork
Nov 8, 2019, 12:04 PM GMT+6 - info: [main/waitForFile] /conf/php/7.2.0/etc/php-fpm.conf exists
Nov 8, 2019, 12:04 PM GMT+6 - warn: [main/SiteModel] wpInstalled not returning "installed"
{ stdout: '',
stderr:
'Error: This does not seem to be a WordPress install.\nPass --path=`path/to/wordpress` or run `wp core download`.' }
Nov 8, 2019, 12:06 PM GMT+6 - info: [main/ngrok-helper] Spawning ngrok for php7.local
Nov 8, 2019, 12:08 PM GMT+6 - info: [main/ngrok-helper] Stopping ngrok for php7.local
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Industry_Rayhan
*/
get_header();
<?php
//industry_project_shortcode start --4
function industry_project_shortcode($atts){
extract( shortcode_atts( array(
'theme' => '1',
), $atts) );
$project_categories = get_terms('project_cat');
<?php
/**
* This file represents an example of the code that themes would use to register
* the required plugins.
*
* It is expected that theme authors would copy and paste this code into their
* functions.php file, and amend to suit.
*
* @see http://tgmpluginactivation.com/configuration/ for detailed documentation.
*
<header class="site-header">
<div class="header-top-area">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="site-branding">
<?php get_template_part('template-parts/headers/logo') ?>
</div><!-- .site-branding -->
</div><!-- col-md-4 end -->
<?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Industry_Rayhan
*/
?>
@Rayhanuc
Rayhanuc / index.php
Created October 28, 2018 13:20
Getting ready for blog page
<?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
//industry_rayhan_slide_shortcode start
function industry_rayhan_slides_shortcode($atts){
extract( shortcode_atts( array(
'count' => 2,
'type' => 'page',
), $atts) );
$arg = array(
'post_type' => 'industry-slide',
'posts_per_page' => 3,