WordPress.org

Ready to get started?Download WordPress

Forums

WP Tiles
WP Tiles as a Menu (4 posts)

  1. Willfire19
    Member
    Posted 1 year ago #

    Hello! I feel like an idiot for asking this, especially because you already have a gist (https://gist.github.com/4454318) that specifically covers this, but how would I replace my navigation menu with a menu consisting of just tiles? I have added the gist code into my theme functions.php, but I think I need to do a little more than that. I think what may be the problem is that the 'tile-position' in the get_post_meta doesn't actually exist in the wp_postmeta or wp_post database tables. Yet, when I replaced that key variable to 'menu_order', which definitely exists, the tiles are not changed. Also, would I have to put the function into my templates as well? Thank you so much for your time and awesome plug-in!

    http://wordpress.org/extend/plugins/wp-tiles/

  2. Willfire19
    Member
    Posted 1 year ago #

    Ok I guess I am an idiot. I just realized that you can filter the post types in the settings, which make it much easier. Ok here's a real question. Say instead of a thumbnail or a picture of the post in the tile, the tile displays a list of birthdays. My question is, is there a way to run a WP Loop and display the results within the container of the tile? I have no idea where to start on this, so any kind of help would be extremely appreciative! Thank you!

  3. Mike
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Willfire19, it's normal - the solution gerenally comes just after you asked somebody ;)

    As for your other question, it really depends on a lot of factors. Where do the birthdays come from? If they are in different posts, you could show the excerpts of these posts on your tiles quite simply. If you really have use custom data you can filter the data displayed on the tiles using the wp-tiles-data filter, for example.

    Let me know more about what you want to do exactly for better help!

  4. Willfire19
    Member
    Posted 1 year ago #

    Ok so it's not specifically birthdays I want to display, but a list of events in general. I'm using this plugin that allows me to add an event as a post. The plugin also has a function (eo_get_event_names) that will retrieve the names of the events, and will display it on a page. What I would like to have happen is that instead of having the event names on it's own page, the names will be displayed on a tile.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.