Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Test how to let the homepage of WordPress Show is small picture, after the point of the content page directly shows the big diagram, some people seem to like this way, if your blog is the type of article, in fact, do not need this method, and the display of pictures can have a lot of choices and with your happy alternate use, Not much to say nonsense, to show how to do this display way.
In the post, please write the thumbnail and the whole picture, in the back of the thumbnail use <–more–>, so that in the first page of the template (index.php), will only be shown to the <–more–> of this place. Then in the Content page place (single.php) uses the JavaScript to hide the thumbnail (display:none;) That's theoretically true, but I don't know what I'm talking about. Below I describe how this article is generated as follows (in the HTML edit box):
<span id= "Previewpage" > <a rel= "lightbox[groupname" "href=" http://your site URL picture path/2293/1867653389_ 9c0555d380_o.jpg "title=" "Unknown Meimei small figure" ><img width= "160″src=" http://your website url picture path/2293/1867653389_1ed4aa8a44_m.jpg " alt= "Meimei" height= "240″/></a>" the text to display </span ><!–more–> <script type= "Text/javascript" > <!–$ ("Previewpage"). style.display= "None"; –></script> <img src= "http://your website url picture path/2293/1867653389_9c0555d380_o.jpg" alt= "Unknown Meimei big picture"/>
Home already have the text to be written here again ... next is the content of other articles .... Please note that the page can be displayed more than just a picture, you just use the label to frame it, and give the label an ID (here is previewpage), like this:
<span id= "Previewpage" > The contents of the home page (including thumbnails) </span> then add <–more–>, followed by a JavaScript code, as follows: <script type = "Text/javascript" > <!–$ ("Previewpage"). style.display= "None"; –></script>
Note that the previewpage of $ ("Previewpage") is the ID you give span, the name to be the same, and then put your original pattern, and the content of the first page has been rewritten, it can be.
Finally remember one thing, finally please write these things in the HTML code edit box, after the storage is finished, do not in the HTML code edit box and see and the resulting edit box for change, because WordPress will automatically put some of your IT think useless code to eat or more to help you write a lot of code, easy to fail, The best thing to do is to save it in the HTML edit box.
Content reprint: http://www.chinaxianghui.com text copyright, reprint please keep the source link.