Json和wordpress和jquerymobile app

时间:2015-09-08 20:28:07

标签: javascript jquery json wordpress web-applications

<!DOCTYPE html>
<html>
<head>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Ya Rab</title>
    <!--styles and scripts-->
    <link rel="stylesheet" href="themes/Zahran-Flat-Theme.min.css" />
    <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />

    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile.structure-1.4.5.min.css" />
    <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>

    <script src="myscript.js"></script>
    <link rel="stylesheet" href="mystyles.css" />
    <!--styles and scripts-->
    </head>
<body>
<!--page-->
<div id="blogpost" data-role="page" data-theme="a">
  <!--Header--><div data-role="header" data-theme="a" data-position="fixed">
    <h1>ZahranPress</h1>
</div><!--Header-->
<div data-role="content" id="mypost">


</div><!--Content-->



<script src="http://testzahran.marocwebs.com/?json=recentstories&callback=ListPosts"></script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Ya Rab</title>
    <!--styles and scripts-->
    <link rel="stylesheet" href="themes/Zahran-Flat-Theme.min.css" />
    <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />

    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile.structure-1.4.5.min.css" />
    <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>

    <script src="myscript.js"></script>
    <link rel="stylesheet" href="mystyles.css" />
    <!--styles and scripts-->
    </head>
<body>
<!--page-->
<div id="blogpost" data-role="page" data-theme="a">
  <!--Header--><div data-role="header" data-theme="a" data-position="fixed">
    <h1>ZahranPress</h1>
</div><!--Header-->
<div data-role="content" id="mypost">


</div><!--Content-->



<script src="http://testzahran.marocwebs.com/?json=recentstories&callback=ListPosts"></script>
</body>
</html>

您好 我试图使用jquery和json为这个网站ZahranPress开发wordpress应用程序并且它不起作用,我多次检查它。我根据这个很酷的教程编写了它Jquery mobile app这里是html代码和javascript。希望有人帮忙。

0 个答案:

没有答案