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
=============custom css=============== | |
#portfolio { | |
margin: 1rem 0; | |
-webkit-column-count: 3; | |
-moz-column-count: 3; | |
column-count: 3; | |
-webkit-column-gap: 1rem; | |
-moz-column-gap: 1rem; | |
column-gap: 1rem; |
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 | |
/* Template Name: Category Post Template */ | |
get_header(); | |
?> | |
<div id="container"> | |
<div id="content" role="main"> | |
<?php | |
// get all the categories from the database |
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
/*! | |
* Bootstrap v3.3.7 (http://getbootstrap.com) | |
* Copyright 2011-2016 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-si |
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 | |
/* | |
Plugin Name: Custom List Table With Database Example | |
Description: A highly documented plugin that demonstrates how to create custom admin list-tables from database using WP_List_Table class. | |
Version: 1.0 | |
Author: Viramgami Jignesh | |
Author URI: https://github.com/viramgamijignesh/ | |
License: GPL2 | |
*/ |
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
/** | |
* | |
* wpMediaUploader v1.0 2016-11-05 | |
* Copyright (c) 2016 Smartcat | |
* | |
*/ | |
( function( $) { | |
$.wpMediaUploader = function( options ) { | |
var settings = $.extend({ |
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( 'init', function() { | |
wp_register_script( 'voce-wp-media-modal', plugins_url( 'wp-media-modal.js', __FILE__ ), array('jquery'), false, true ); | |
} ); | |
//////////////// 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
- Advanced Custom Fields: Options Page | |
https://github.com/rememberlenny/mimosa-contents/tree/master/plugins | |
- Advanced Custom Fields: Repeater Field | |
https://github.com/rememberlenny/mimosa-contents/tree/master/plugins | |
- Custom Options Tabbed Page - Kvcodes | |
http://www.kvcodes.com/category/wp/ | |
- Plugin Name: Facebook Group to WordPress importer | |
Plugin URI: http://tareq.wedevs.com/ | |
https://github.com/tareq1988/fb-group-to-wp/ | |
- Plugin Name: Media Selector test plugin |
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://cpanel.epizy.com/panel/index.php | |
Cpanel URL: http://cpanel.epizy.com | |
Username: epiz_22327864 | |
Password: gb3m5kt9 | |
FTP Username: epiz_22327864 | |
FTP Password: gb3m5kt9 | |
FTP HostName: ftp.epizy.com |
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 (!class_exists('PHPExcel')) return false; | |
$directory = "./excel/"; | |
$files = glob($directory . "*"); | |
foreach ($files as $filesName) | |
{ | |
$inputFileName = $filesName; | |
$row_callback=null; |
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
$args = array( | |
'public' => true, | |
'_builtin' => false, | |
); | |
$output = 'names'; // names or objects, note names is the default | |
$operator = 'and'; // 'and' or 'or' | |
$postType = ''; | |
$post_types = get_post_types( $args, $output, $operator ); // get all custom post type name |
OlderNewer