This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"EventCell" forIndexPath:indexPath]; | |
if (cell == nil) { | |
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"EventCell"]; | |
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(34.0f, 34.0f, tableView.frame.size.width, 130.f)]; | |
label.textAlignment = NSTextAlignmentLeft; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$attachments = new Attachments( 'attachments', $post->ID ); | |
if( $attachments->exist() ) : | |
$attachment->get_single(0); | |
cats = get_the_terms($post->ID, 'portfolio_categories');?> | |
<li> | |
<a href=""> | |
//cant do the below because it just wont work | |
<?php echo $attachment->image( 'portfolio-small' ); ?> | |
<div class="project-content"> | |
<h3><?php the_title() ?></h3> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$events_query = new WP_Query('category_name=event&orderby=meta_value_num&order=ASC&meta_key=post_singleton_date&meta_compare=>=&meta_value=' . strtotime(date('d-m-Y'))); |
NewerOlder