简体   繁体   English

页脚未显示在帖子页面中

[英]Footer doesn't show up in posts page

I just bought and customized a commercial responsive wordpress theme called enfold. 我刚刚购买并定制了名为enfold的商业响应式WordPress主题。

So here's my issue. 所以这是我的问题。 I created a page called blog and left it blank. 我创建了一个名为Blog的页面,并将其留为空白。 There's an option in the page to display the footer and socket, so I clicked yes. 页面中有一个选项可显示页脚和套接字,因此我单击了“是”。 In other pages in my site I also activated the footer and socket areas. 在我网站的其他页面中,我还激活了页脚和套接字区域。

I used the "blog" page for my latest blog posts. 我在最新博客文章中使用了“博客”页面。 The thing is the footer doesn't display in the blog page but in other pages / single posts page it works well. 问题是页脚没有显示在博客页面中,但是在其他页面/单个帖子页面中却很好。 What could be the issue? 可能是什么问题?

Someone told me from the support forum in enfold, and in other sites I have asked that it's a php memory issue. 有人在支持论坛上告诉我,在其他网站上,我问这是php内存问题。

I installed wp memory load and db usage plugin and my site loads like 22mb average per page, including the blog posts page. 我安装了wp内存负载和数据库使用插件,并且我的网站(包括博客帖子页面)平均每页负载为22mb。

I did this in the .htcacess file > 我在.htcacess文件中执行了此操作>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]
</IfModule>

# END WordPress

php_value memory_limit 96M php_value memory_limit 96M

<<< should php value memory limit be on top of #end of wordpress ? <<< PHP值内存限制是否应该在wordpress的#end之上?

2.) 2.)

as for the wp-config.php should I put it here >>> 至于wp-config.php我应该把它放在这里>>>

define('WP_CACHE', true); //Added by WP-Cache Manager
define( 'WPCACHEHOME', 'my site url' ); //Added by WP-Cache Manager
define('WP_MEMORY_LIMIT', '64M');

And lastly , is this issue related to php memory limit at all? 最后,这个问题是否与php内存限制有关?

Hope someone here can help 希望这里有人能帮忙

Go to Enfold options in the admin > footer > Display the footer widgets & socket 转到admin > footer > Display the footer widgets & socket 折叠”选项

If it is set like this already, then do it again, sometimes only needs to update. 如果已经将其设置为这样,则再次进行操作,有时只需要更新即可。

That works for me. 这对我行得通。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM