WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Add "recent post list" to a "page" WITHOUT php (6 posts)

  1. bakura
    Member
    Posted 5 years ago #

    I have been trying to find a way to add a "recent post list" to a static "page" in WordPress without the use of php since pages in WordPress do not allow it.

    I do realize that there is a plug in to be able to use php (I actually use it in another blog), however, I am trying to keep this blog as simple as possible. Using that php plug-in disables the ability to use the WYSIWYG for writing.

    Can anyone help with this?

    Thank you.

  2. peiqinglong
    Member
    Posted 5 years ago #

    Here's another trick. Use the Page template feature. Created a new page template and add the php for recent post list to where you want it (above or below the content). For every page that you want to have the recent posts list appear, just use that page template.

  3. bakura
    Member
    Posted 5 years ago #

    That seems like a good idea. However, how do I get some pages to use the new templates and some to use the original?

  4. bakura
    Member
    Posted 5 years ago #


  5. bakura
    Member
    Posted 5 years ago #

    I am reviewing the following and I just can't find the option to change templates for the life of me:
    http://codex.wordpress.org/Pages#Creating_your_own_Page_Templates

    I think I remember seeing it several versions ago, but I can't seem to find the location to change page templates.

    Anyone have any thoughts?

  6. bakura
    Member
    Posted 5 years ago #

    Okay. Finally figured it our. Thank you for the advice, peiqinglong. This will work.

    The above link shows you what you need to do this. I was simply missing one line of code that made everything happy. :)

    Thanks all!

Topic Closed

This topic has been closed to new replies.

About this Topic