MTAuthorHasEntry
Author のコンテキスト内で使用する条件分岐を行うブロックタグです。ユーザーが公開 (Publish) された記事を持っているかどうかを判別し、もし持っているときは true (真) となり、囲んだ内容を処理します。合わせて MTElse ブロックタグを使用できます。
使い方
<MTAuthors need_entry="0"> <MTAuthorHasPage> 公開されたウェブページを持つユーザー (公開された記事も持っているかもしれない) <MTElse> <MTAuthorHasEntry> 公開された記事だけを持つユーザー <MTElse> 記事もウェブページも持たないユーザー </MTAuthorHasEntry> </MTAuthorHasPage> </MTAuthors>
MTAuthorHasEntry と関連のあるテンプレートタグ (181)
- MTActions
- MTActionsEntry
- MTAssetIfTagged
- MTAuthorAuthIconURL
- MTAuthorAuthType
- MTAuthorBasename
- MTAuthorCommentCount
- MTAuthorComments
- MTAuthorCustomFieldDescription
- MTAuthorCustomFieldName
- MTAuthorCustomFields
- MTAuthorCustomFieldValue
- MTAuthorDisplayName
- MTAuthorEmail
- MTAuthorEntriesCount
- MTAuthorEntryCount
- MTAuthorFollowersCount
- MTAuthorFollowingCount
- MTAuthorHasEntry
- MTAuthorHasPage
- MTAuthorID
- MTAuthorName
- MTAuthorNext
- MTAuthorPrevious
- MTAuthorRank
- MTAuthors
- MTAuthorScore
- MTAuthorScoreAvg
- MTAuthorScoreCount
- MTAuthorScoreHigh
- MTAuthorScoreLow
- MTAuthorURL
- MTAuthorUserpic
- MTAuthorUserpicAsset
- MTAuthorUserpicURL
- MTBlogEntryCount
- MTBlogIfCCLicense
- MTBlogIfCommentsOpen
- MTCalendarIfBlank
- MTCalendarIfEntries
- MTCalendarIfNoEntries
- MTCalendarIfToday
- MTCategoryIfAllowPings
- MTCommentEntry
- MTCommentEntryID
- MTCommenterID
- MTCommenterIfTrusted
- MTCommenterURL
- MTCommenterUsername
- MTCommenterUserpic
- MTCommenterUserpicAsset
- MTCommenterUserpicURL
- MTCommentIfModerated
- MTDateFooter
- MTDateHeader
- MTElse
- MTElseIf
- MTEntries
- MTEntriesCount
- MTEntriesFooter
- MTEntriesHeader
- MTEntriesWithSubCategories
- MTEntryAdditionalCategories
- MTEntryAssets
- MTEntryAtomID
- MTEntryAuthor
- MTEntryAuthorDisplayName
- MTEntryAuthorEmail
- MTEntryAuthorID
- MTEntryAuthorLink
- MTEntryAuthorNickname
- MTEntryAuthorURL
- MTEntryAuthorUsername
- MTEntryAuthorUserpic
- MTEntryAuthorUserpicAsset
- MTEntryAuthorUserpicURL
- MTEntryBasename
- MTEntryBlogDescription
- MTEntryBlogID
- MTEntryBlogName
- MTEntryBlogURL
- MTEntryBody
- MTEntryCategories
- MTEntryCategory
- MTEntryClass
- MTEntryClassLabel
- MTEntryCommentCount
- MTEntryCreatedDate
- MTEntryCustomFieldDescription
- MTEntryCustomFieldName
- MTEntryCustomFields
- MTEntryCustomFieldValue
- MTEntryDate
- MTEntryEditLink
- MTEntryExcerpt
- MTEntryFlag
- MTEntryID
- MTEntryIfAllowComments
- MTEntryIfAllowPings
- MTEntryIfCategory
- MTEntryIfCommentsOpen
- MTEntryIfExtended
- MTEntryIfTagged
- MTEntryKeywords
- MTEntryLink
- MTEntryModifiedDate
- MTEntryMore
- MTEntryNext
- MTEntryPermalink
- MTEntryPrevious
- MTEntryPrimaryCategory
- MTEntryRank
- MTEntryScore
- MTEntryScoreAvg
- MTEntryScoreCount
- MTEntryScoreHigh
- MTEntryScoreLow
- MTEntryStatus
- MTEntryTags
- MTEntryTitle
- MTEntryTrackbackCount
- MTEntryTrackbackData
- MTEntryTrackbackID
- MTEntryTrackbackLink
- MTFeedEntries
- MTFeedEntryLink
- MTFeedEntryTitle
- 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
- MTMultiBlogIfLocalBlog
- MTPageIfTagged
- MTPasswordValidation
- MTPasswordValidationRule
- MTPingEntry
- MTSubCatIsFirst
- MTSubCatIsLast
- MTUnless
- MTWebsiteEntryCount
- MTWebsiteHasBlog