• twebman

    (@twebman)


    I love the Atahualpa theme, however, it seems the index.php page is formatting the look of all pages and posts, based on IF THIS IS X page logic.

    Is there a way to place some content into index.php that will show up only on the home page? I think the limiting part of Atahualpa is the inability to edit just the home page without it affecting all posts/pages. For example, if I want to use the Featured Content gallery plugin, if I put the code on index.php, the gallery shows up on all my pages.

    I realize I can set another page as my home page, but Atahualpa doesn’t allow me to format that page differently (doesn’t seem to support templates).

    Love Atahualpa – pls don’t take this as a criticism. Just looking for some guidance here. I notice BytesForAll posts a lot here, hope to hear from him/her.

Viewing 1 replies (of 1 total)
  • Wrap the Featured Content gallery code in an if (is_home()) { ... } switch. Just find the spot in index.php that you’d want the gallery to appear. The switch should prevent execution on any other pages.

Viewing 1 replies (of 1 total)
  • The topic ‘Edit the index.php page in Atahualpa’ is closed to new replies.