Hi, please let me know wp and nooz versions, so that I can test (recreate the issue) and get this fixed …
what version of wordpress are you using?
what version of nooz are you using?
Nooz Version 1.6.0
WordPress 5.6.1
Any luck in reproducing the issue?
I should have time today to investigate … can you take a screenshot (or copy+paste part) of the template code so that I may have a look.
I am particularly interested in the variable being used on the HREF. Attached is the area I am interested in, except i need to see the template with the actual PHP vars in use:
https://gist.github.com/farinspace/d5baf87a895c492f625338a59696decc
Thanks,
Dimas
<?php get_header();
$post_name = get_query_var(‘pagename’);
switch ($post_name) {
case ‘press-coverage’:
$wp_type = ‘nooz_coverage’;
$page_title = ‘Company News’;
break;
case ‘press-releases’:
$wp_type = ‘nooz_release’;
$page_title = ‘Press Releases’;
break;
}
?>
<div id=”content” class=”site-content” role=”main”>
<h1><?php echo $page_title; ?></h1>
<table>
<?php
$query = new WP_Query( array( ‘post_type’ => $wp_type, ‘posts_per_page’ => 200 ) );
if ( $query->have_posts() ) :
while ( $query->have_posts() ) : $query->the_post();
$post_id = get_the_ID();
$nooz_meta = get_metadata(‘post’,$post_id,’_nooz’);
$wp_type = get_post_type( get_the_ID() );
?>
<?php
if ($wp_type == ‘nooz_coverage’):
?>
<tr class=”post news”>
<td class=”text-center” width=”140″>
” target=”_blank” title=”<?php the_title_attribute(); ?>”>
.png” alt=”<?php echo strtolower(str_replace(” “, “-“, $nooz_meta[0][‘source’])); ?>.png” width=”120″/>
</td>
<td>
<h3>” target=”_blank” title=”<?php the_title_attribute(); ?>”><?php the_title(); ?></h3>
<p class=”date”><?php the_time(‘Y-m-d’); ?></p>
<div class=”excerpt”><?php the_excerpt(); ?></div>
<!– Source:<?php echo $nooz_meta[0][‘source’]; ?> –>
</td>
</tr>
<?php
else:
?>
<tr class=”post”>
<td class=”date”>
<?php the_time(‘Y-m-d’); ?>
</td>
<td>
” rel=”bookmark” title=”<?php the_title_attribute(); ?>”><?php the_title(); ?>
</td>
</tr>
<?php
endif;
?>
<?php
endwhile;
wp_reset_postdata();
endif;
?>
</table>
</div>
<?php get_footer(); ?>`
That’s all of the page.php code
thanks, this is exactly what i need to see .. however the important part is getting clipped off (the A tag inside H3) .. please email that to me at: dbegunoff at gmail dot com.