Forums

PageOfPosts.php (2 posts)

  1. ozgression
    Member
    Posted 9 months ago #

    I am using TwentyEleven wordpress theme and I want to use PageOfPosts.php to display posts from the "Blog" category on http://www.christiandatingaustralia.net.au/blog/.

    Here is the code I'm using: http://pastebin.com/up7ztmE2

    Its not working. How do I fix it?

    Kind Regards.

  2. alchymyth
    The Sweeper
    Posted 9 months ago #

    the code in your pastebin clearly states that the page template is for Twenty Ten;
    you need to adapt it to Twenty Eleven by changing a few things;

    try
    pageofposts.php for twenty eleven:

    http://pastebin.com/V96YZ4mT

    do to the coding of twenty eleven, there is likely to be some issue with the sidebar (if you want one) on the page with this page template.

    btw:
    don't edit twenty eleven directly; create a child theme http://codex.wordpress.org/Child_Themes and make the edits in there.
    it is important to have an unedited default theme in case of general theme problems;
    also, any customisations to twenty eleven will be overwritten with the next upgrade of your wp version.

Reply

You must log in to post.

About this Topic