MTWebsiteHasBlog
ウェブサイトのコンテキストの中で、そのウェブサイトの配下にブログを持っているかを判断します。
ウェブサイトが1つもしくは複数ブログを持っている場合、もし持っているときは true (真) となり、囲んだ内容を処理します。合わせて MTElse ブロックタグを使用できます。
使い方
<MTWebsiteHasBlog> <!-- do something --> </MTWebsiteHasBlog>
MTWebsiteHasBlog と関連のあるテンプレートタグ (97)
- MTAssetIfTagged
- MTAuthorHasEntry
- MTAuthorHasPage
- MTBlogIfCCLicense
- MTBlogIfCommentsOpen
- MTBlogParentWebsite
- MTCalendarIfBlank
- MTCalendarIfEntries
- MTCalendarIfNoEntries
- MTCalendarIfToday
- MTCategoryIfAllowPings
- MTCommenterIfTrusted
- MTCommentIfModerated
- MTElse
- MTElseIf
- MTEntryIfAllowComments
- MTEntryIfAllowPings
- MTEntryIfCategory
- MTEntryIfCommentsOpen
- MTEntryIfExtended
- MTEntryIfTagged
- MTHasNoParentCategory
- MTHasNoSubCategories
- MTHasParentCategory
- MTHasParentFolder
- MTHasSubCategories
- MTHasSubFolders
- MTIf
- MTIfAllowCommentHTML
- MTIfAnonymousRecommendAllowed
- MTIfArchiveType
- MTIfArchiveTypeEnabled
- MTIfBlogDynamicMTML
- MTIfCategory
- MTIfCommenterIsAuthor
- MTIfCommenterIsEntryAuthor
- MTIfCommenterTrusted
- MTIfCommentParent
- MTIfCommentReplies
- MTIfCommentsAccepted
- MTIfCommentsActive
- MTIfCommentsAllowed
- MTIfCommentsModerated
- MTIfDynamic
- MTIfEntryRecommended
- MTIfFolder
- MTIfIsAncestor
- MTIfIsDescendant
- MTIfLoggedIn
- MTIfMaxResultsCutoff
- MTIfNeedEmail
- MTIfNonEmpty
- MTIfNonZero
- MTIfPingsAccepted
- MTIfPingsActive
- MTIfPingsAllowed
- MTIfPingsModerated
- MTIfRegistrationAllowed
- MTIfRegistrationNotRequired
- MTIfRegistrationRequired
- MTIfRequireCommentEmails
- MTIfStatic
- MTIfStraightSearch
- MTIfTagSearch
- MTIfTypeKeyToken
- MTIfWebsite
- MTMultiBlogIfLocalBlog
- MTPageIfTagged
- MTSubCatIsFirst
- MTSubCatIsLast
- MTUnless
- MTWebsiteCCLicenseImage
- MTWebsiteCCLicenseURL
- MTWebsiteCommentCount
- MTWebsiteCustomFieldDescription
- MTWebsiteCustomFieldName
- MTWebsiteCustomFields
- MTWebsiteCustomFieldValue
- MTWebsiteDateLanguage
- MTWebsiteDescription
- MTWebsiteEntryCount
- MTWebsiteFileExtension
- MTWebsiteHasBlog
- MTWebsiteHost
- MTWebsiteID
- MTWebsiteIfCCLicense
- MTWebsiteIfCommentsOpen
- MTWebsiteLanguage
- MTWebsiteName
- MTWebsitePageCount
- MTWebsitePath
- MTWebsitePingCount
- MTWebsiteRelativeURL
- MTWebsites
- MTWebsiteThemeID
- MTWebsiteTimezone
- MTWebsiteURL