Skip to content

Instantly share code, notes, and snippets.

@yoheiMune
Last active February 28, 2019 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoheiMune/558a59cb03bf701a56bb24636118e80a to your computer and use it in GitHub Desktop.
Save yoheiMune/558a59cb03bf701a56bb24636118e80a to your computer and use it in GitHub Desktop.
ページ作成手順
  • メディア登録(「Add Multimedia」)。
    • External Mediaに、Youtube/Vimeoを登録する。
  • ブログ記事の新規作成(投稿 -> 新規追加)。
    • Youtube/VimeoのURLを記事本文に貼り付けて保存。
      • → ビデオサムネイルが生成される。
    • 保存後は、Youtubeのリンクは削除。
    • エディタを CLASSIC MODE > テキスト に変更。
    • 「11_記事追加.txt」の内容を貼り付ける。
    • エディタを BACKEND EDITOR に変更。
    • 表示するメディアを該当のものに変更する。
    • 表示テキストを書き換え、また文字色を黒に指定する。
    • カテゴリー.
      • 該当カテゴリにチェックを入れる。
        • カテゴリがない場合には、新規作成する。
    • Page Options.
      • Header を Type を None に変更する。
    • 更新する(=保存)。
  • 表示確認.
    • 想定通りの表示かを確認する。
<p>[vc_row][vc_column width="1/1"][vc_single_image media="73665" media_width_percent="100" el_class="minica-single-post-video"][/vc_column][/vc_row][vc_row][vc_column width="1/1"][vc_column_text]<span style="color: #000000;">Powder Dreams Realized</span><br /><span style="color: #000000;">Evan Wilcox</span>[/vc_column_text][/vc_column][/vc_row]</p>
  • ヘッダーコンテンツの作成
    • エディタが ClassicMode の テキスト になっている事を確認(なっていない場合にはそれにする)。
    • 「21_ヘッダーコンテンツ.txt」をコピーして、エディタに貼り付ける。
    • BACKEND EDITOR に切り替える。
      • その際に、YoutubeIDは、指定のIDとする。
    • コンテンツ名は「header - category - (カテゴリ名)」とする。
  • 固定ページの作成
    • タイトルは「Category - (カテゴリ名)」とする。
    • 本文は、「22_固定ページ本文.txt」をコピーする。
      • クエリの構築で、対象のカテゴリに変更する。
    • Page Options.
      • Header
        • Type を Content Block とする。
        • Content Block を 上記で作成したヘッダーコンテンツとする。
        • Scroll Opacity を ON
        • Remove Menu Content Padding を ON
        • Remove Menu Content Padding On Mobile を ON
<p>[vc_row unlock_row_content="yes" row_height_percent="0" override_padding="yes" h_padding="0" top_padding="0" bottom_padding="0" back_color="color-jevc" overlay_alpha="50" gutter_size="3" column_width_percent="100" shift_y="0" z_index="0" css=".vc_custom_1550640547510{margin-top: 0px !important;margin-bottom: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;}" el_class="minica-header-video"][vc_column width="1/1"][vc_raw_html]JTNDZGl2JTIwaWQlM0QlMjJwbGF5ZXJXcmFwcGVyJTIyJTIwc3R5bGUlM0QlMjJwb3NpdGlvbiUzQSUyMHJlbGF0aXZlJTNCJTIwb3ZlcmZsb3clM0ElMjBoaWRkZW4lM0IlMjIlM0UlM0NkaXYlMjBpZCUzRCUyMnBsYXllciUyMiUyMHN0eWxlJTNEJTIycG9zaXRpb24lM0ElMjByZWxhdGl2ZSUzQiUyMiUzRSUzQyUyRmRpdiUzRSUzQyUyRmRpdiUzRSUwQSUzQ3NjcmlwdCUzRSUwQSUyNCUyOGZ1bmN0aW9uJTIwJTI4JTI5JTIwJTdCJTBBJTIwJTIwbWluaWNhSGVhZGVyVmlkZW8lMjglMjdHZm9hemV6b0ZYNCUyNyUyOSUzQiUwQSU3RCUyOSUzQiUwQSUzQyUyRnNjcmlwdCUzRQ==[/vc_raw_html][/vc_column][/vc_row]</p>
[vc_row unlock_row_content="yes" row_height_percent="0" override_padding="yes" h_padding="0" top_padding="5" bottom_padding="5" back_color="color-xsdn" overlay_alpha="0" gutter_size="100" column_width_percent="100" shift_y="0" z_index="0" style="inherited" row_name="Homepages" shape_dividers=""][vc_column column_width_percent="100" position_horizontal="left" align_horizontal="align_center" overlay_alpha="100" gutter_size="3" medium_width="0" shift_x="0" shift_y="0" z_index="0" zoom_width="0" zoom_height="0" width="1/1"][uncode_index el_id="index-1" isotope_mode="fitRows" loop="size:All|order_by:date|order:ASC|post_type:post|categories:91" style_preset="metro" gutter_size="3" inner_padding="yes" post_items="media|featured|onpost|original,title" page_items="media|featured|onpost|original,title,icon,text|excerpt" product_items="title,media,text,category,price" portfolio_items="title,media,text,category" screen_lg="1200" screen_md="600" screen_sm="600" single_width="3" single_height="2" single_overlay_color="color-wayh" single_overlay_opacity="15" single_text_anim="no" single_image_anim="no" single_h_align="center" single_padding="2" single_text_reduced="yes" single_title_transform="capitalize" single_title_dimension="fontsize-160000" single_border="yes" single_css_animation="bottom-t-top" single_animation_speed="400" single_animation_delay="100" custom_order="yes" lbox_skin="white" lbox_title="yes" lbox_caption="yes" lbox_social="yes" lbox_deep="yes" lbox_no_tmb="yes" lbox_no_arrows="yes" no_double_tap="yes" filtering_style="light" filtering_menu="inline" single_no_background="yes" single_title_bold="yes" single_title_serif="" single_title_divider="" single_half_padding="yes" items="e30=" single_link="||" footer_position="left" carousel_rtl="" single_icon="fa fa-plus2" filtering_transform="uppercase" order_ids="37056,65550,57781,72416,54944,66687,65805,4898,72412,68719,65986,57560,54892,44789,58945,54911,21524,4925,4894,44828,58600,19884,4835,54922,4935,72402,72407,54954,4917,4858,54932,54948,61057,54936,44822,54974,48172,21158,54926,4931,4929,44841,7172,18379,44854,62532,44835,19064,4503,54885,32691,34286,6549,19200,45653,20064"][/vc_column][/vc_row]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment