• Steve

    (@beforewisdom)


    Hi;

    When I try to comment out code that came with my theme in the theme editor…..neither // or /* */ work.

    I don’t know pHp, are those the correct comment symbols?

    I also want my sidebar to list the titles of recent posts. What would be the function call/code for that? Can I control how many titles are listed or is that tied to the variable that shows how many posts are displayed?

    Thanks much for the help

    Steve

Viewing 1 replies (of 1 total)
  • Not sure about your first question, but to get recent posts, use this. (10 is the place where you specify how many)

    <?php get_archives(‘postbypost’, 10); ?>

Viewing 1 replies (of 1 total)

The topic ‘Newbie: Customizing Theme: Sidebar: 2 questions’ is closed to new replies.