ethanhackett
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Tiles] Is pagination broken?I’m not sure if there’s a way around that yet. Because of the nature of pagination if you have two things using it at the same time it can run into conflicts.
Glad that that solved it for you.
Forum: Plugins
In reply to: [Post Tiles] Page duplication despite different category tagI’m glad you fixed it. It seemed like a “Comma’n” mistake 😛
Puns are way more difficult when you have to write them.
Forum: Plugins
In reply to: [Post Tiles] page tilesAnother other option that isn’t glamorous but would allow you to use Post Tiles with pages would be to add a plugin like http://wordpress.org/extend/plugins/quick-pagepost-redirect-plugin/ which allows you to use posts as redirects. So you create a category for your posts called “pages” or something then create a post called “home” then type in the url to redirect home. Then use the Post Tiles’ short code to pull only the “pages” category.
Forum: Plugins
In reply to: [Post Tiles] Is pagination broken?Hmmmm I guess I’m a tad confused as to why it’s not working. What i’d have you test first is make sure that the page you’re putting the code on isn’t setup as your blog page. To do that go to Settings > Reading in the admin of wordpress and make sure that the Front Page is the page with the post tiles and that Posts Page is something different or left at -select-.
Let me know if that helps.
WordPress does have a native way to call and check if jQuery was being called so it didn’t reload it. But for some reason there was a conflict. It’s been a while since I tried to go back and make it work. You could modify line 446 where it includes jQuery and js.
I’ll add this to my debug list.
Forum: Plugins
In reply to: [Post Tiles] Display Entire Imagepatchworkcloud it’s a little tricky but if you’re willing to poke around here’s what i’d suggest. Open the post-tiles.php file and look at line 560. It should look something like this…
if ($featured_images_key == "true") { if ( has_post_thumbnail()) { // Retrieve the featured image. $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), array($featured_image_width,$featured_image_height)); // Strip featured image down to the url. $url = $thumb['0']; $featured_style = "style='background: url(".$url.") 0 0;' class='featured-image ".$animation_style." ".$cat_var."'"; } else { $featured_style = "class='".$cat_var."'"; } }Basically it first checks to see if featured images are turned on from the settings page. Then if it is get the thumbnail.
WordPress allows you to use an array to get the dimensions of the images so you can change the array(100,100) etc. Those values dynamically pulled from the settings page. So that’s where you get the images and they get assigned to the background of the li. You can change that and put the image wherever you want. Then use some snazzy CSS and javascript to make it appear correctly.
Somewhere around line 570 you should see where it starts to build the list items.
$output .= "<li ".$featured_style." id='".$theID."'><a href='$temp_link' class='".$cat_var."' style='background-color: $cat_var_value; $featured_border'><h3>$temp_title </h3>$temp_excerpt</a></li>\n";Thats basically where all the puzzle pieces get assembled. I did my best to document each step along the way so read the comments to get an idea of what’s happening.
But responsive design can be very tricky especially if the images aren’t all the same sizes.
Forum: Plugins
In reply to: [Post Tiles] How Can I Add The Post Tiles In Index.PhpI wish WordPress’ support section would let me flag support threads as hot topics or important. Here’s the a solution that worked for nearlynarik
<?php echo do_shortcode('[post-tiles categories="51,6" posts="10"]') ?>http://wordpress.org/support/topic/inserting-into-homepage-with-indexphp?replies=5
Forum: Plugins
In reply to: [Post Tiles] Breaks with W3 Total CacheFrederick Townes did you run into the same issue? I didn’t hear back from prabu.venkat so I’m not sure what caused it.
Forum: Plugins
In reply to: [Post Tiles] Limiting text in post tileYou can either use the excerpt section in a post or in the settings the excerpt length will limit the amount of words used in the tiles.
Forum: Plugins
In reply to: [Post Tiles] Featured image not showingNo problem. Glad I could help.
Forum: Plugins
In reply to: [Post Tiles] Post Tiles and Fancybox mash up?I’m wondering f you could do something like when .post-tiles li a is clicked get ‘this’ attr href. So basically you use the anchor as the trigger and the triggers href attribute as the URL. I would have to explore prettyphoto. But that logic should be a good direction. I’m on an iPhone so I can’t explore it properly.
Forum: Plugins
In reply to: [Post Tiles] Resize featured image to match tile sizeAwesome thanks NoHoSe.
Just as an FYI background-size isn’t supported in IE8. So though it’s a good solution it can alienate some users.
Forum: Plugins
In reply to: [Post Tiles] Post Tiles on smatphones / tabletsI just checked. IOS works great. Tap causes the animation to slide up and then second tap opens the url. But on android it causes the post to open up. I’ll work on that for the next update.
Forum: Plugins
In reply to: [Post Tiles] new categories not showingHaha ugh I hate when stuff like that happens. I’m glad you figured it out! I’m glad your using Post Tiles and if you’d take a minute to rate the plugin I’d greatly appreciate it!
Forum: Plugins
In reply to: [Post Tiles] mouseover and pagesNo problem. I’m glad I could help. Thanks for using Post Tiles. I’d appreciate it if you could rate it.