12 月, 2023

  • 18 12 月

    WP rest api 文字教程

    概述 REST API 为我们提供了一种将 URI 与 WordPress 安装中的各种资源相匹配的方法。默认情况下,如果您启用了漂亮的永久链接,则 WordPress REST API “存在”于 /wp-json/。在我们的 WordPress 网站https://ourawesomesite.com`, we can access the REST API's index by making aGETrequest tohttps://ourawesomesi...

11 月, 2023

  • 30 11 月

    不用插件给WP图库画廊添加lightbox效果

    <?php /* * */ add_action( 'wp_footer', function(){ if(!is_admin()) { ?> <style> img { display: block; max-width: 100%; } .lightbox { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999999; background-color: rgba(0, 0, 0, 0.75); display: flex; justify-...

  • 19 11 月

    测试文章类型

    I'm baby marxism bodega boys mlkshk 3 wolf moon food truck. Cred sriracha stumptown readymade put a bird on it, leggings umami pinterest thundercats Brooklyn vexillologist microdosing selvage meh. Neutral milk hotel edison bulb etsy hell of flexitarian stumptown paleo. Bodega boys gastropub lomo...

  • 19 11 月

    超级链接形式

    https://world.siteground.com/wordpress-hosting.htm?index_hero_button#view

10 月, 2023

8 月, 2023

  • 1 8 月

    JS系统教程四-operator

    算法操作符

  • 1 8 月

    JS系统教程三-type conversion

    如何将数据转换成不同类型 const name = 'Jony'; const age = 30; const person = { name:'brad', age:55 } let amount = 100; // change string to number ////////////////////////////// // amount = parseInt(amount); // // const num = 99.5; // amount = parseFloat(num); 会显示小数 ...

  • 1 8 月

    JS系统教程二-数据种类

    了解内存里面的stack和heap , 数据形式村在stack的是是原始数据,存在数组,对象和函数里的,是参考数据。 stack和heap的概念 heap是stack的子层