我想在添加/编辑帖子页面的Publish块中添加一个新的复选框字段.有谁知道怎么做?
我试图在帖子链接对话框中添加http://(如果尚未添加)。我尝试过过滤器
add_filter('pre_link_url', 'add_http_link_url');
Run Code Online (Sandbox Code Playgroud)
没用 有人知道该怎么做吗?
我在Godaddy共享托管中安装了Magento,并在安装magento时启用了apache mod_rewrite.安装完成,主页加载相当不错.但是当我尝试访问任何其他页面时,当我访问www.myshop.com/admin或www.myshop.com/sony-vaio-vgn-txn27n-b-11时,每个页面都会出现"500 Internal Server Error" -1-笔记本pc.html.
但是,当我访问www.myshop.com/index.php/admin和www.myshop.com/index.php/sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html工作得很好.
Godaddy支持购买告诉我他们已经在共享主机中启用了apache mod_rewrite.他们建议我在.htaccess中有一些配置错误.谁能帮我.我在这里发布了.htaccess.
############################################
## uncomment these lines for CGI mode
## make sure to specify the correct cgi php binary file name
## it might be /cgi-bin/php-cgi
# Action php5-cgi /cgi-bin/php5-cgi
# AddHandler php5-cgi .php
############################################
## GoDaddy specific options
Options -MultiViews
## you might also need to add this line to php.ini
## cgi.fix_pathinfo = 1
## if it still doesn't work, rename php.ini to php5.ini
############################################
## this line is specific …Run Code Online (Sandbox Code Playgroud)