新闻杂志Press主题安装与首页图片设置指南.pdfVIP

  • 0
  • 0
  • 约8.32千字
  • 约 12页
  • 2026-01-29 发布于北京
  • 举报

新闻杂志Press主题安装与首页图片设置指南.pdf

WordPress(由

ThemeL)

此需要WordPress2.7。如果您使用的是2.7之前的版本,请升级您的

WordPress。

安装随的3个插件并激活它们,然后将文件夹上传到

wp‑content/themes/并激活它。

I.如何在首页显示文章:

首页上的所有文章(特章、左侧文章、中间文章以及侧边栏文章)都

是通过自定义字段设置的,并使用thimthumb.php控制大小。

步骤:

1.上传您的并记住的文件URL。该URL,但请注意!仅从:/

wp‑content/uploads/jpg开始的部分。您可以在下面的中看到

示例。请只用红色突出显示的。这很重要,因为这是自定义字段的值。

NEWSMAGAZINEWORDPRESSTHEME

(byThemeL)

ThisthemerequiresWordpress2.7.PleaseupgradeyourWordpressifyouareusingolder

versionthan2.7.

Installthe3pluginsincludedwiththethemeandactivatethem,thenuploadthe

themefoldertowp-content/themes/andactivateit.

I.HowtodisythepostimagesontheHomePage:

Allpostsimageonthehomepage(featuredposts,leftsposts,middleposts,alsosidebar

posts)aresetwithcustomfieldandusingthimthumb.phptocontrolimagesize.

Steps:

1.uploadyourimageandremembertheFILEURLofyourimage.Copythaturl,but

remember!Copyonlytheurlfrom:/wp-content/uploads/…jpg.

Youcanseetheexampleontheimagebelow.Pleaseonlycopythelink

highlightedinred.Thisisimportantbecausethisisthevalueofyour

customfield.

2.还记设置大小和对齐方式,这也非常重要,因为这张图

片将显示在分类页面和单篇文章页面上。

3.在文章后,设置自定义字段,名称:Image(请注意单

词的首字母大写)值:您上传的的文件URL。请记住,文

件URL以:wp‑content/uploadsjpg开头。

错误

‑content/uploads/2007/04/rubyredfamily.jpg

(将不会显示)

Good

wp‑content/uploads/2007/04/rubyredfamily.jpg

(不包含)

参见示例。

II.选项

该还内置了选项页面,您可以节省时间,无需打开home.php来显示您想

在首页看到的分类。同时还可以在页眉、侧边栏和单个文章页面上设置。

文档评论(0)

1亿VIP精品文档

相关文档