Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
ob1_if_section: Why is this post showing on every page?
Hey all, I am setting up anoter TXP driven site and I cannot figure out why this post is showing on every page, when I am telling it to only show in a certain section.
——————————————————————————————-
<txp:ob1_if_section section=“default”>
<txp:article_custom form=“default” limit=“1” sort=“Posted asc” section=“blog” />
</txp:ob1_if_section>
——————————————————————————————-
This is the code that I am using to display the article. I have used the ob1_if_section plugin on about 10 sites before with no problems at all, but for some reason it is not working so well here. I am trying to pull the latest post from the blog section and have it display on the home page. Is there a better way to do this, or did I just miss something?
Thanks!!
(Edit: updated discussion topic. -Mary)
Last edited by Mary (2007-10-15 02:02:51)
Offline
#2 2007-10-09 14:19:07
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: ob1_if_section: Why is this post showing on every page?
Sorry to ask, but is the plugin activated?
Why don’t you use <txp:if_section name="">
, which does exactly the same?
Offline