プラグインページ
https://ja.wordpress.org/plugins/ml-slider/
プラグインの設定画面プレビューでは問題なく動くものの、投稿・固定ページにショートコードを貼り付けると動きません。
状態としては、例えば3枚の画像をスライドさせる設定にしている場合、その3枚の画像が縦に並んだ形になってしまいます。
現在アップロードしているのは下記index.phpとスタイルシートのみ、スタイルシートにはテーマ名の情報しか入れていません。
どこかおかしいところがあると思いますが、分からずに困っております。どなたか教えていただければ幸いです。よろしくお願いいたします。
index.phpの中身
<!DOCTYPE html> <html lag="ja"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0 "><meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>;charset=<?php bloginfo('charset'); ?>" /> <title><?php bloginfo('name'); ?></title> <?php wp_head(); ?> </head> <body> <!-- container --> <div id="container"> <!-- header --> <div id="header"> <h1><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1> <p id="desc"><?php bloginfo('description'); ?></p> </div> <!-- content --> <div id="content"> <?php if(have_posts()): while(have_posts()): the_post(); ?><link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.18.1/build/cssreset/cssreset-min.css"> <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>">
</div> </div> <? php wp_footer(); ?> </body> </html><div class="post"> <h2><a href="<?php the_permalink(); ?>"> <?php the_title(); ?></a></h2> <?php the_content(); ?> </div> <?php endwhile; endif; ?>
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/07/10 09:06