[resolved] How can i put sidebar in single.php (3 posts)

  1. Levente24
    Posted 4 years ago #


    I made a single php file. for my main news.

    So the file is single-main-news.php, and uses a category named main page.

    When i click on it to show, i see the sidebar, and the sidebar title (news) title, but i cant see the sidebar links.

    I tryed everithing but nothing works, could someone please give me a a hint or a pice of code how to start?

    Thank you

  2. Levente24
    Posted 4 years ago #

    i was able to write a function for it [SOLVED]

  3. Tara
    Volunteer Moderator
    Posted 4 years ago #

    What was the function? If you share, it will help others with similar issue.

Topic Closed

This topic has been closed to new replies.

About this Topic