Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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?

    Cheers,

    Bryon

    #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?

    Thanks

    #55315

    Hey,

    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:

    tag=$tag_ids&showposts=$postcount&ignore_sticky_posts=1&orderby=rand

    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?

    #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.

    #55317

    Can you post a link to a page where the problem occurs?

    #55318

    Hey Dude –

    Here is a link to a page where we are experiencing this problem:

    http://www.polarimagazine.com/corona/sound-and-vision

    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.

    #55319

    Please add following code to css/custom.css:

    a img {
    display: inline;
    }

    #55320

    Thanks Dude – that did it!

    #55321

    Glad that I could help you :)

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Related Posts and Auto Hyphenation’ is closed to new replies.