|
 | WordPress 模板自定义设置的代码样板 by 隐藏人物 |
| t; 'edit_theme_options',
'theme_supports' => '',
'title' => __( 'Example Panel', 'textdomain' ),
'description' => __( 'Description of what this panel does.', 'textdomain' ),
) );
$wp_customize->add_section( 'section_id', array(
'priority' => 10,
'ca ... |
| bbs.geekaa.com/topic/view/4933.html - 2016年9月23日 |
|
 | 无需数据库的 CMS 收集 by 隐藏人物 |
| ttp://feindura.org/
Flat Press
FlatPress is a blogging engine that saves your posts as simple text files.
Technology: PHP
Templating: Smarty
Formatting: Text
Open source: yes
Website: http://flatpress.org/home/
Flot
no database CMS, written in PHP, supports themes, soon pl ... |
| bbs.geekaa.com/topic/view/4911.html - 2016年6月5日 |
|
 | 纯 CSS 实现 Tab by 隐藏人物 |
| {
margin: 0;
padding: 0;
@include box-sizing(border-box);
}
body {
padding: 20px;
text-align: left;
font-family: Lato;
color: #fff;
background: $background;
}
h1 {
font-weight: normal;
font-size: 40px;
font-weight: normal;
text-transform: uppercase;
flo ... |
| bbs.geekaa.com/topic/view/4862.html - 2016年3月24日 |
|
 | WordPress 主题开发技巧:自定义颜色 wordpress theme develop custom colors by 隐藏人物 |
| cx_register_theme_customizer' );
function tcx_customizer_css() {
?>
<style type="text/css">
a { color: <?php echo get_theme_mod( 'tcx_link_color' ); ?>; }
</style>
<?php
}
add_action( 'wp_head', 'tcx_customizer_css' ); ... |
| bbs.geekaa.com/topic/view/4839.html - 2016年3月2日 |
|
 | CCK Module Basics by 纵云 |
| allows you to add to a content type. The contributed module includes several standard fields (like text and node reference) included but many of the fields you would want to add to your content type must be downloaded and enabled separately.
Here are some additional fields that are listed on the C ... |
| bbs.geekaa.com/topic/view/4795.html - 2009年12月7日 |
|
 | Creating custom content types with CCK by 纵云 |
| log entry, etc. That's great if I can tailor my content needs to fit those models of pure chunks of text with or without attachments.
But say I want my users to be able to submit reviews of their favorite aardvark. That's a content type that's sort of a story, but I want to be able to display other ... |
| bbs.geekaa.com/topic/view/4794.html - 2009年12月7日 |
|
 | 将 HTML 转换成文本 by 神墓 |
| chr(162),
chr(163),
chr(169),
"chr(\\1)");
$text = preg_replace ($search, $replace, $document);
?> ... |
| bbs.geekaa.com/topic/view/4768.html - 2009年11月11日 |
|
 | Function Reference/add meta box by 神墓 |
| e, and Write Link editing pages.
Usage
<?php add_meta_box( $id, $title, $callback, $page, $context, $priority ); ?>
Parameters
$id
(string) HTML 'id' attribute of the edit screen section
$title
(string) Title of the edit screen section, visible to user
$callback
(string) Function that ... |
| bbs.geekaa.com/topic/view/4728.html - 2009年10月29日 |
|
 | 有奖大转盘FLASH程序的内部代码! by 纵云 |
| 1);
_root.mc_users.txt_users.htmlText = ld.arg1;
_root.mc_users.txt_percent.text = ld.arg2 + "%";
}
else
{
_root.mc_users.txt_users.text = "加载数据失败";
} // end else if
};
} // End of the function
function getCellStart()
{
spd ... |
| bbs.geekaa.com/topic/view/4677.html - 2009年10月28日 |
|
 | servlet生命周期 by wzzz |
| 个过 程。给它传递的这个配置对象允许 servlet 访问容器的配置信息中的名称-值对( name-value )初始化参数。这个配置对象同时给 servlet 提供了访问实现了 ServletContext 接口的具体对象的方法,该对象描述了 servlet 的运行环境。
2.1 初始化的错误处理
在初始化期间, servlet 实例可能通过抛出 UnavailableException 或者 ServletException 异常表明它不能进行有效服务。如果一个 servlet 抛出一个这样的异常,它将不会被置入有效服务并且应该被容器立即释 放。在此情况下 destroy ... |
| bbs.geekaa.com/topic/view/4681.html - 2009年10月20日 |
|
|