I’m creating a portfolio which needs to display and thumbnail, title and link to all other portfolio pages using a specific template.
This is what I have so far, which manages to retrieve the page title and the featured image just fine. I’m struggling to retrieve the link to that page as the_permalink() just returns the link of the page you’re currently on.
<?php foreach ( $builtins as $page ) : ?> <div class="fw-col-xs-6 fw-col-md-3 remove-column-padding "> <div class="casestudy"> <?php if (has_post_thumbnail( $page->ID ) ): ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $page->ID ), 'single-post-thumbnail' ); ?> <div class="block" style="background: url('<?php echo $image; ?>')"> <h3> <a href="<?php echo apply_filters( 'the_permalink', $page->post_permalink, $page->ID ); ?>" title="<?php echo apply_filters( 'the_title', $page->post_title, $page->ID ); ?>"> <?php echo apply_filters( 'the_title', $page->post_title, $page->ID ); ?> <span /> </a> </h3> </div> <?php endif; ?> </div> </div> <?php endforeach; ?>
I’ve been stuck on this for too long now, any help would be GREATLY appreciated.
Just wondered if anybody else here is using Unyson for their themes? I’ve been developing a theme using it, and it’s a great plugin. I’m just having trouble with the demo content install as it seems to run the process but doesn’t actually install any content.https://github.com/ThemeFuse/Unyson/issues/434
Just wondered if anybody else had any issues with this at all?
Has anybody had trouble with the Wordpress redirect loop when using Multisite?
My website’s were all running fine then suddenly yesterday I started to get this redirect loop error and I’m not sure where it’s coming from.
I’ve scoured Google trying various solutions and nothing seems to work as yet so thought I’d try here.http://www.klevermedia.co.uk
Just looking for a little design advice on improving my PSD
I’m looking to partner up with a designer if anybody is interested at all? With enavtos strict review process I’d be looking for somebody who already had their design approved. I’m happy to build the HTML & Wordpress version or just Wordpress. Whichever is agreed
Thanks for the advice, I’ll take a look at those.
I wasn’t sure on how to improve as it was a hard reject with the generic message
I’ve just had an item of mine I’ve been working on for a few weeks rejected so I just wanted to gather some feedback on any ways you guys think I could improve the overall aesthetics.http://www.klevermedia.co.uk/evoke_html/index.html