Skip to content

Instantly share code, notes, and snippets.

Kazuki Azumi az1979

Block or report user

Report or block az1979

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@az1979
az1979 / wordpress-modal-window.js
Last active Jan 25, 2018
WordPressの画像をモーダルウィンドウで表示しよう! - JavaScript
View wordpress-modal-window.js
jQuery(document).ready(function() {
jQuery('.entry-content a[href$=".png"],a[href$=".gif"],a[href$=".jpg"],a[href$=".jpeg"]').has('img').magnificPopup({
type:'image',
closeOnContentClick: true,
showCloseBtn: false,
image: {
verticalFit: false
}
});
});
@az1979
az1979 / wordpress-modal-window.html
Created Jan 25, 2018
WordPressの画像をモーダルウィンドウで表示しよう! - HTML
View wordpress-modal-window.html
<link href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.min.css" rel="stylesheet" type="text/css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js"></script>
@az1979
az1979 / wpp-plus-widget-new.css
Last active Jan 25, 2018
WPP Plus Widget 新着記事の設定 - スタイルシート
View wpp-plus-widget-new.css
.wpp-list-category-new {
list-style: none;
line-height: 0;
}
.wpp-list-category-new li {
border-bottom: none !important;
margin: 0 !important;
padding: 10px 0 10px !important;
}
.wpp-list-category-new-box {
@az1979
az1979 / wpp-plus-widget-new-2.html
Created Jan 24, 2018
WPP Plus Widget 新着記事の設定 - 記事フォーマット
View wpp-plus-widget-new-2.html
<li>
<div class="wpp-list-category-new-box">
<div class="wpp-list-category-new-img">{thumb}</div>
<div class="wpp-list-category-new-text-box">
<div class="wpp-list-category-new-title">{title}</div>
<div class="wpp-list-category-new-category">[{category}]</div>
</div>
</div>
</li>
@az1979
az1979 / wpp-plus-widget-new-1.html
Created Jan 24, 2018
WPP Plus Widget 新着記事の設定 - 記事一覧の前後
View wpp-plus-widget-new-1.html
<ul class="wpp-list-category-new">
@az1979
az1979 / wpp-plus-widget-popular-web-font.html
Created Jan 23, 2018
WPP Plus Widget 人気記事ランキングの設定 - Webフォント
View wpp-plus-widget-popular-web-font.html
@az1979
az1979 / wpp-plus-widget-popular.css
Created Jan 23, 2018
WPP Plus Widget 人気記事ランキングの設定 - スタイルシート
View wpp-plus-widget-popular.css
@az1979
az1979 / wpp-plus-widget-popular-2.html
Last active Jan 22, 2018
WPP Plus Widget 人気記事ランキングの設定 - 記事フォーマット
View wpp-plus-widget-popular-2.html
@az1979
az1979 / wpp-plus-widget-popular-1.html
Last active Jan 22, 2018
WPP Plus Widget 人気記事ランキングの設定 - 記事一覧の前後
View wpp-plus-widget-popular-1.html
@az1979
az1979 / ogp.html
Created Jan 19, 2018
OGPのサンプル
View ogp.html
/* Facebook */
<meta property="og:image" content="https://gameusers.org/dev/blog/wp-content/uploads/2018/01/ec-wordpress-e-source-code.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
/* Twitter */
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@gameusersorg" />
<meta name="twitter:domain" content="gameusers.org" />
<meta name="twitter:image" content="https://gameusers.org/dev/blog/wp-content/uploads/2018/01/ec-wordpress-e-source-code.jpg" />
You can’t perform that action at this time.