首页 » 建站手册 » Typecho模板文档大全之post编写教程

Typecho模板文档大全之post编写教程

谷歌已收录,更新于2019年06月29日; 如遇到问题,请留言及时通知站长; 欢迎加入 三生三世,讨论各种问题!

说明

本教程属于系列教程,用于讲解Typecho主题编写的相关教程。本篇教程用于讲解post.php文件的编写具体内容。全部文档教程来源于泽泽,官网是https://qqdie.com/。目前,我还没写过主题。不过魔改了大概四份主题,所以对这些也算懂一点吧。

typecho预览

post.php

用于编写Typecho主题的文章输出,post页和index是差不多的,下面解释下post.php里面存在的php代码。

代码与说明

代码解释
<?php $this->permalink() ?>文章地址
<?php $this->title() ?>文章标题
<?php $this->author->permalink(); ?>文章作者主页链接
<?php $this->author(); ?>文章作者昵称
<?php $this->date(); ?>文章发布时间
<?php $this->category(','); ?>文章分类,多个分类中间用逗号隔开
<?php $this->content(); ?>文章内容
<?php $this->tags(', ', true, 'none'); ?>文章标签,多个标签间用逗号隔开,标签以带超链接的形式显示,如果不存在标签则显示none
<?php $this->need('comments.php'); ?>调用评论页
<?php $this->thePrev('%s','没有了'); ?>带有超链接的上一篇文章的标题
<?php $this->theNext('%s','没有了'); ?>带有超链接的下一篇文章的标题

其他说明

page.php代码同post.php,区别就是post是用来显示文章的,而page.php是用来显示独立页面的。

本文来源:https://qqdie.com/,取自QQ群。

一个只会魔改主题,而不会制作主题的站长,专业扒各种网站的各种样式。希望每一位来到这里的访客,都能拿到你们需要的资源!

发表评论

