Tagged: related posts control appearance
November 2, 2011 at 8:07 pm #6747
Is there anyway of controlling which related posts appear at the bottom of a post?
There seems to be no way of choosing which posts appear or how many.
Also, is there a way of preventing auto-hyphenation when setting body text in posts to justify?
BryonNovember 3, 2011 at 11:50 am #55314
I also have another issue…
When I add an link to an image, it pushes all the following content to the next line. How can I stop this happening?
ThanksNovember 3, 2011 at 12:25 pm #55315
the related post query can be found in includes/related-posts.php – the related posts are selected by tags (same tag like current post makes a post related). The query:
asks for random posts but you can set the “orderby” to date or title, etc. too. Corona is optimized for 3 related posts – more or less posts may require major css/html adjustments.
As far as I know there’s no way to adjust the text behaviour for “justify”. Maybe you can use css attributes like “word-wrap” or “word-break”.
Maybe you need to set the image alignment to “left” or “right” instead of “center” or “no alignment” when you insert the image into the content?November 3, 2011 at 12:36 pm #55316
Hey Dude –
Thanks for your help. Really appreciate it. Hyphens and related posts sorted!
The problem with the adding links to images seems to be Corona specific. I have pasted the same html code into another wordpress template and it displays without forcing the content onto the next line.
Specifically, I have created 6 bespoke buttons that I want to appear on a single line, which works until I add a link to them.
I have gone through the CSS but can’t find the code that is affecting this.November 3, 2011 at 6:26 pm #55317November 13, 2011 at 1:32 am #55318
Hey Dude –
Here is a link to a page where we are experiencing this problem:
The three images at the bottom of the page are supposed to display in a single line and they do until we assign a link to the images at which point they each start to display on a new separate line.November 13, 2011 at 8:47 am #55319November 14, 2011 at 1:00 am #55320November 14, 2011 at 6:57 am #55321
The topic ‘Related Posts and Auto Hyphenation’ is closed to new replies.