WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Location of php file

[Resolved] Location of php file

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mike Martel
    Participant

    @mike_cowobo

    Hi!

    You can put the code straight in your functions.php if you want. In the review, @atkantor created a page template especially for pages where they wanted the static tiles to show up specifically.

    If you add the code from the gist to your functions.php, every instance of WP Tiles will have the static tiles included.

    Let me know if this answers your question!

    Cheers,
    Mike

    gonzagarg
    Member

    @gonzagarg

    Mike,
    Thanks for the prompt and very clear reply. I just want to check that once I copy the gist code into a new functions.php file in my child theme the Add custom field box should show a new field to be selected from the dropbox. This is not happening now (using Twenty Fourteen theme) and I am sure that it is reading the functions.php file (If I add an extra <?php at the beginning it shows an error when I try to see the page that has the tiles). If it should automatically create the field, then I am guessing I may have a problem with the theme or other plugins.
    Once again, thank you for the plugin and the quick reply.

    Plugin Author Mike Martel
    Participant

    @mike_cowobo

    You’re welcome 🙂
    The fields in the custom field metabox only show fields that have been used in the past, so you should add the first one manually. Go to your page and paste set up the tile-position field manually. On the next page, the field should show up in the dropdown.

    Mike

    gonzagarg
    Member

    @gonzagarg

    Thanks again, Mike!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Location of php file’ is closed to new replies.