Help - Search - Members - Calendar
Full Version: Extended Entry immediately after New Entry
Movable Type Community Forum > Additional Resources > Tips and Tricks
hyster00
I'm having a very slight problem...I'd like for the Extended Entry link "read more" to appear directly aftyer my new entries. Right now, the link appears a space below my entries. How can I stop this? I tried to place the entries between

tags, but no luck

CODE
<MTEntries lastn="1" category="WDFM">
<p><$MTEntryBody$>
<MTEntryIfExtended><a href="<$MTEntryPermalink$>"; class="recent1">Read
     More...</a>
     </MTEntryIfExtended>
</p>
</MTEntries>


suggestions??
ndns
This is probably happening because MTEntryBody gets wrapped in p tags automatically. Maybe you could try this. (I assume that a negative margin will moving something up the page.) Adjust the -5px as necessary.
CODE
<MTEntries lastn="1" category="WDFM">
<$MTEntryBody$>
<MTEntryIfExtended><span style="margin-top: -5px"><a href="<$MTEntryPermalink$>"; class="recent1">Read
    More...</a></span>
    </MTEntryIfExtended>
</MTEntries>

Does that work?
cathy
Or set default text formatting to none in your config preferences.
ndns
QUOTE
Or set default text formatting to none in your config preferences.

That is another option, but you would have to manually type in line breaks or paragraph tags for new paragraphs.
rcoffey
Did you ever find a solution to this problem? I'm having the same problem. I tried adjusting the margin (-5px as suggested in one of the posts above) and that didn't work. I also tried Brad Cohate's Format Breaks plugin but it wasn't the fix I needed. Does anyone know how to make the MORE tag not jump down into its own paragraph? sad.gif
girlie
I dunno, if none of the presented options work for you, maybe you can use the Process Tags plugin and code the permalink inside the Entry Body instead.

And it's Choate.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.