wordpress 全站密码保护
wordpress 全站密码保护 login.php 放在网站根目录 <?php session_start(); // 密码 $password = 'liuhonghe'; // 首页
...Read more...
数人世相逢,百年欢笑.
wordpress 全站密码保护 login.php 放在网站根目录 <?php session_start(); // 密码 $password = 'liuhonghe'; // 首页
...Read more...
theme 中的 functions.php 文件 英文转中文的问题 remove_filter('the_content', 'wptexturize'); allpost function
...Read more...
第一次建立这个站是用的wordpress,然后当初因为typecho特别轻量,就换掉了,如今typecho好久都没有更新了,心里突突突感觉有点不靠谱。然后呢,又转回来了。各种折腾。 wordpr
...Read more...
1、获取分类的ID 把鼠标放在分类上,tag_ID即是 2、修改首页模版index.php 找到这样的代码 <?php if ( have_posts() ) : while ( have
...Read more...
<div style="margin-top:30px;"> 相关文章 <ul class="related
...Read more...
wordpress登出后重定向到首页 代码 add_action('wp_logout','auto_redirect_after_logout'); function auto_redirec
...Read more...
get_num_queries 网页加载查询量 timer_stop 网页加载时间 <?php echo get_num_queries(); ?> / <?php timer
...Read more...