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 | |
namespace Acms\Custom\GET; | |
use ACMS_GET; | |
use Template; | |
use ACMS_Corrector; | |
/** | |
* field/entry_id/99,100 のようにコンテキストを渡すと、その数だけ繰り返すloopブロックを返す |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>a-blog cmsのユニットサイズを計算するやつ</title> | |
<meta property="og:site_name" content="a-blog cmsのユニットサイズを計算するやつ"> | |
<meta property="og:title" content="a-blog cmsのユニットサイズを計算するやつ"> | |
<meta property="og:type" content="article"> |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Excelの計算式で作ったやつを変換するやつ</title> | |
<style> | |
textarea{ | |
width: 100%; | |
height: 10em; |
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
/** | |
* wpContentThumbnail | |
* 本文中に /wp/wp-content/uploads/ の文字が含まれていたらその画像パスを取得する | |
* <img src="{eid}[wpContentThumbnail]" alt=""> のように使用する | |
* | |
* @param String $eid - 記事のEID | |
* @return String - 本文中に使用されている画像のパス | |
*/ | |
function wpContentThumbnail($eid) | |
{ |