[問題] Wordpress Gallery插件只動一半
大家好,小妹第一次在這發文請多指教。
我目前在把自己的Html轉wordpress,想在index.php(home)裡加上下面這個
Gallery plugin↓
https://wordpress.org/plugins/wp-masonry-layout/
根據說明書的記載,它要我安裝後使用「文章」來上傳和更新照片,
拿到shortcode之後要我到「頁面」去開一個新頁面然後把shortcode貼上去。
我是拿到shortcode也照著做把它貼到頁面上去,之後到首頁後發現
gallery是出來了,但是沒有照片,只有我「文章」裡兩篇文章的標題跟內容有乖乖
跑出來。。。
想請問各位大大
1)到底是哪裡出問題了呢?是不是我template裡少了什麼東西呢?
2)從頁面上看文字是跑出來了,但圖片要從哪裡加呢?
這是我做的網頁
http://www.japanstreetlens.com
這是這一頁的template:
===================================================================
<?php
/*
Template Name: JSL_wordpress_gallery
*/
?>
<?php get_header(); ?>
<section id="about" class="bg-light-white">
<div class="container">
<?php if (have_posts()) : while (have_posts()) : the_post();?>
<?php the_content(); ?>
</div>
<?php
endwhile;
endif;
?>
</section>
<?php get_footer(); ?>
=======================================================================
懇請各位大大救救我...Orz
感激不盡!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 113.39.129.26
※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1463536721.A.19B.html
推
05/18 11:00, , 1F
05/18 11:00, 1F
→
05/18 12:04, , 2F
05/18 12:04, 2F
→
05/18 12:11, , 3F
05/18 12:11, 3F
→
05/18 12:14, , 4F
05/18 12:14, 4F
推
05/18 21:27, , 5F
05/18 21:27, 5F
Web_Design 近期熱門文章
PTT數位生活區 即時熱門文章