2018-03-30, 02:22:21
I intend to add support for full custom post rendering in NM 3.7. With this, you will be able to define the post layout in template files or GS components, using HTML and some PHP functions.
A simple example:
I have it more-or-less ready, though I haven't committed these changes to GitHub yet.
I will do and post a beta version here, after I've done some tests. Anyway if anyone is interested in testing this soon, let me know.
A simple example:
Code:
<div class="myPost">
<h3><?php nm_render_title(); ?></h3>
<i><?php nm_render_date(); ?></i>
<p>Tags: <?php nm_render_tags(); ?></p>
<?php nm_render_content(); ?>
</div>
I have it more-or-less ready, though I haven't committed these changes to GitHub yet.
I will do and post a beta version here, after I've done some tests. Anyway if anyone is interested in testing this soon, let me know.