trois
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Author page(s) only showing for page_idBattling with PhP myself, I managed to get a list of all posts by the selected author (in the footer of a post) – however, the loop messes up the structure of the page – working on that, but here is what works:
1) – find/select current author
<?php global $wp_query; $curauth = $wp_query->get_queried_object(); ?>
2) – Select pages of that author – leave the ‘only pages’ line out if you want posts (or change it into ‘post’). Put this before The Loop.
<?php $args = array( 'post_type' => 'page', // Only Pages 'author' => $curauth->ID ); query_posts($args); ?>
3) This is The Loop – I only want links there (no dates etc.)
<ul> <!-- The Loop --> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <li> <a href="<?php the_permalink() ?>" rel="" title=" <?php the_title(); ?>"> <?php the_title(); ?></a> </li> <?php endwhile; else: ?> <p><?php _e('No posts by this author.'); ?></p> <?php endif; ?> <!-- End Loop --> </ul>
It’s very basic, but it took me ages to get it to work for pages – and somehow, it now creates some extra sections for each page listed – destroying the layout – but at least the list is there…
HTH
Forum: Plugins
In reply to: FFFFound.com Plug-in DevelopementThanks Tyler – any suggestions?
(tried to visit your site, but…. “There doesn’t seem to be a wp-config.php file…”)
Forum: Plugins
In reply to: FFFFound.com Plug-in DevelopementYep – I’m looking for something similar:
– A widget (not a plug in) – so it can be placed in sidebar via widget interface (under Presentation);
– images to be pulled from image-folder – I now have thumbs (.png) in my portfolio-posts – thumbs are screenshot of the websites we made – click on the thumb and a larger version (.jpg) opens
– the rotator just displays the thumbs (.png) – by clicking on the image, the post opensSo, what is needed in the settings:
– path to the image folder
– extension of the images (.png in my case) – or perhaps some wildcard (all my thumbs are preceded by ‘th-‘)
– a list will be populated with all found images in that folder
– next to each image you enter the postname\path\id – I only need posts of my ‘portfolio’-category, so maybe you can display just those posts, so that you can link them to a thumb? (actually, as each post contains the thumb itself, a smart programmer should be able to derive it – but, I will be more than happy to do it myself)
– maybe some size and speed settings – random or not etc.I tried Piclens, but it comes with some drawbacks:
– images are resized (as they are derived from posts, degrading the pic-qualtiy) – and not using the high quality thumbs that I created;
– ugly border;
– not all images are displayed (probably because it looks at the current page with posts – not at all posts in a category);Any suggestions? Or is there someone out there, smarter than me, that can make this? I just want that thing – you get the credits, you can do with it whatever you want.