CoCha
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Tiles] How to set 'featured image'?You need to assign it to your post.
Please read this.Forum: Plugins
In reply to: [Post Tiles] Post Tiles & Custom Post Type… Oops, I may have forgotten one essential change regarding sizes I’ve made a while ago: the ‘background-size:contain’-addition to $featured-style may be crucial (or not) …
Forum: Plugins
In reply to: [Post Tiles] Post Tiles & Custom Post TypeIn addition to my previous reply:
There were a few more things I wanted to control:
Since my blog has a few different page/post-width (depending on the CPT used), I wanted to have more width and height-options.
So I just extended the shortcode as before and added ‘width’ and ‘height’.
Then I changed the following (search for ‘\\ Retrieves Tile Width’)// Retrieves Tile Width $posttiles_li_width = get_option('posttiles-width'); $li_width = $atts['width']; if (isset($li_width)) { $posttiles_li_width = $atts['width']; } if(empty($posttiles_li_width)){ $posttiles_li_width = "175"; } $posttiles_width = $posttiles_li_width-20;(same changes made for Height of course)
Now I’m able to do something like this:
[post-tiles categories=’773′ type=’page’ width=’120′ height=’120′ posts=’16’ excerpt=’18’]By using an additional plugin called Page Links To and combining this with my previous reply you even can have a tiled link to an URL! (i.e. just create a page per link and assign it to an ‘external-url’-category or something like that.)
Forum: Plugins
In reply to: [Post Tiles] Post Tiles & Custom Post TypeWhat I did to show pages (and probably any CPT) using post-tiles:
First of all I installed a plugin called Post Tags and Categories for Pages to be able to use categories for pages.
Secondly I made some minor changes to the original source code by adding an extra shortcode option ‘type’:
// Defaults extract(shortcode_atts(array( "categories" => '', "posts" => '', "excerpt" => '', "type" => '' ), $atts));Then I changed $the_query into
// Configure post_type $type = $atts['type']; if (isset($type)) { $type_query = '&post_type='.$atts['type']; } else { $type_query = '&post_type=post'; } // Configure Both Categories and Number of Posts For Query $the_query = $posts_query.$cat_query.$type_query.'&paged='.$paged;This shortcode now works for me:
[post-tiles categories=’590′ type=’page’ posts=’12’ excerpt=’18’]Thanks Ranno!
It works 🙂Forum: Plugins
In reply to: [WPNewsman Lite] Fatal ErrorSame for me…
Forum: Plugins
In reply to: [Post Tiles] [Plugin: Post Tiles] Are you using a different version…… found out it has to do with Nextgen … trying to solve it now.
Forum: Plugins
In reply to: [Post Tiles] [Plugin: Post Tiles] Are you using a different version…Same with me…
Pictures don’t show up, everything else seems to work fine.
My reference: http://www.posttiles.com
I’m using v 1.3.2 by the way.Forum: Plugins
In reply to: [WP Tiles] [Plugin: WP Tiles] Plugin can't be activated: Fatal errorJust installed version 0.1.1.
Unfortunately I’m getting another error: Fatal error: Call to undefined function get_userdata() in ../wp-content/plugins/user-access-manager/class/UserAccessManager.class.php on line 1881Forum: Plugins
In reply to: [WP Tiles] [Plugin: WP Tiles] Plugin can't be activated: Fatal error… and here …
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in …/wp-content/plugins/wp-tiles/wp-tiles-admin.php on line 242