2012-02-29, 03:17:54
1 issue and some questions...
ISSUE:
- can't insert an image into a WYSIWYG special field.
QUESTIONS:
1.)
How would i show the tags for a special page, say for example in the meta of a blog post.
like for example here:
http://dev.inbalancetaichi.com/news/
2.)
How can i display the date on a page, for some reason i'm getting this on the special page:
{i18n_specialpages/DATE_FORMAT}
here is my special page 'View' code:
And on that same subject, is there a way to format the date to exclude the time?
thanks,
marc
ISSUE:
- can't insert an image into a WYSIWYG special field.
QUESTIONS:
1.)
How would i show the tags for a special page, say for example in the meta of a blog post.
like for example here:
http://dev.inbalancetaichi.com/news/
2.)
How can i display the date on a page, for some reason i'm getting this on the special page:
{i18n_specialpages/DATE_FORMAT}
here is my special page 'View' code:
Code:
<h3 class="blog-post-title"><?php get_special_field('title','',false); ?></h3>
<ul class="blog-post-info fixed">
<?php if (return_special_field('newsauthor')) { ?>
<li class="author"><?php get_special_field('newsauthor','-',false); ?></li>
<?php } ?>
<li class="date"><?php get_special_field_date('pubDate', $dateFormat); ?></li>
<li class="categories">[insert special pages tags here]</li>
</ul>
<div>
<?php if (return_special_field('featuredimage')) { ?>
<img src="<?php get_special_field('featuredimage','-',false); ?>" alt="featured image for <?php get_page_title(); ?> " class="featured-image" style="float:right;margin-left:10px;">
<?php } ?>
<?php get_page_content(); ?>
</div>
And on that same subject, is there a way to format the date to exclude the time?
thanks,
marc