Support » Plugin: Contextual Related Posts » Title under Thumbnail

  • Hi,

    Great Plugin 🙂

    But how can I display the Titel of each Related Post under the thumbnail?

    Michael

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ajay

    (@ajay)

    Can you please try this – you will need to select no styles in the Style tab and add this code to the Custom styles box.

    Option 1:
    https://gist.github.com/ajaydsouza/462b41930c325e6bc345

    Option 2:
    https://gist.github.com/ajaydsouza/e05522dfda9e78539f2948afb425edc9#file-text-below-thumbs-css

    Hi,

    I tried both options and they don´t work when I select “no styles”. Both options have no title to display under the thumbnail.

    What do I have to select in the tab “Thumbnail”?

    At the moment I have selected:
    – Display thumbnails inline with posts, before title
    – crp_thumbnail (300×200)
    – Use HTML attributes to set the width and height

    Plugin Author Ajay

    (@ajay)

    Those options under Thumbnail are fine – did you add the code from the link above into the Custom Styles box?

    Yes, I tried it. But the titel is still placed inside the thumbnail, not under.

    Plugin Author Ajay

    (@ajay)

    Could you please post a screenshot of your styles tab of the settings?

    Hi Ajay,

    here is a screenshot: Screenshot

    1) I copied the css code from “text-below-thumbs.css” in the “Custom CSS” field

    2) You can see that is has no effect.

    3) When I put the same css code from “text-below-thumbs.css” im my “Customizer” you can see the styling. But you can see in the Inspector that there is no titel displayed under the image.

    I hope that helps to find a solution 🙂

    Michael

    • This reply was modified 3 months, 3 weeks ago by michaelxxx.

    Ok, I found a solution. I now checked the style “Rounded thumbnails” and additionally used the code from “text-below-thumbs.css” in my Customizer to overwrite the styling. It worked – but I don´t know if this is the best way? 😉

    Screenshot Related Posts

    But I have 1 other question:

    I have selected the option Order Posts > Randomly. But as you can see in the screenshot the related post shows 8 of 9 from ther same category (“Greece”). How can I mix it a little more to show other categories?

    • This reply was modified 3 months, 3 weeks ago by michaelxxx.
    • This reply was modified 3 months, 3 weeks ago by michaelxxx.
    • This reply was modified 3 months, 3 weeks ago by michaelxxx.
    Plugin Author Ajay

    (@ajay)

    The main issue here is relevance and there isn’t a way to limit number of posts in a category at this stage

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.