我想显示在网站的首页WordPress的职位。据报告以下错误:的WordPress:显示单个帖子
Parse error: syntax error, unexpected '=' in /home/####/####/####/####/wp-content/themes/oceanswaves/home.php on line 105
<?php query_posts(‘p=143′); if(have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endif; ?>
谢谢
所以去修复该文件的行〜105 ... – Quentin 2010-05-18 22:52:47
webdestroya - 谢谢修复帖子,我仍然搞清楚如何发布代码审查我会去和修复线105,但得到了别人的代码 - http://www.bestwpthemez.com/wordpress/how-to-display-single-post-contents-in-sidebar-of-wordpress-blog 。-1128/ – 2010-05-18 22:57:48
如果你希望帮助下,它可能是有益的SHOW线#105我们不是精神,如果你得到了别人的代码不要紧 - 。如果PHP你有来源。如果它的wordpress,它的PHP。 – Erik 2010-05-18 23:00:31