This topic has 11 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #194328
     robynmg227
    Participant

    Hi,

    The current settings for related posts is to show them in random order. Is there a way to change that so that most recent always show?

    #194349
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #194396
     Radu
    Moderator

    Hi,

    Create a file named posts-related.php in /kleo/wp-content/themes/kleo-child/page-parts/ in that you will paste https://pastebin.com/raw/JekDvi1N

    NOTE: child theme needs to be installed and activated.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #194437
     robynmg227
    Participant

    Hi Radu,
    Thank you.
    There was no “page-parts” folder within the Kleo-child folder.. So I made one, and uploaded the php file into it. Unfortunately it doesn’t show recent posts at all now.

    (I also just tried putting the php file into the Kleo-child folder, and that also didn’t work.)

    Thanks,
    Robyn

    #194442
     Radu
    Moderator

    Hi,

    Yes if the folder/s missing it should be created to be like in the parent theme the path.

    Replace the file content with this one : https://pastebin.com/raw/BS7cyF0d

    Let me know

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #194445
     robynmg227
    Participant

    Hi Radu,
    Unfortunately that didn’t work either.

    #194495
     Radu
    Moderator

    I see not sure why, on my end it works can you please provide wp admin to can take a closer look ?
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #194511
     robynmg227
    Participant

    Hi Radu,
    Yes, the details are below…

    I think that the issue is perhaps with the Kleo update that I did–? 2 of my plugins aren’t showing either: Opinion Stage and NinjaForms.. No polls or forms are showing up on the site..

    Hearditfromafriend.com/wp-login

    username: Support
    PW: y3$E$JIfmFcUDbnI04yHOmgk

    Thank you for your help!

    #194537
     Radu
    Moderator

    Hi,
    Not sure why the page-parts folder and the file isn’t there

    I will need the ftp login details to can take a closer look at the posts-related.php file from child.

    Related to the Opinion Stage and NinjaForms that not works, maybe the issue comes from another plugin that conflicts ?or by the child theme, so set all plugins excerpt “Opinion Stage and NinjaForms” off and child theme then check if those plugin works as it should.

    If works enable then back one by one while you check.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #194540
     robynmg227
    Participant

    Hi Radu,
    Here are the FTP details for https://hearditfromafriend.com

    Attached is a screenshot of the uploaded file… So strange it’s not there…

    FTP Password: m;yh5=~EP3ii
    FTP Username: Kris@hearditfromafriend.com
    FTP Server: 77.104.157.94
    FTP & explicit FTPS port: 21

    Will do the plug-in check as you suggested. Did you mean to also switch themes (how to turn off child theme?)
    Thank you very much

    #194562
     robynmg227
    Participant

    Hi Radu,
    It turns out that it was a plugin conflict. I went through the process of deactivating, etc, and found that a plugin called, “referral landing page” was what was preventing polls, tables, and the related posts from being visible.

    I also didn’t see that new php file in the editor, but at least this other issue was solved.

    #194614
     Radu
    Moderator

    Hi,

    Great

    Have a nice weekend

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?