Close

Account

Documentation

Forum

Menu

Related Post for Primary Category

  • Post count: 231
    Communication Contact
    April 16, 2018 at 3:55 am #30488

    Hi,

    Is it possible to set Related Post (Single Bottom and Single Inline) for Primary Category and not by category or tag ???

    It can also be a new function to add to the thema.

    Can you tell me what I have to change now to do it?

    I await your news on this and good work.

    Post count: 10705
    Adek
    April 16, 2018 at 12:25 pm #30534

    Hi Communication Contact,

    Try to replace the content of this file /jnews/class/Single/SinglePost.php with this one here https://pastebin.com/prt2qTUM

    Thank you

    Post count: 231
    Communication Contact
    April 17, 2018 at 1:22 am #30587

    Hi Adek,

    At the beginning of the post comes out this error writing:

    Array
    (
    [0] => 1920
    )

    Post count: 2684
    Rai
    April 17, 2018 at 1:05 pm #30634

    Hi,

    It seems there is log code left there, please try using this code instead:

    Please let us know if the issue persists.

    Thank you

    Post count: 231
    Communication Contact
    April 17, 2018 at 5:43 pm #30657
    This reply has been marked as private.
    Post count: 10705
    Adek
    April 18, 2018 at 11:35 am #30710

    Please try to enable WP_DEBUG to show the error log message, and then please paste that message here so i can do further investigation regarding this issue.

    Thank you

    Post count: 231
    Communication Contact
    April 18, 2018 at 11:49 am #30712

    Hi Adek,

    I can not try it because a production site.

    But you managed to try the code you gave me ??

    Post count: 10705
    Adek
    April 19, 2018 at 10:40 am #30764

    Hi Communication Contact,

    Of course, I’ve been checking the previous code that my partner post on above and everything works fine on my side. Or please try to check the PHP error log to find what the error message that occurs in there.

    Thank you

You must be logged in to reply to this topic.