已有 1295 条评论

  1. Joshuadon Joshuadon说道:

    persuasive essay ideas 6th grade http://essaywriterupk.com/ - the best college application essays the essay writer how to write an essay in ielts

  2. WilliamZes WilliamZes说道:

    tips to win essay writing competition
    [url=http://writemyessayzt.com/]write my essay[/url]
    tips of writing argumentative essay
    write good essay
    photo essay life magazine

  3. Raymondfromi Raymondfromi说道:

    100% plagiarism free of charge, level of quality optimum essay composing solutions in various types these types of as essay, dissertation, phrase papers, thesis papers etcetera and in addition providing.

    https://gardeningessaywriting381.blogspot.com
    https://writingdoctoraldissertation.blogspot.com/
    https://writingessayservices139.blogspot.com
    https://advertisementanalysisexamples1.blogspot.com/
    https://starwritingpaper115.blogspot.com
    https://howtowriteanessayreview548.blogspot.com
    https://essaywritingservicecheap170.blogspot.com
    https://businesswritingbooks.blogspot.com/
    https://writingareportpaper140.blogspot.com
    https://coursework48.blogspot.com
    https://essaywritingkids771.blogspot.com
    https://howtowriteaplayinanessay962.blogspot.com
    https://howtowriteascholarlypaper213.blogspot.com
    https://analyzingadvertisementsessay1.blogspot.com/
    https://customtermpaperwritingservice53.blogspot.com
    https://writingessayservices656.blogspot.com
    https://abcwritingpaper46.blogspot.com
    https://writenarrativeessay93.blogspot.com
    https://essaystowrite642.blogspot.com
    https://writeessaysformoney259.blogspot.com
    http://commonapplicationpapers.blogspot.com/
    https://sampleactessay.blogspot.com
    https://bestwritingpaper609.blogspot.com
    https://howtowriteamazingessays489.blogspot.com
    https://goodessaytopics12.blogspot.com/
    https://collegemonapplicationessay542.blogspot.com
    https://customessaysonline511.blogspot.com
    https://howtowriteandescriptiveessay549.blogspot.com
    https://professionalcoverletterwritingservice.blogspot.com/
    https://writeinthepaper671.blogspot.com
    https://writingagoodpaper192.blogspot.com
    https://printwritingpaper784.blogspot.com
    https://exemplarycollegeessays339.blogspot.com
    https://essaywritingbasics605.blogspot.com
    https://howtowriteawebsiteinapaper567.blogspot.com
    https://paidessaywriters440.blogspot.com
    https://essaywhyiwanttogotocollege679.blogspot.com
    https://linedpaperwriting11.blogspot.com
    https://writemyessay718.blogspot.com
    https://londonessaywriting806.blogspot.com
    https://collegeessayediting01.blogspot.com
    https://readcollegeessay460.blogspot.com
    https://howtowriteanacademicessay684.blogspot.com
    https://lawschooladmissionsessay.blogspot.com/
    https://interviewinessayformat.blogspot.com/
    https://collegeessaycritiqueservice.blogspot.com/
    https://writingatokessay227.blogspot.com
    https://thebestcollegeessayever548.blogspot.com
    https://hamletessay277.blogspot.com
    https://thebasicsofessaywriting661.blogspot.com
    https://writingessaymyself175.blogspot.com
    https://monsterwritingpaper523.blogspot.com
    https://writemyresearchpaper155.blogspot.com
    https://supplementalcollegeessays821.blogspot.com
    https://howtowritearesearchpapers335.blogspot.com
    https://descriptiveessaythesis1.blogspot.com/
    https://philosophyessaywriting655.blogspot.com
    https://interviewonpaper.blogspot.com/
    https://buyassignmentfhsu.blogspot.com
    https://essayadmission871.blogspot.com
    https://assignmenthelponline0.blogspot.com
    https://writingareflectionpaper651.blogspot.com
    https://guidedessaywriting926.blogspot.com
    https://payessay119.blogspot.com
    https://commoncollegeapplicationessay139.blogspot.com
    https://pictureessaywriting917.blogspot.com
    https://writinganactionresearchpaper527.blogspot.com
    https://writinga3paragraphessay210.blogspot.com
    https://theproperwaytowriteanessay630.blogspot.com
    https://papereditors1.blogspot.com/
    https://undergraduateessaywriting314.blogspot.com
    https://commonusageerrors.blogspot.com/
    http://exampleofpaperforcollegeapplication.blogspot.com/
    https://writingcollegeadmissionessay6.blogspot.com
    https://vacationessaywriting509.blogspot.com
    https://researchpaperoutline1.blogspot.com/
    https://howtowriteanuniversityessay542.blogspot.com
    https://writingacomparisonessay295.blogspot.com
    https://writinganabstractforanessay714.blogspot.com
    https://writeaessayforme502.blogspot.com
    https://writingpapersincollege646.blogspot.com
    https://bestcompositionwriting0.blogspot.com
    https://descriptivestructure1.blogspot.com/
    https://businessschoolessays12.blogspot.com/
    https://lawessaywritingservice602.blogspot.com
    https://howtomakeessaywritingeasy127.blogspot.com
    https://ineedhelpwritingaessay213.blogspot.com
    https://writingessays3.blogspot.com
    https://writingessayconclusion852.blogspot.com
    http://customtermpapercheapwritingservice.blogspot.com/
    https://writethatessay155.blogspot.com
    https://buycheapessaysonline906.blogspot.com
    https://academicessaywriters602.blogspot.com
    https://parentsessaywriting977.blogspot.com
    https://essayuniversitylife263.blogspot.com
    https://collegeapplicationprompts131.blogspot.com
    https://academicresearchpaper841.blogspot.com
    https://essaywritingconclusion475.blogspot.com
    https://professionalessayhelp1.blogspot.com
    https://10stepstowriteanessay159.blogspot.com

  4. RobertNow RobertNow说道:

    Le temps du taxi à sonner, La ville de Paris à tout pour plaire aussi bien par son dynamisme que sa population, à travers sa tour Eifel, sa cathédral notre dame, ses grands boulevards et sa tour Montparnasse, Huguodriver n’est pas très loin,prendre la route pour le travail ou le plaisir peut être enthousiaste mais peut devenir vite terrifiant !, c’est pour cela qu’il est important de laisser faire un professionnel pour vous ramener en toute sécurité à votre destination, sans stress et sans tracas.
    Notre secteur d’activité est : l’aéroport de Roissy et Orly ais aussi le transport de personne(s) sur Paris, de plus notre tarif est raisonable, vous les avez sur notre site web [url=https://huguodriver.com/]huguodriver.com[/url]
    Pour faciliter la réservation, Huguodriver dispose d’une application mobile disponible sur Android et Ios, de plus les annulations de commande sont gratuites et sans majoration de prix, nos chauffeurs sont expérimentés et tous disposent d’une License de travail et toutes les assurances indispensables
    Pour votre plus grand confort, Huguodriver dispose de voiture type berline avec tout le confort qui va avec, que vous venez d’Orléans ou ailleurs pur visiter la ville de Paris, nous sommes toujours prêts à vous accueillir avec le cœur et le sourire en plus.

    A bientôt

  5. BettyBon BettyBon说道:

    She thought about it and was finally convinced after the flash of cash went down. Have a great week and I will chat with you again soon! Stunning teen brunette Kaylee gets all oiled up and shows off her gorgeous body. Hiya everyone and happy Friday to you all! The licentious Latina babe Paulina James is pounding the pussy with red dildo. Glamour beauty Alisha King with long legs and round boobs poses nude in the bathhouse. Her high heels and skimpy outfit accent her curves excellently. Knowing full well that a cock that massive is too much for her precious daughter, Darla intercepts Keiran the next time he comes over, dropping to her knees to suck on his meaty cock. Blonde hottie Catie Parker removes her dress outside and flaunts her nice bod. Latin gadget Vanessa Veracruz strips outdoor and spreads pussy hole as wide as possible. Naughty brunette teen Ella K losing off her cloths and spreading legs on the ground. Naughty Tiffany Holiday shoves long flexible dildo in her moist horny pussy. Busty blonde cheerleader Memphis Monroe is wildly jumping on hard throbbing cock. Ethnic brunette Marissa Nubiles staying in doggy and stretching ass cheeks with hands. Asian chick Priva is massaging cock with nude body while guy is licking her slits.

    http://www.kni.in/__media__/js/netsoltrademark.php?d=hugetits.win/tits/busty-natural-sex/
    http://clowded.jp/__media__/js/netsoltrademark.php?d=hugetits.win/tits/busty-chicks/
    http://otonanodvd.com/__media__/js/netsoltrademark.php?d=hugetits.win/tits/young-ass-and-tits/
    http://ministryfolders.com/__media__/js/netsoltrademark.php?d=hugetits.win/tits/big-xxx-boobs/
    http://collegeofemergencydispatch.org/__media__/js/netsoltrademark.php?d=hugetits.win/tits/naked-tit-pictures/

  6. Dianeroalp Dianeroalp说道:

    [url=https://now-levitra-online.com/]how long does levitra last[/url]
    levitra generic

  7. Waynevug Waynevug说道:

    British Assignments Aid has group of major essay writers who supply you with the greatest essay creating company in United kingdom at reasonably priced price tags, get discounted on the 1st get.

    https://thanksgivinglinedwritingpaper685.blogspot.com
    https://getpaidtowriteessaysonline195.blogspot.com
    https://universityessay344.blogspot.com
    https://essaywriterwebsite435.blogspot.com
    https://myselfessaywriting590.blogspot.com
    http://commonapplicationpapers.blogspot.com/
    https://essaywritingtools280.blogspot.com
    https://goodcollegeessays477.blogspot.com
    https://vintagewritingpaper404.blogspot.com
    https://thingstowriteanessayon46.blogspot.com
    https://castlewritingpaper914.blogspot.com
    https://howtowriteessaywriting643.blogspot.com
    https://fallwritingpaper503.blogspot.com
    https://wherecaniwriteanessayonline886.blogspot.com
    https://admissionessayhelp472.blogspot.com
    https://onlineessaywritinghelp148.blogspot.com
    https://coursework44.blogspot.com
    https://greatcollegeessay188.blogspot.com
    https://bestcollegeessay869.blogspot.com
    https://writingresearchpapersppt465.blogspot.com
    https://theessaywriter363.blogspot.com
    https://writingcomparisonessay120.blogspot.com
    https://essaywritingpdf607.blogspot.com
    https://whyareyouincollegeessay851.blogspot.com
    https://scarecrowwritingpaper.blogspot.com/
    https://freelanceessaywritingjobs818.blogspot.com
    https://howtowriteananalysisessay1.blogspot.com/
    https://applicationessayhelp272.blogspot.com
    https://mbaessaywritingservice777.blogspot.com
    http://write--myessay.blogspot.com/
    https://listofcollegeessayprompts252.blogspot.com
    https://kindofessaywriting501.blogspot.com
    https://huntercollegeessay823.blogspot.com
    https://strategiesforavoidingfallacies1.blogspot.com/
    https://essaywritingquestions83.blogspot.com
    https://graduateschooladmissionessay589.blogspot.com
    https://howtowriteaessaywriting769.blogspot.com
    https://anessayonhowtowriteanessay738.blogspot.com
    https://indianwritingpaper873.blogspot.com
    https://holidaywritingpaper.blogspot.com/
    https://creativewritingessays507.blogspot.com
    https://writingabriefingpaper12.blogspot.com/
    https://buyessaysforcollege62.blogspot.com
    https://writinganacademicpaper17.blogspot.com
    https://writingagreatessay837.blogspot.com
    https://childlabouressaywriting408.blogspot.com
    https://zanerbloserwritingpaper667.blogspot.com
    https://howtowriteaboutmyselfessay229.blogspot.com
    https://howtorightanessay508.blogspot.com
    https://nursingphilosophypaper.blogspot.com/
    https://applytexasessayc673.blogspot.com
    https://writingpaperwithpicturebox816.blogspot.com
    https://writeanessayonmyself270.blogspot.com
    https://lawessayhelp98.blogspot.com
    https://keytowritingagoodessay102.blogspot.com
    https://personalessayforcollege611.blogspot.com
    https://writearesearchpaper12.blogspot.com/
    https://writinganobservationpaper362.blogspot.com
    https://interactiveessaywriting317.blogspot.com
    https://collegeessayaboutyourself381.blogspot.com
    https://howtowriteaexcellentessay999.blogspot.com
    https://customdissertationwritingservice3.blogspot.com/
    https://cheapessaywriters116.blogspot.com
    https://whotowriteaessay818.blogspot.com
    https://reflectivewritingessay818.blogspot.com
    https://grade5essaywriting752.blogspot.com
    https://essaywritinggrade429.blogspot.com
    https://essaysonline300.blogspot.com
    https://howtowriteasummarypaper859.blogspot.com
    https://whatmoneycantbuyessay726.blogspot.com
    https://howtowriteaparesearchpaper.blogspot.com/
    https://writingareflectionpaper805.blogspot.com
    https://writeacauseandeffectessay675.blogspot.com
    https://paperwritingtips.blogspot.com/
    https://writeacomparisonessay232.blogspot.com
    https://howtowritea5paragraphessay234.blogspot.com
    https://qualitywritingpaper9.blogspot.com
    https://whatispaperwriting338.blogspot.com
    https://personalessayprompts152.blogspot.com
    https://collegeessaythemes196.blogspot.com
    https://dottedwritingpaper357.blogspot.com
    https://domyreport12.blogspot.com/
    https://howcaniwriteaessay455.blogspot.com
    https://topicsforinternationalrelationspaper.blogspot.com/
    https://personalnarrativewritingpaper174.blogspot.com
    https://stepsofwritingessay611.blogspot.com
    https://essaywritingpollution677.blogspot.com
    https://howtowriteresponseessay315.blogspot.com
    https://howtoteachwritinganessay498.blogspot.com
    https://articlecritiquewriting571.blogspot.com
    https://onlinewritingservices47.blogspot.com
    https://howtowriteaconceptessay127.blogspot.com
    https://paperwritingservices934.blogspot.com
    https://writingaresponseessay332.blogspot.com
    https://universityessaywritingservice211.blogspot.com
    https://howtowriteessayoutline.blogspot.com/
    https://helpwithcollegeessay78.blogspot.com
    https://editingcollegeessays326.blogspot.com
    https://helpwithwritingresearchpapers12.blogspot.com/
    https://whattowriteapaperon780.blogspot.com

  8. WayneBleds WayneBleds说道:

    The Norwegian LAMININE https://healthevolutionproject.com?p=B1Baj7FSI are 4 times more affordable, as Laminine by LPGN

  9. PhilipEmato PhilipEmato说道:

    Вот именно про что я говорю, посмотри и ты поймеш насколько
    это необычное и интересно для твоего смартфона на Андроид!
    Очень большое количество игр и приложений которых ты не найдешь
    в плей маркете! Ниже ссылка!
    https://mirandroidigr.ru/modern-ops-fps
    https://mirandroidigr.ru/efootball-pes-2020
    https://mirandroidigr.ru/exiles

  10. Gregorydodia Gregorydodia说道:

    娛樂城介紹

    https://forum.tw-sportslottery.com/thread-119-1-1.html

最近动态查看

    利用短代码实现了文章正文任意位置插入[googleads],前端自动变为谷歌广告。这样,文章过长时,可以随意插入广告了。
返回主页看更多
赏杯咖啡给站长 支付宝 扫一扫