Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dennis

    (@dhoppe)

    Yes, this is even possible in the lite version.

    <?php
    $query = New WP_Query(Array('post_type' => 'encyclopedia'));
    ?>

    and then you can list the encyclopedia terms very easily as list or grid or what ever you prefer.

    <ul>
    <?php While($query->Have_Posts()): $query->The_Post() ?>
    <li><?php The_Title() ?></li>
    <?php EndWhile; WP_Reset_Postdata() ?>
    </ul>

    This is another reason this plugin would be awesome with shortcodes …. you could easily make changes like this without having to edit templates, just pop in a short code…. also, with shortcodes, there wouldn’t be a need to use templates since most themes have their own built in … simply use the theme template you like and insert the shortcode …. so much more work creating and updating custom templates …. ??

    Plugin Author Dennis

    (@dhoppe)

    Of course you could put this code in a shortcode, too. This has no advantages against a custom template but it is slower, needs more memory and of course you would have your output inside a content section of your template. My clients would kill me for such dirty hacks…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Glossary list with single characters’ is closed to new replies.