| User | Post |
|
11:51 pm March 18, 2009
| retroclutch
| | |
| New Member | posts 2 | |
|
|
Hi, first of all this is an excellent plugin. I have one quick question, if I wanted to show a specific div only if a post was in the same series. Is there a way I can do that? What sort of conditional statement would I have to put. Just to qualify, I don't mean just the contents of the plugin, because that is already blank but I mean a surrounding container.
Normally you can just do a php if statement saying "if $x != "" " but I couldn't figure out what to put there. Thanks.
|
|
|
11:08 pm April 11, 2009
| Ade
| | |
| Admin
| posts 1140 | |
|
|
Hi,
Oops! I must have missed your post.
Can you explain what you mean by a surrounding div? The list is already output into a div with an id of the Serial Name. Therefore you can use CSS to style this div and its contents.
Ade.
|
|
|
|
|
2:35 pm April 13, 2009
| retroclutch
| | |
| New Member | posts 2 | |
|
|
It's ok I figured it out. What I needed to do was make the output of a serial posts plugin as a tab, in a tabbed area. Thus, if the post was not part of a group the tab would still show up and it would be blank. What I did was have php check if the custom field was blank or not. If it wasn't blank it would output the tab, if it was blank, it would show nothing. Thanks.
|
|
|
8:57 pm April 13, 2009
| Ade
| | |
| Admin
| posts 1140 | |
|
|
Sounds cool! Glad you got it sorted. 
|
|
|
|